Quantcast

Jump to content


Photo

Dynamic, "random" Signatures!


  • Please log in to reply
7 replies to this topic

#1 Stew

Stew
  • 626 posts

Posted 12 January 2005 - 02:38 PM

Objective:  Display a dynamic signature featuring a random I'mage from a set of I'mages chosen by you.

Example: To see effect, try refreshing this page. [dynamic]http://www.freepgs.com/cyberstew/I'mages/rotate.php[/dynamic]

How:  To do this, you will need your own web space, and a host with PHP support.  FTP access is preferrable. 

First, make a new folder on your FTP/site manager named "I'mages".  Upload all the I'mages you want to use in your sig.

Now, you're going to need a php script to handle the display of your signature.  It's attached to this post. Upload this file(rotate.php) in your "I'mages" folder.

You can test out your signature by viewing the script at http://yourdomain.com/I'mages/rotate.php.  Try refreshing the page.  The I'mage should change each ti'me.  Congratulations.

Now, to use this script in Invision Power Board, use the following code:
[dynamic]http://www.yourdomain.com/I'mages/rotate.php[/dynamic]

Credits:All info from Alistapart at: http://www.alistapar...les/randomizer/

Attached Files



#2 Stephen

Stephen
  • 3527 posts


Users Awards

Posted 12 January 2005 - 02:56 PM

Nice tutorial, and how long ago did you change your name?

#3 Stew

Stew
  • 626 posts

Posted 12 January 2005 - 03:31 PM

Thanks.  About a week or so ago.  I've just outgrown the "cyber" thing.  Sounds too geeky and cliche.

#4 LuGiA

LuGiA
  • 855 posts

Posted 12 January 2005 - 04:40 PM

wow, nice use of php I never knew about that invision function...but then again I didnt know of many functions :(

#5 Dark_Sniper

Dark_Sniper
  • 1726 posts

Posted 12 January 2005 - 06:26 PM

Omg Stew ur Canadian!! back on topic that sig is crazy!!!

#6 Le Chango

Le Chango
  • 1026 posts

Posted 12 January 2005 - 08:19 PM

ooo, I likey, nice tut stew. I might use it!

#7 Funnlecake

Funnlecake
  • 2076 posts

Posted 12 January 2005 - 08:45 PM

can u use php on the board for more than I'mages like a text countdown to a date?

#8 Stew

Stew
  • 626 posts

Posted 13 January 2005 - 04:21 AM

Yeah, Canada rules.

I don't think you can use it to countdown to a date unfortunately.  The board doesn't let you run .php scripts in your signature unless they're in the
[dynamic]
tags and that tag will only let you do a li'mited amount.  I'm gonna try and see if there's anything else you can do though.

Edited by Stew, 13 January 2005 - 04:34 AM.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users