Augh
(?)Community Member
- Posted: Sun, 29 Feb 2004 20:15:31 +0000
<center>
I get asked how this works so often I'm making an FAQ, cus the old one went *poof*
Post your thoughts if you want for now...
Ahem...
The php signature FAQ
Q: Your sig changes all the time! O__O How do you do that?
A: It uses php to automagically select the picture from a pre-entered list.
--
Q: Is it difficult to set up and keep running?
A: It's pretty simple if you have a template to work on, and understand the basic function of each line. Most problems arise from people accidentally changing part of the formatting. Once you get it set up, you don't need to do anything to make it start or to keep working, but you can add, swap or remove images as and when you like by editing the php file.
--
Q: So can I use this to make my images change while I watch?
A: No, that would require the images being made into an animated gif. This method causes a different image to load each time its built in timer counts down, this basically means each page view or so the image displayed will be different from the last.
--
Q: I still don't get how it does that?
A: In really simple terms, there is an IMG tag in the signature like any normal image uses, but instead of the URL of a picture, it contains the URL of a list of pictures. This list has a built in timer (set pretty fast), and each time it counts down, it randomly picks a different picture from the list to load and display.
--
Q: It's impossible to fit all that code into your signature, this won't work!
A: The code doesn't go in your signature. It goes in a file, the URL of which goes in your signature. See?
--
Q: Ok! I set it up but something is wrong! O_O
A: See 'Troubleshooting'! Quick!
----
</center>
I get asked how this works so often I'm making an FAQ, cus the old one went *poof*
Post your thoughts if you want for now...
Ahem...
The php signature FAQ
Q: Your sig changes all the time! O__O How do you do that?
A: It uses php to automagically select the picture from a pre-entered list.
--
Q: Is it difficult to set up and keep running?
A: It's pretty simple if you have a template to work on, and understand the basic function of each line. Most problems arise from people accidentally changing part of the formatting. Once you get it set up, you don't need to do anything to make it start or to keep working, but you can add, swap or remove images as and when you like by editing the php file.
--
Q: So can I use this to make my images change while I watch?
A: No, that would require the images being made into an animated gif. This method causes a different image to load each time its built in timer counts down, this basically means each page view or so the image displayed will be different from the last.
--
Q: I still don't get how it does that?
A: In really simple terms, there is an IMG tag in the signature like any normal image uses, but instead of the URL of a picture, it contains the URL of a list of pictures. This list has a built in timer (set pretty fast), and each time it counts down, it randomly picks a different picture from the list to load and display.
--
Q: It's impossible to fit all that code into your signature, this won't work!
A: The code doesn't go in your signature. It goes in a file, the URL of which goes in your signature. See?
--
Q: Ok! I set it up but something is wrong! O_O
A: See 'Troubleshooting'! Quick!
----
</center>