Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
It's done by using 'entities'. For example, showing <table> as normal text instead of a real table, is done by parsing <table>. < is the entity for <. > 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 |
| ||
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 |
| ||
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 |