Add to Google

How To Make A Sig Rotator - for people with multiple sigs

Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9
free web hosting
Open Discussion > CONTRIBUTE > Tutorials

How To Make A Sig Rotator - for people with multiple sigs

BuffaloHELP
Yup, I enter the above link as image. For example,
CODE
[img]http://buffalohelp.net/dev/random_quotes.png[/img]

and this is what it looks like

user posted image

I guess displaying text as a graphic isn't really working for any forum...

Comment/Reply (w/o sign-up)

Saint_Michael
i think in order to display the php to run on here you would have to put the <?php insert "http://buffalohelp.net/dev/random_quotes.png" ?> something like that (coding is a bit off but you get the idea)

if you can work the php to something like that it might work then.

Comment/Reply (w/o sign-up)

Moody
What am i doing wrong?
In http://www.moody.trap17.com/public_html is a folder named sig.png. In that folder is a file named index.php

It has this code:
CODE
<?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("Content-Type: image/gif");

srand((double)microtime()*1000000);
$randnum = rand(0,1,2,3);
if($randnum == 0)
{
readfile("http://img398.imageshack.us/img398/8074/siggymoody2copy7ff.jpg");
}
else if($randnum == 1)
{
readfile("http://img8.imageshack.us/img8/7831/siggymoody3copy7rm.jpg");
}
else if($randnum == 2)
{
readfile("http://img109.imageshack.us/img109/6484/moodysig9pd.gif");
}
else if($randnum == 3)
{
readfile("http://img109.imageshack.us/img109/9291/moodysig23bl.png");
}
?>


The images are uploaded and in my CP is this:
CODE
[img]http://moody.trap17.com/sig.png[/img]
Gift sigs recieved from: truefusion, mayank


It gives a 'user posted image' error

 

 

 


Comment/Reply (w/o sign-up)

snlildude87
Try this code:

CODE
<?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("Content-Type: image/gif");

srand((double)microtime()*1000000);
$randnum = rand(0,3);
if($randnum == 0)
{
readfile("http://img398.imageshack.us/img398/8074/siggymoody2copy7ff.jpg");
}
else if($randnum == 1)
{
readfile("http://img8.imageshack.us/img8/7831/siggymoody3copy7rm.jpg");
}
else if($randnum == 2)
{
readfile("http://img109.imageshack.us/img109/6484/moodysig9pd.gif");
}
else if($randnum == 3)
{
readfile("http://img109.imageshack.us/img109/9291/moodysig23bl.png");
}
?>

Comment/Reply (w/o sign-up)

Moody
Oh, man, very thanks it worked biggrin.gif I like you guys tongue.gif

Comment/Reply (w/o sign-up)

snlildude87
QUOTE(Moody @ Sep 24 2005, 05:15 AM)
Oh, man, very thanks it worked biggrin.gif I like you guys tongue.gif
*

Yeah, no problem.

And if you don't want to waste bandwidth, then you can try this shorter code:

CODE
<?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("Content-Type: image/gif");
// Header info, forces no cache and image type of GIF

$sigs = file("http://sang.trap17.com/sig.png/list.txt"); //replace the URL inside with your list.txt
$blah = $sigs[rand(0, count($sigs) - 1)];
$blah = substr($blah, 0, strlen($blah) - 1);
readfile($blah);
?>


What that does is it finds a list.txt inside your sig.png folder, picks a random line, and displays it. Your list.txt file is basically a list of all the URLs to your sigs...one per line. Just check out mine if you don't know what I'm talking about: http://sang.trap17.com/sig.png/list.txt

This is good if you don't want to waste your own webspace and bandwidth.

Comment/Reply (w/o sign-up)

xtrasux
Hi,
I'm using the code above but it never displays the last image on my list and occasionaly nothing displays at all.

CODE
<?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-content-type:) image/png");
// Header info, forces no cache and image type of GIF

