Jump to content
xisto Community
snlildude87

How To Make A Sig Rotator for people with multiple sigs

Recommended Posts

yeah sorry i havent been to swish on thsi post, but anyways i have treid 4 tiems and it doesnt work any times? im really confused and i think saint micheal will be able to help but if anyoen else know whats worng all ehlp is appreciated thansk guys ive treied renaming the folder to gif but still no luck and the other thing is i ahev not been detailed because i dont know!!!

Share this post


Link to post
Share on other sites

I work for me :)anyone knows how to make a sign + avatar matching rotate system?
I have seen people using it



Well, I guess it will be the same way the sig rotator is working, Make another folder and name it as avatar.png and then put the images of avatars and Voila! You'll have avatar rotating script :(

Share this post


Link to post
Share on other sites

Okay crap.. Im sorta lost.. I think im missing a main point or something.. hrmm..

Okay this is what I have.

On my desktop. a Folder named sig.jpg .. All my images are jpg and im going to use this rotating sig on a different forum.. but okay i have that and
Inside it i have a notepad thing named index.php and it says inside it


<?php
Header("Cache-Control: no-store, no-cache, must-revalidate,

post-check=0, pre-check=0");
Header("Expires: Thu, 19 Nov 1981 08:52:00 GMT");
Header("Pragma: no-cache");
Header("(anti-spam-(anti-spam-(anti-spam-content-type:))) image/gif");

srand((double)microtime()*1000000);
$randnum = rand(0,7);
if($randnum == 0)
{
readfile("http://forums.xisto.com/no_longer_exists/404.png;);
}
else if($randnum == 1)
{
readfile("http://forums.xisto.com/no_longer_exists/404.png

gcopy.jpg");
}
else if($randnum == 2)
{
readfile("http://forums.xisto.com/no_longer_exists/404.png

g2.jpg");
}
else if($randnum == 3)
{
readfile("http://forums.xisto.com/no_longer_exists/404.png

g.jpg");
}
else if($randnum == 4)
{
readfile("http://forums.xisto.com/no_longer_exists/404.png

gEdit.jpg");
}
else if($randnum == 5)
{
readfile("http://forums.xisto.com/no_longer_exists/404.png

8Sig.jpg");
}
else if($randnum == 6)
{
readfile("http://forums.xisto.com/no_longer_exists/404.png

Sig.jpg");
}
else if($randnum == 7)
{














ok.. so.. also in the folder. I have another notepad text thing.. Named: list.txt . and it says.


http://forums.xisto.com/no_longer_exists/404.png
http://forums.xisto.com/no_longer_exists/404.png
http://forums.xisto.com/no_longer_exists/404.png
http://forums.xisto.com/no_longer_exists/404.png
http://forums.xisto.com/no_longer_exists/404.png
http://forums.xisto.com/no_longer_exists/404.png
http://forums.xisto.com/no_longer_exists/404.png





NOW... * Takes a breath *.. My Question is.. What do I do next.. How do I make 1 link or w/e that I can paste into the Sig and It will rotate all this crap for me.. I am very confused!! OMG.. lol.. PLEASE Reply! OR. Email me at Badpooo@hotmail.com
Please please help me Ive been trying to figure this out forever and Im stupid or something and cant get it..

ERR!! HELP! .. ty.

Share this post


Link to post
Share on other sites

This is a very good tutorial. I may have done it other ways and made the script get all the images from a directory, but then again it is pretty cool. If people do not understand the "rand" statement, maybe they should check out PHP's website, http://de1.php.net/rand. Remember in a rand() function it is the first number then a comma then the last.

 

Correct:

rand(0, 10);

Not Correct:

rand(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);

Share this post


Link to post
Share on other sites

this is a really good tutorial i always wanted to know how to make a random sig come up every time i am going to use this for different banners on my site instead for on a forum. PHP always seem like a complex language and you make it look so simple.

Edited by street (see edit history)

Share this post


Link to post
Share on other sites

Very informative thread! Thanks a bunch. I know how troublesome it is to try and do this myself. Lots of times I ended up making and animated gif! I would make it transition through all of my sigs..It was a easy solution but ended up droping the quality of my sigs. It also was repetitive. But with this I can no longer have that problem! Thanks a bunch!-Damen

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.