1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Official signature TEST thread !

Discussion in 'Off Topic' started by DarkBls, Sep 10, 2001.

  1. DarkBls

    DarkBls Inf Ex-admin

    Joined:
    Mar 5, 2000
    Messages:
    4,551
    Likes Received:
    0
    Welcome to the new official sig thread.

    Note: You don't need to post each time to see what your new sig/avatar looks like. Just hit your browser refresh buton after updating your profile ![​IMG]

    The content of this thread will be deleted after about 40 posts.

    Keep you sig at a 56K user-friendly and under the 40KB limit.

    HTML is NOT allowed in signature !
     
  2. anaemic

    anaemic she touch your penis?

    Joined:
    Jan 7, 2002
    Messages:
    3,124
    Likes Received:
    0
    testosterone comes from testicles
     
  3. DarkBls

    DarkBls Inf Ex-admin

    Joined:
    Mar 5, 2000
    Messages:
    4,551
    Likes Received:
    0
    What an OLD thread ! :D
     
  4. Hadmar

    Hadmar Queen Bitch of the Universe

    Joined:
    Jan 29, 2001
    Messages:
    5,459
    Likes Received:
    29
    What an OLD poster! :D
     
  5. Pipe_Dream

    Pipe_Dream 3-time World Champion Bowler

    Joined:
    Oct 22, 2004
    Messages:
    548
    Likes Received:
    0
    1, 2... 1, 2...
     
  6. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    Thanks to my oh-so-awesome PHP programming skills, I now have Jack Handy in my sig.
     
  7. Kisen_K

    Kisen_K S&M Airlines

    Joined:
    May 12, 2000
    Messages:
    1,093
    Likes Received:
    0
    test

    is this working?
     
  8. Mercie

    Mercie Member

    Joined:
    Jan 18, 2005
    Messages:
    114
    Likes Received:
    0
    no
     
  9. Rostam

    Rostam PSN: Rostam_

    Joined:
    May 1, 2001
    Messages:
    2,807
    Likes Received:
    0
    I might need some help, I got this php code that a friend wrote for me but I can't exactly use it as a sig :hmm:

    the code:
    PHP:
    <?php 
    $f 
    "http://home.tiscali.nl/~rostam/quotes.txt"
    $a file($f); 
    srand((double)microtime()*1000000); 
    $r= (rand(0count($a)) - 1); 
    echo 
    '<body style=background:#161616><font face=Verdana color=#CCCCCC size=1><a>&nbsp;"' $a[$r] . '"&nbsp;</a></font>'
    ?>
    /me hopes somebody actually views these parts of the boards.

    By the way Kisen K, it's great to see you again.
     
  10. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    There are two ways to use it as a sig. The simplest is to put the php file and the 'quotes.txt' file on a PHP-enabled webserver. Then you can link to the php as an image file.

    Since not every message board accepts 'php' as a file type, you can put a ".htaccess" file in the same folder as the text file and the php file, put "AddType application/x-httpd-php .png" in the file, and rename your php to png. Now its an "image"!

    Something tells me your code isn't going to work either way. If you want, you can use mine. It can use a png file as a background (or a blank png file in my case) and it wraps long sentences around the edges.

    PHP:
    <?php
    function ImageStringWrap($image$font$x$y$text$color$maxwidth)
    {
       
    $fontwidth ImageFontWidth($font);
       
    $fontheight ImageFontHeight($font);

       if (
    $maxwidth != NULL) {
           
    $maxcharsperline floor($maxwidth $fontwidth);
           
    $text wordwrap($text$maxcharsperline"\n"1);
         }

       
    $lines explode("\n"$text);
       while (list(
    $numl$line) = each($lines)) {
           
    ImageString($image$font$x$y$line$color);
           
    $y += $fontheight;
         }
    }
    //
    header("Content-type: image/png");
    $h_array file("fortunes.txt");
    srand((double) microtime() * 10000000);
    $h array_rand($h_array);
        
    // Calculate vertical position//put your image name here (must be a png)
    $im imagecreatefrompng("randquote.png");
    //change your text color here ( must be the hex value) ex. 255,255,255 would be white
    $color imagecolorallocate($im000);

    //change your X & y coordinates here to place the text on your image where you want it
    //(these will center the text on a 400x100 image)
    $px=1;
    $py=1;

    //no need to touch this unless you know what your doing
    //imagestring($im, 3, $px, $py, $h, $color);
    ImageStringWrap($im200rtrim($h_array[$h]), $colorImageSX($im) );
    //imagestring($im, 2, 1, 1, rtrim($h_array[$h]), $color);
    imagepng($im);
    imagedestroy($im);

    ?>
    Put that php code, a transparent (or whatever) png file, and your quotes.txt in a folder on your webserver. Change any variables in the code you need to. Rejoice.
     
  11. Rostam

    Rostam PSN: Rostam_

    Joined:
    May 1, 2001
    Messages:
    2,807
    Likes Received:
    0
    Oh it works, I think I should have added this, oh well.. : http://darkzero.co.uk/sigs/random.php

    on another forum I could just use <iframe> tags and it would work, HTML is not allowed here however so I'm kinda stuck.
     
    Last edited: Jun 6, 2005
  12. Hadmar

    Hadmar Queen Bitch of the Universe

    Joined:
    Jan 29, 2001
    Messages:
    5,459
    Likes Received:
    29
    To make it work here the script has to create a pic containing the text. That pic can be added as sig here. Don't ask me how though; I'm not into php. :)
     
  13. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    Yeah just completely ignore my detailed post on how to do this, why dontcha :p
     
  14. Hadmar

    Hadmar Queen Bitch of the Universe

    Joined:
    Jan 29, 2001
    Messages:
    5,459
    Likes Received:
    29
    Hey, I'm not the one who wants to use it. :D

    I simply didn't feel the need to point that out
     
    Last edited: Jun 9, 2005
  15. -=]N[=-WWE

    -=]N[=-WWE New Member

    Joined:
    Oct 13, 2003
    Messages:
    61
    Likes Received:
    0
    edfadwfwda
     
  16. -=]N[=-WWE

    -=]N[=-WWE New Member

    Joined:
    Oct 13, 2003
    Messages:
    61
    Likes Received:
    0
  17. O_DoGG

    O_DoGG Le Boner

    Joined:
    Nov 17, 2002
    Messages:
    406
    Likes Received:
    0
    Testing
     
  18. O_DoGG

    O_DoGG Le Boner

    Joined:
    Nov 17, 2002
    Messages:
    406
    Likes Received:
    0
    Now centered?
     
  19. Vega-don

    Vega-don arreté pour detention de tomate prohibée

    Joined:
    Mar 17, 2003
    Messages:
    1,904
    Likes Received:
    0
    very smart
     
  20. anaemic

    anaemic she touch your penis?

    Joined:
    Jan 7, 2002
    Messages:
    3,124
    Likes Received:
    0
    testing
     

Share This Page