$sigs = file("http://www.cjb.cc/members/xtrasux/gift.jpg/list.txt"); //replace the URL inside with your list.txt
$blah = $sigs[rand(0, count($sigs) - 1)];
$blah = substr($blah, 0, strlen($blah) - 1);
readfile($blah);
?>


CODE
[url=http://img175.imageshack.us/img175/2914/crossnames0hf.png]http://img175.imageshack.us/img175/2914/crossnames0hf.png[/url]
[url=http://img.photobucket.com/albums/v240/pistons50/present4staff.png]http://img.photobucket.com/albums/v240/pis...esent4staff.png[/url]
[url=http://i21.photobucket.com/albums/b287/ScottGfx/GfxsectorStaffSig.png]http://i21.photobucket.com/albums/b287/Sco...torStaffSig.png[/url]
[url=http://img399.imageshack.us/img399/9938/staffpresent8tr.png]http://img399.imageshack.us/img399/9938/staffpresent8tr.png[/url]


Link

do I need to change something, or is it something to do with my host?

Comment/Reply (w/o sign-up)

Saint_Michael
change this
CODE

$sigs = file("http://www.cjb.cc/members/xtrasux/gift.jpg/list.txt"); //replace the URL inside


to that
CODE

$sigs = file("http://www.cjb.cc/members/xtrasux/gift.png/list.txt"); //replace the URL inside


Comment/Reply (w/o sign-up)

Ex Fx
nice code man

Comment/Reply (w/o sign-up)

shadyshot
where do u get the renders from in your sig

Notice from snlildude87:
Do not quote the first post in a thread. It's not necessary.

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9
Recent Queries:-
  1. how to make cool siggy? - 31.77 hr back. (1)
  2. how to make siggie - 61.66 hr back. (1)
  3. how to make a sig with photobucket - 76.35 hr back. (1)
  4. how to make an sig? - 82.65 hr back. (1)
  5. make a sig - 99.41 hr back. (1)
  6. how to create roator in xhtml - 112.30 hr back. (1)
  7. how to make sig rotator - 157.68 hr back. (1)
  8. copy and paste adfree php image rotator - 164.18 hr back. (1)
  9. how to make a sig online - 176.52 hr back. (1)
  10. how to make sig - 208.07 hr back. (1)
  11. sigrotator - 209.72 hr back. (1)
  12. siggy rotator - 215.98 hr back. (3)
  13. how to make a rotator sig - 239.86 hr back. (1)
  14. sig rotator - 25.40 hr back. (13)
Similar Topics

Keywords : make, sig, rotator, people, multiple, sigs

  1. Sharepoint Calendars Integrated Into Outlook 2007
    Showing multiple Sharepoint Calendars in Outlook 2007 (Company wide De (0)
  2. Start Multiple Programs With One Shortcut
    Windows XP (17)
    Welcome to my turoial on how to start multiple programs using one shortcut. You may probably be
    wondering how this is possible. Well this tutorial will use a language from MS-DOS called batch. I
    am not sure whether it is "language", but I do know that it is a way to program for MS-DOS. Batch is
    simply a way to run several MS-DOS commands with just one command. All batch files are run through
    Command Prompt, but they can be accessed with shortcuts also. Here are a few requirements for this
    tutorial. Requirements Windows XP (I tested this on XP, but it should work on m....
  3. Image Rotator Script (another One)
    easy to implement (0)
    In case you haven't noticed, I have a different Avatar display on the Forum each time the page
    is refreshed. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
    /> For those of you who might want the script to do that, here is the one I am using: HTML
    $filesp = glob('*.png'); if(empty($filesp)){ echo 'no images found...die br >';
    die(); } else{ foreach ($filesp as $file) { $img_array = trim($file); } } shuffle($img_array);
    //select image at random header("C o n t e n t{dash}t y p e: image/png"); // replace th....
  4. Dynamic Signature - Yet Another Way To Do It
    Create dynamic sigs for multiple users using .htaccess and RewriteRule (0)
    Ever since I connected a program I made in Visual Basic to MySQL database, I had an idea to create
    some sort of a status page... And I did that, where I updated my connection status every 60 seconds,
    updated my Winamp playlist, and several other interesting things... Then, I figured I could create
    an image, and display all that info, and show it on forums, as a signature... And I made a great
    PHP script, that look real fancy, and does the job perfectly... So, I was adding the reference to
    http://status.galahad.trap17.com/stat.php to all the forums... BUT (there's ....
  5. How To Group Multiple Sets Of Data In Microsoft Excel 2007
    (0)
    How to Group Multiple Sets of Data in Microsoft Excel 2007 Sometimes you may open several
    workbooks and work with a number of the same workbooks at a time. You can open this group of files
    with Microsoft Excel 2007 simultaneously. But you have to define them as part of a workspace, and
    save them in a single Excel 2007 file. To do this, follow below steps: 1- Click On the View tab and
    then in the Window group click Save Workspace. The Save Workspace dialog box appears. 2- In the File
    name field, type your work name and then Click Save. 3- At the top-left of window, C....
  6. Installing Multiple Os On Your Pc
    How to do that (0)
    Hi everyone, Ok before I start, I want to let you guys know the meanings of some of the
    terminologies I will be using in here. Boot loader is a small program which the operating system
    places on the selected partition (in most cases, the MBR ). it is a small program that loads the
    operating system into the computer’s memory when the system is booted and also starts the
    operating system. So, before you can think of configuring your PC to have multiple boot, you should
    also know how to play around with 'em boot loaders too. And you should also make sure that y....
  7. Multiple Classes In Html
    you can use more than one at a time (8)
    Multiple Classes in Css Styles Classes are used in html pages to give certain defined
    attributes to elements. They are useful when the attributes are to be used in more than one place on
    a page. (Named Id's are only allowed once per page, but I digress... might have a tutorial on
    that some day.) Sometimes you want Red text and sometimes you want Bold text. Easy enough to do,
    simply define a class and apply it to the element you want red or bold. Use this class where you
    want on the page, since classes are enabled to be used in several spots, for different u....
  8. Yet Another Signature Rotator
    (Easier, and more Efficient) (7)
    Hey Trap, It's Mr. Panda, and I'm introducing a signature rotator script I came across
    several months ago. Unlike most other signature rotators on trap17, this one does DOES NOT
    require the configuration process, and a new signature can be added, simply by uploading it to the
    proper directory. Seeing as this requires so much less configuration, I do hope it will be
    implemented by some of you 'Sig Masters' out there /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> , that have to add another line of code to your
    rotator file....
  9. Multiple Admin Login (php)
    This is a script that doesnt requre SQL (3)
    first off make a login.html page Code: QUOTE Admin Login Username: Password:
    then make a check.php page Code: QUOTE $admin1 = "admin1"; // first
    admin username $adm_pass1 = "password1"; // first admin password $admin2 = "admin2"; // second
    admin username $adm_pass2 = "password2"; // second admin password if(($username == $admin1 &&
    $password == $adm_pass1) || ($username == $admin2 && $password == $adm_pass2)){ echo
    "Congratulations " . $_POST . " You may now proceed to the admin area !"; } else { echo "Userna....
  10. Simple Image Rotator
    randomly rotate images (6)
    First, It's really confusing. Do you know any tutorials on Image Manipulation on PHP?
    Here's another simple one: 1. Create a 5 image. 2. Rename them to something like:
    image1.jpg; image2.jpg; and so on... 3. Create your PHP file (rotation.php) 4. Enter the
    following code: CODE header("content-type: image/jpeg");
    readfile("image".mt_rand(1,3).".jpg"); ?> 5. Execute your script.....

    1. Looking for make, sig, rotator, people, multiple, sigs

Searching Video's for make, sig, rotator, people, multiple, sigs




advertisement



How To Make A Sig Rotator - for people with multiple sigs