Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
Acmlm's Board - I2 Archive - - Posts by Modereb
Pages: 1 2 3 4
User Post
Modereb

Paragoomba
Level: 15

Posts: 1/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-04-04 10:02 PM, in PHP/mySQL question Link
Even if you know a shitload of PHP, it's not like you'll emediately know how a new forum system is put together, especially if that system uses a bunch of custom functions, which is usually the case. Don't be a smartass.

Anyway, name colors are created using the sex and powerlevel fields, an example (assuming you are selecing the sex and powerlevel fields):

<font ".getnamecolor($user[sex],$user[powerlevel]).">$user[name]</font>

getnamecolor($user[sex],$user[powerlevel]) outputs strings like color=000000, color=453423, color=876543, etcetera.
Modereb

Paragoomba
Level: 15

Posts: 2/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-04-04 10:06 PM, in (X)HTML Height=100% Link
That's because height isn't a valid attribute in most cases. When talking about images or most other objects, setting a height in pixels will work, but percentages don't. <table> tags for example don't have a valid height attribute at all.

There is no direct way of having a background image and making it stretch 100% over a cell background. A nice sollution would be to have an image that 'fades' into a background color, and which would be centered in the cell background using CSS:

<td style="background-color:#000000; background-image:url('url/of/image.jpg'); background-repeat:no-repeat: background-position:center;"></td>


(edited by Modereb on 06-04-04 01:06 PM)
(edited by Modereb on 06-04-04 01:06 PM)
(edited by Modereb on 06-04-04 01:07 PM)
(edited by Modereb on 06-04-04 01:08 PM)
(edited by Modereb on 06-04-04 01:08 PM)
Modereb

Paragoomba
Level: 15

Posts: 3/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-04-04 10:11 PM, in Mmm... CSS, yummy. Oh, some help please! Link
It's basically 'overusage' of a lot of <div> 'layers' with 'absolute positioning;. That way you can have very sorted source code and it's easy enough to change, let's say, one 'div layer' at a time.
Modereb

Paragoomba
Level: 15

Posts: 4/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-04-04 10:12 PM, in PHP and gzencode() question. Link
I think it's pretty obvious. With readdir() you get the filenames, and because with that, the actual filenames are given, you can use other functions (using the filename) to grab whatever information you need about the given files.
Modereb

Paragoomba
Level: 15

Posts: 5/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-04-04 10:13 PM, in Messageboard preferance feedback Link
I'm fine with:

Thread title « 2 3 4 ... »
Modereb

Paragoomba
Level: 15

Posts: 6/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-04-04 11:43 PM, in Can someone explain why target=_top is added to <a> tags? Link
I'm perfectly aware of what the target attribute does.

However, I don't see a point in why this forum is using it either. Now, if it was for opening a new window, or when using a frame layout, I'd say the target attribute is unmissable. But in this case...
Modereb

Paragoomba
Level: 15

Posts: 7/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-04-04 11:44 PM, in Messageboard preferance feedback Link
I think this board's thread page number system needs some changing. Maybe just display about 5 pages, and then end it with an arrow or dots to indicate there are more pages. I think just having a ton of thread page number links looks ugly. For example, look at this: http://board.acmlm.org/forum.php?id=32
Modereb

Paragoomba
Level: 15

Posts: 8/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-07-04 07:15 PM, in PHP/mySQL question Link
Just learning PHP from a tutorial is futile.

Things like functions, custom functions, etcetera, it's all good and cool to know, but if you don't need them for a while, you won't use them and most likely will forget them anyway. Things you should get under your knee and know about, and not with just PHP for that matter, are syntax, possibilities and flexibility. Let's say you start building a webpage, and you're in need of a specific function, from that point, it's good to look up on the function, and if you did that a few times, or maybe even the first time, you'll get the hang of that function.

Don't just learn all kinds of stuff you most likely won't ever need anyway.
Modereb

Paragoomba
Level: 15

Posts: 9/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-07-04 07:19 PM, in Mmm... CSS, yummy. Oh, some help please! Link
Oh yeah, forgot to mention, you might want to deepen yourself into the visibility attribute as well if you want to have a completely dynamic website. If the attribute name isn't obvious enough, you can make objects, sich as >div<s invisable, and making them appear on command.
Modereb

Paragoomba
Level: 15

Posts: 10/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-07-04 07:21 PM, in Samurai Sandals? Link
They're called Geta as far as I know.
Modereb

Paragoomba
Level: 15

Posts: 11/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-07-04 09:44 PM, in HTML questions Link
1. I think there are Javascripts to prevent stuff like that, though, you'll never be able to completely hide or prevent something from being seen/happening on a normal HTML page. There are Javascript functions to disable the functions of specific buttons (though, if you make that, you'll have to program them so that they work regardless of browser and operating system, which is a shitload of work for even the tiniest scripts). My recommendation is not to try to tweak around with stuff like that, people WILL find backdoors.

2. You can preload an image by puttnig the following Javascript in the <head> section:

<script type="text/javascript">
mouseoverimage=new Image();
mouseoverimage.src='url/to/image/you/want/to/preload.jpg';
</script>


If you want to preload multiple images, you can simply do the following:

<script type="text/javascript">
mouseoverimage=new Image();
mouseoverimage.src='url/to/image/you/want/to/preload.jpg';
mouseoverimage2=new Image();
mouseoverimage2.src='url/to/image/you/want/to/preload2.jpg';
</script>


Etcetera.
Modereb

Paragoomba
Level: 15

Posts: 12/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-07-04 10:47 PM, in Arg Link
Don't use the x: attributes, it's invalid HTML, or in other words, Internet Explorer garbage.
Modereb

Paragoomba
Level: 15

Posts: 13/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-08-04 09:58 PM, in Samurai Sandals? Link
I just wonder what this sudden hype to look/act Japanese is all about online nowadays...
Modereb

Paragoomba
Level: 15

Posts: 14/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-09-04 02:16 PM, in Samurai Sandals? Link
Nowadays even knowing how to (barely) throw a shuriken makes people call you a Ninja. And most 'Ninjas' I see nowadays just act like Ninjas because "Ninjas r kewl lol!1".


(edited by Modereb on 06-09-04 05:17 AM)
Modereb

Paragoomba
Level: 15

Posts: 15/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-10-04 12:22 PM, in Dee Library Link
Library? What is that? Oh well, I probable never needed it because I have Internet.
Modereb

Paragoomba
Level: 15

Posts: 16/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-11-04 09:18 AM, in hiding links Link
You use $var.= if you want to 'add' something to a $var.

As for quotes, all attributes are supposed to be quoted if you want to have proper, valid (X)HTML.
Modereb

Paragoomba
Level: 15

Posts: 17/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-12-04 04:27 AM, in secret site Link
Passwords do fine, if you use them properly. And here's a rough script that restricts only to a few IP adresses.

<?
$allowed_ip_adresses='
12.34.56.67
34.56.78.89
98.87.76.65
123.546.56.3
';
if(stristr($allowed_ip_adresses,$REMOTE_ADDR)){
echo "You are allowed";
}else{
echo "You are not allowed to view this page!";
}
?>





(edited by Modereb on 06-11-04 07:27 PM)
Modereb

Paragoomba
Level: 15

Posts: 18/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-12-04 04:31 AM, in Seen this on a few websites... Link
It's done by using 'entities'. For example, showing <table> as normal text instead of a real table, is done by parsing &lt;table&gt;.

&lt; is the entity for <.
&gt; is the entity for >.

Also, by using a serverside language, such as PHP, there are special functions to replace all HTML by entities. In PHP, for example, using htmlspecialchars() replaces 5 characters by their entities.

LizardKing's method is just a sloppy workaround, and it NOT the way it's supposed to be done, considering the effect can be unknown in another browser.
Modereb

Paragoomba
Level: 15

Posts: 19/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-12-04 04:32 AM, in hiding links Link
Um, yeah, that's what I said, no?
Modereb

Paragoomba
Level: 15

Posts: 20/75
EXP: 14749
For next: 1635

Since: 06-04-04

Since last post: 350 days
Last activity: 339 days
Posted on 06-15-04 12:36 AM, in Idea! *ding* Link
We're talking about images which aren't even 500 bytes, I don't really think it will make any noticable difference at all, now would it.


(edited by Modereb on 06-14-04 03:37 PM)
Pages: 1 2 3 4
Acmlm's Board - I2 Archive - - Posts by Modereb


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.032 seconds.