Winamp Signature :P

Results 1 to 17 of 17
  1. #1
    Elite Member Xeo19 is offline
    Member +Rank
    Jan 2005 Join Date
    179Posts

    Winamp Signature :P

    Well; I wanted to know if any of you knew a site to one. I saw Stryker post one but not sure how it works XD. Anyways it'd be awesome(!) if someone could post one.

    The kind I want is one completely customizable, as in you can change all of the images etc. etc., choose where the text would appear and such.

    Thanks~


  2. #2
    Grand Master b1zn4tch is offline
    Grand MasterRank
    May 2004 Join Date
    Mah HouseLocation
    2,784Posts
    i tried getting one to work then finally said fuck it, gave up and went to sigamp lol

  3. #3
    Sorcerer Supreme R3D is offline
    Member +Rank
    May 2005 Join Date
    AustraliaLocation
    382Posts
    lol. I love mine :D
    100% my work

  4. #4
    Sorcerer Supreme Kamuro is offline
    Member +Rank
    Apr 2004 Join Date
    Vienna, AustriaLocation
    409Posts
    R3D u wanna tell us how to do that (just the code thingie, gfx shouldnt be that hard) plx? ^^

  5. #5
    Sorcerer Supreme R3D is offline
    Member +Rank
    May 2005 Join Date
    AustraliaLocation
    382Posts
    PHP Code:
    <?

    // Set content type header
    header("Content-type: image/png");

    // Constants
    $charWidth 7;
    $charWidthDisp 6;
    $charHeight 10;
    $chars = array("." => 11":" => 12"(" => 13")" => 14"-" => 15"'" => 16"!" => 17,
          
    "_" => 18"+" => 19"\\" => 20"/" => 21"[" => 22"]" => 23"^" => 24,
          
    "&" => 25"%" => 26"," => 27"=" => 28"$" => 29"#" => 30);

    // Variables
    $username "R3D"// Change this to your Audioscrobbler username

    // Retrieve name of last song played and format
    list(,$song) = explode("\n", @file_get_contents("http://ws.audioscrobbler.com/txt/recent/".$username));
    if (!isset(
    $song) || strlen($song) == 0) {
     
    $song "Not playing anything";
    **
    $song strtoupper($song);
    if (
    strlen($song) > 41$song substr($song038)."...";

    // Load the background image and set transparency
    $image imagecreatefrompng("background.png");
    $green imagecolorallocate($image02550);
    $trans imagecolortransparent($image$green);

    // Load the font image
    $fontImage imagecreatefrompng("font.png");

    // Loop through string printing a character at a time
    $startX 80;
    $startY 6;
    for (
    $i=0$i<strlen($song); $i++) {
     
    $char $song[$i];
     
    $asc ord($char);
     switch (
    $asc) {
      case (
    $asc >= 65 && $asc <= 90): // Letters
       
    imagecopy($image$fontImage$startX $i $charWidthDisp$startY, ($asc 65) * $charWidth0$charWidth$charHeight);
       break;
      case (
    $asc >= 48 && $asc <= 57): // Numbers
       
    imagecopy($image$fontImage$startX $i $charWidthDisp$startY, ($asc 48) * $charWidth$charHeight$charWidth$charHeight);
       break;
      case 
    34// "
       
    imagecopy($image$fontImage$startX $i $charWidthDisp$startY26 $charWidth0$charWidth$charHeight);
       break;
      case 
    64// @
       
    imagecopy($image$fontImage$startX $i $charWidthDisp$startY27 $charWidth0$charWidth$charHeight);
       break;
      default: 
    // All other characters
       
    if (isset($chars[$char])) imagecopy($image$fontImage$startX $i $charWidthDisp$startY$chars[$char] * $charWidth$charHeight$charWidth$charHeight);
       break;
     **
    **

    // Output image and clean up
    imagepng($image);
    imagedestroy($image);

    ?>
    The image here must be 300x40

    And download the text which u need [url=http://redmagic.sytes.net/sig/font.php]here[/php]

    Go to www.audioscrobbler.com and register there and download the plugin.

    And in the script change audio scrobbler name from r3d to u're.

    Put ure image (.png format) and the text and index.php in an folder on ure server.

    http://www.mywebsite.com/sig

    put that address in [.img][./img] (no .)

    And ure done :)

  6. #6
    Grand Master Ionic & Schizo is offline
    Grand MasterRank
    Jun 2004 Join Date
    Well below theLocation
    5,246Posts
    Shouldn't this be in Coder's Paradise?

  7. #7
    Grand Master Jack is offline
    Grand MasterRank
    Nov 2004 Join Date
    Fabric LondonLocation
    1,549Posts
    Could be in either :o thought same as u b1z, tried and coulden't get it working.. sigamp will do for now.

  8. #8
    Grand Master b1zn4tch is offline
    Grand MasterRank
    May 2004 Join Date
    Mah HouseLocation
    2,784Posts
    im having a hell of a time with this...

  9. #9
    Sorcerer Supreme Kamuro is offline
    Member +Rank
    Apr 2004 Join Date
    Vienna, AustriaLocation
    409Posts
    oh R3D the link for the font isn't working? what happened to it? T_T

  10. #10
    Sorcerer Supreme DrowninG is offline
    Member +Rank
    Mar 2003 Join Date
    United CumdomLocation
    442Posts
    what do u make these in???

    i was thinkin coz u couldnt add code to an image in adobe so im guessing its either dreamweaver or usmthin like that?

  11. #11
    Grand Master theRAGE is offline
    Grand MasterRank
    Oct 2004 Join Date
    OntarioLocation
    1,178Posts
    Quote Originally Posted by DrowninG
    what do u make these in???

    i was thinkin coz u couldnt add code to an image in adobe so im guessing its either dreamweaver or usmthin like that?
    You paste this code into Notepad, and save that file as a PNG. Then you upload it to a Apache webserver, put it in a seperate folder, and use htaccess to parse all the files in that folder as PHP files.

  12. #12
    Grand Master sutsurikeru is offline
    Grand MasterRank
    Mar 2004 Join Date
    notchan/4chanLocation
    3,388Posts
    i dont like this way of making a winamp sig, i prefer the way i did it

  13. #13
    Sorcerer Supreme R3D is offline
    Member +Rank
    May 2005 Join Date
    AustraliaLocation
    382Posts
    Yes. This way sux, but it works :)
    And u're way doesn't work for most of us.

  14. #14
    Grand Master sutsurikeru is offline
    Grand MasterRank
    Mar 2004 Join Date
    notchan/4chanLocation
    3,388Posts
    just gotta find a server tht allows direct linking on ip's :P

  15. #15
    Elite Member sbjafri is offline
    Member +Rank
    Jul 2005 Join Date
    Dark-Side of HellLocation
    119Posts
    im having a hell of a time with this...

  16. #16
    Grand Master b1zn4tch is offline
    Grand MasterRank
    May 2004 Join Date
    Mah HouseLocation
    2,784Posts
    Quote Originally Posted by sbjafri
    im having a hell of a time with this...
    Quote Originally Posted by b1zn4tch
    im having a hell of a time with this...
    stop copying me!!!

    poontang

  17. #17
    Sorcerer Supreme R3D is offline
    Member +Rank
    May 2005 Join Date
    AustraliaLocation
    382Posts
    LOL !!! @ b1zn4tch

    It's not that hard. I gotta think :D



Advertisement