Page 2 of 2 FirstFirst 12
Results 26 to 47 of 47

Thread: My Signature Widget

  1. #26
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Brain View Post
    eh, no big deal, just kinda curious what kind of abuse has been going on
    Awesome abuse.


  2. #27
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    K, it should make a log of all things said into it

    http://harry.talkflack.com/sig.gif/textall.txt

    Enjoy looking at all the abuse It will limit that to only 50 lines though, so it won't make a huge file. (Though I doubt people will abuse it)

    Fixed the escape char problem when someone did a ' symbol.

    Update: Temporary disabled until I work a few things out with Wizzup.

    Reenabled nao
    Last edited by Harry; 05-02-2009 at 03:18 AM.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #28
    Join Date
    Jan 2009
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Mah IRC name is in teh link. o.O

  4. #29
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Hi ya guize! I got it re-enabled now.



    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  5. #30
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    The last line is now right-aligned, thanks to Freddy1990 ^_^

    Also, I am considering making it Open-Sauce. Any comments on that idea?
    Only problem I see with that is tons of nubs using it, it will feel less 'special' to me (:
    Last edited by Harry; 05-06-2009 at 05:06 AM.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  6. #31
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Harry View Post
    The last line is now right-aligned, thanks to Freddy1990 ^_^

    Also, I am considering making it Open-Sauce. Any comments on that idea?
    Only problem I see with that is tons of nubs using it, it will feel less 'special' to me (:
    Make it with with a error like a { backwards or somthing

  7. #32
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    I think share the sauce in the members section
    Love it though

    T~M

  8. #33
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Mylesmadness View Post
    Make it with with a error like a { backwards or somthing
    As in "tons of nubs", I mean like just a lot of people using it, then putting their name into the credits, etc :/
    Quote Originally Posted by The Man View Post
    I think share the sauce in the members section
    Love it though

    T~M
    Thanks


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  9. #34
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  10. #35
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Sure, feel free to. I just do not want a ton of people using the PHP code if I was to post it, then making their own bot idle at IRC as a total rip-off of this project.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  11. #36
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  12. #37
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    To be honest I just want to see how you did the image writing...

  13. #38
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Mylesmadness View Post
    To be honest I just want to see how you did the image writing...
    Sure thing captn.

    PHP Code:
    $lines explode("\n",file_get_contents('text.txt')); 
    PHP Code:
    $img imagecreate(512100);
    imagecolortransparent($img$bg);
    $x XOFFSET;
    $y YOFFSET;

    foreach (
    $lines as $line)
    {
       
    $output = array();
       
    $line stripslashes($line);

       
    $color 1;
       
       
    $parts explode("."$line);
       for (
    $i 0$i count($parts); $i++)
       {
          
    $part $parts[$i];
          
          if (
    $i 0// Always skip first element because of the explode
          
    {
             if (
    ereg("^[0-1][0-9]?"$part$code) && $code[0] <= count($colorTable)-1// if this part has a code
             
    {
                
    $part substr($partstrlen($code[0])); // strip code
                
    $color intval($code[0]);
             }
             else
             {
                
    $output[$i-1][0] .= ".";
                
    $color 1;
             }
          }
          
                
    $output[$i] = array($part,$color);
       }

       foreach(
    $output as $temp) {
         
    imagestring($imgFONT$x$y$temp[0], AllocateMircColor($temp[1]));
         
    $x += (strlen($temp[0])*WIDTH);
       }
       
       
    $x XOFFSET;
       
    $y += HEIGHT;
    }
    //$IPADDR = '255.255.255.255';
    imagestring($imgFONTXOFFSET 102 strlen($IPADDR) * 5$y,
       
    "           Hey there " $IPADDR .", you are the " $count[1] . "th hit to my signature :)"AllocateMircColor(13));
       
    MakeBorder($imgAllocateMircColor(4)); // my own little func, not for you :D

    header("Expires: Mon, 5 Jun 1999 05:00:00 GMT");
    header("Last-Modified: " gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0"false);
    header("Pragma: no-cache");
    header("Content-type: image/gif");

    imagegif($img); // sends to browser
    imagedestroy($img); 
    Hopefully you can understand that


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  14. #39
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    PHP Code:
    header("Expires: Mon, 5 Jun 1999 05:00:00 GMT");
    header("Last-Modified: " gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0"false);
    header("Pragma: no-cache");
    header("Content-type: image/gif"); 
    what is all that for?

    ~shut

  15. #40
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    That portion of the code defines the properties of the image, so people with fail browsers do not get errors It also defines the properties, such as to not cache the image in their browser.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  16. #41
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    SOURCE?! YOU CAN HAS
    http://www.hawkee.com/snippet/6139/

    Enjoy, please do not use it here though, I only released so you could learn off the source code.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  17. #42
    Join Date
    Jan 2008
    Location
    Alberta
    Posts
    727
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice.. you finally posted source! Good way to go.

  18. #43
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Iron Man View Post
    Nice.. you finally posted source! Good way to go.
    Thanks


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  19. #44
    Join Date
    Feb 2009
    Location
    AZ, USA
    Posts
    460
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Double post!
    Is your account in an old-school random? Help SRL-OSR solve randoms!

  20. #45
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Ogre View Post
    Double post!
    Wat?


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  21. #46
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    I thought you said you dont know php >.<

  22. #47
    Join Date
    Oct 2008
    Location
    Spreading into Europe as I write.
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The code is pretty easy to find out
    Should I post it?

    EDIT : Wait I shouldn't... Can I put it in my sig and.... Wait my sig is full lol... I have to think of a new one...
    Last edited by nahiyan; 07-11-2009 at 11:38 PM.
    Lag is my enemy and also friend. Without lag, I would've lost 200k...
    I was just hanging around in bounty world in the graveyard...
    With a person hanging around too... Then the person left...
    And came a PKing clan...
    But lag came to my rescue and saved me by lagging!!!

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •