Jump to content
xisto Community
snlildude87

How To Make A Sig Rotator for people with multiple sigs

Recommended Posts

Wow that is really cool. Man who ever made that is a genius really, i cant make that if my life depended on it really.

172016[/snapback]

Thanks. I made it. :D

 

Actually, just followed that I typed, and you should be able to make one without a problem. If you should have a problem, just post it, and I'll try to answer it.

Share this post


Link to post
Share on other sites

Very very helpful. I have loads of signatures that I want to display but not very much space. I'll definatly be using this code on many of my message boards. Thanks!

Share this post


Link to post
Share on other sites

Very very helpful. I have loads of signatures that I want to display but not very much space. I'll definatly be using this code on many of my message boards. Thanks!

172020[/snapback]

Haha, thanks.

 

 

nice script, i was wondering how SM changes his sigs every post lol.

180689[/snapback]

Thanks. (I change my sigs for every post, too)

Share this post


Link to post
Share on other sites

As you can see in my signature that I have incorporated snlildud87's random rotating signature. But I wanted to be random quotes instead of pictures. So as I tried to implement to show plain text words, I failed. It wouldn't show.So I resorted to using my Photoshop and entering my text and saving as a picture. Is there a way to make random quotes to rotate in this forum? Of is that hacking and possibly cause security risk?

Share this post


Link to post
Share on other sites

Ouch, this is painful, I submitted a tutorial with a similar (yet easier) script a while ago, to do the same thing, one I use, however did not create.Anyway, that tut didn't get permitted - this one is... Makes me wonder what I did wrong. But whatever, guess they just like his better.Mine automatically searches the target folder 'sig.png' for .png, .jp(e)g, .gif, .swf, .atlanta (my own 'invention') and such files. Then choses one, and posts it as the image.If you want it, PM or E-mail me or something since they don't want my tut up here ;)Nice work dude, better than what I do with PHP, creating Dynamic images. Great work.Mr. Panda

Share this post


Link to post
Share on other sites

As you can see in my signature that I have incorporated snlildud87's random rotating signature. But I wanted to be random quotes instead of pictures. So as I tried to implement to show plain text words, I failed. It wouldn't show.

 

So I resorted to using my Photoshop and entering my text and saving as a picture. Is there a way to make random quotes to rotate in this forum? Of is that hacking and possibly cause security risk?

180850[/snapback]

Haha, it took me a good 30 seconds to find your little quote.

 

For your script, instead of doing readfile("blah");, did you do echo("blah");?

 

I might need to see what you did to see if I can identify any errors. PM me the code (or just post it here), and I'll check more into it.

 

If all else fails, you can go all out by reading SystemWisdom's dynamic signature tutorial here: http://forums.xisto.com/index.php?sho4458&hl=dynamic

 

 

Ouch, this is painful, I submitted a tutorial with a similar (yet easier) script a while ago, to do the same thing, one I use, however did not create.

 

Anyway, that tut didn't get permitted - this one is... Makes me wonder what I did wrong. But whatever, guess they just like his better.

 

Mine automatically searches the target folder 'sig.png' for .png, .jp(e)g, .gif, .swf, .atlanta (my own 'invention') and such files. Then choses one, and posts it as the image.

 

If you want it, PM or E-mail me or something since they don't want my tut up here ;)

 

Nice work dude, better than what I do with PHP, creating Dynamic images. Great work.

 

Mr. Panda

180855[/snapback]

Your tutorial was probably not accepted because you did not write the code. I wrote mine. :-/

 

Anyway, Saint_Michael posted his tutorial that does what you described here: http://forums.xisto.com/topic/25319-another-sig-rotation-even-better-then-snlils-p-xp/=

 

Thanks for the compliment.

Share this post


Link to post
Share on other sites

thablkpanda,

Please stay within the topic. If it's a question pertaining to your post you can PM moderators directly. What was your topic title? PM me with your answer, please. According to your post records the last post you made was just recently.

snlildude87,

I created a folder quote.png and place my index.php like so



<?php/************************************************** **********************//* PHP RandomRotator v1.0 *//* =========================== *//* *//* Written by Steve Dawson - http://stevedawson.com/ *//* Freelance Web Developer - PHP, Perl and Javascript programming *//* *//* This program is free software. You can redistribute it and/or modify *//************************************************** **********************/## HTML or plain text can be randomised. see associated random.txt for the quotes/html.## See the associated ReadMe.txt file for full installation instructions.## The name of the .txt file which hold the rotating info (currently random.txt)$filename = "random.txt";$file = file($filename);srand((double)microtime()*1000000);while ($RandomRotator == "") {$RandomRotator = ereg_replace("\n","",$file[rand(0,count($file))]);}## This prints the banner, quotes or random text, or whatever is in the random.txt fileprint "$RandomRotator";?>

and my random.txt as


"The HERO is one who knows how to hang on one minute longer." -Norwegian Proverb."The noblest service comes from nameless hands, and the best servant (as the Lord has taught us) does his or her work Unseen." -AnonymousCreativity is allowing yourself to make mistakes. Art is knowing which ones to keep. -UnknownHalf of my life is revision of the other half. -Unknown...quick to compassion, slow to anger... -JC...to express unique idea with unique words is called genius -Me"

All I'm getting is a small box with saying, 'user posted image' and nothing. I even tried to disguise random.txt as random.jpg but failed. I even tried to have random.txt as


<img alt="my random quote"><img alt="my random quote2">

so that the image box will come up but the quote would be in the image frame. It works in the regular browser (either ways) but not for the forum.

Thank you.



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.