![]() |
Set up your own signature rotation
2 Attachment(s)
Note: The rotsig.php file in the zip is the actual file to edit and access to show the signature rotation. The rotsigs.php file is a utillity file which is needed to make rotsig.php work. You can have multiple copies of rotsig.php in the same directory using the same copy of rotsigs.php. clear.gif is displayed if you do not have any images setup for the forum accessing the script. Also, the images to be rotated need to be on the same server as the rotsig.php script, prefferably in the same directory.
I was bored yesterday, so I whipped up this PHP script that makes it easy to create a rotating signature. You need two things to use this script: a server with PHP support (no MySQL needed), and be able to convert hexadecimal to binary and back. The first thing to do is to download the zip I attached and open up the rotsig.php file. It'll look like this:
Code:
$scriptid='rotsig'; Next, we're going to set up the forum masks. Code:
checkforum(0x0002,'zelaron.com'); Now is the main part: The image list. Code:
case 0:checkrules(0x000F,'./wwusigsmall.gif'); After you finish setting up the rotsig.php file, you can rename it if you like, then upload it, rotsigs.php, and clear.gif to the same directory on your server. Putting your rotsig.php file in an image tag will display the first signature in your rotation. Each time you refresh the page, it will show the next image. ======Advanced====== You can confuse bulletin board systems and people by giving your rotsig.php script a .gif extention if you use an Apache web server. Simply rename the script to a file name ending with .gif, then add lines similar to these to the .htaccess file for the directory you put the script in: Code:
<Files rotsig.gif> |
If I toss this into my pixelmethods folder, will it work?
|
Probably. If you get on AIM I can help you if you need it (needs to be most recent AIM...I'm on ICQ2go)
|
I like the sig rotation. Great job. Besides, since when does ICQ2go support AIM? :)
|
Heh, interesting, now all I need is an arsenal of Sigs to rotate through. Great work buddy! :)
|
I was at school at the time, now I'm at home. Maybe I'll catch on on later.
|
Great stuff
Off-Topic: There's a java version of AIM... |
Quote:
|
AHH!!! PROGRAMMING BEYOND MY INTELLECT!! IT BURNS!!!
>.< |
Restored attachment...
|
Quote:
|
All times are GMT -6. The time now is 05:38 PM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.