Results 1 to 9 of 9

Thread: Dynamic sigs???

  1. #1
    Join Date
    Oct 2007
    Location
    If (Online) then Loc := ('On comp') else Loc := ('Somewhere else!');
    Posts
    2,020
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Dynamic sigs???

    ok im wanting to get a dynamic sig for my prayer script/with and extra feature i want a sig with a picture behind like pVh's and hy's but i dont have the foggiest of how to do it

    i want it to say how long it worked,how many bones burried and xp earned


    can some1 help me pleae and tell me how to do 1 of these

    if you get what im saying?

    thanks

  2. #2
    Join Date
    Sep 2006
    Location
    include srl/srl.scar ( aussie)
    Posts
    2,875
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    done take my work on this ive never made one but im ok in php so i think i have an idea.... make the image, get a server and just the code from srls dynamic signature and juts make some php code to wrte on it or just get c0de or pvh 2 do it for u

  3. #3
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Its made in .php code.
    Add me on msn: pvh@live.nl
    And I'll make one for you

    PvH

  4. #4
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    PHP brotha...
    its all php

    ye pvh is pretty good he can help ye

  5. #5
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    PHP FTW!

    i'll show you how my sig is done:
    PHP Code:
    <?PHP
    function between($betw$betw2$str)
    {
      
    $str " " $str;
      
    $pos strpos($str$betw);
      if (
    $pos 0)
      {
        
    $str2 substr($str$pos strlen($betw));
        
    $pos2 strpos($str2$betw2);
        if (
    $pos2 == 0)
          return 
    '';
        return 
    substr($str20$pos2);
      }
      else
        return 
    '';
    }
      
    header('Content-type: image/png');
      
    $curl file_get_contents('http://www.stats.srl-forums.com/index.php?action=view_script&id=275'); // read srl stats page
      
    $Sig imagecreatefrompng('./IronMineSig.PNG'); // get the background img from your host, in the same map as the php file

      
    $Time Between('Worked  : <strong>''.'$curl);
      
    $Time Str_Replace('Years''Yr,'$Time);
      
    $Time Str_Replace('Months''Ms,'$Time);
      
    $Time Str_Replace('Weeks''We,'$Time);
      
    $Time Str_Replace('Days''D,'$Time);
      
    $Time Str_Replace('Hours''H,'$Time);
      
    $Time Str_Replace('Minutes''M'$Time);

      
    $Mined Between('mined  : <strong>''<'$curl);

      
    $Responds Between('onds  : <strong>''<'$curl);

      
    $white imagecolorallocate($Sig255255255); // create color for text

      
    imagettftext($Sig1007261$white'./LevelFont.ttf'Trim($Time));
      
    imagettftext($Sig1007296$white'./LevelFont.ttf'Trim($Mined." Ore's"));
      
    imagettftext($Sig10072131$white'./LevelFont.ttf'Trim($Responds));

      
    imagepng($Sig); // compile sig
    ?>
    So for a dynamic sig you need:
    • a hosting place with PHP
    • a php file like above
    • a image for the background
    • a font file (.TTF)

  6. #6
    Join Date
    Jun 2007
    Location
    Liverpool ,Nsw,Australia
    Posts
    740
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by M4st3rK1ll View Post
    So for a dynamic sig you need:
    [list][*]a hosting place with PHP
    mind giving us an example. I cant find any Free ones...
    Quote Originally Posted by Darkmage View Post
    I got 2 questions'
    #1. When i run the script will it automatically pick up the mouse and move?

  7. #7
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by strikerx25 View Post
    mind giving us an example. I cant find any Free ones...
    www.freehostia.com

    pritty good one

  8. #8
    Join Date
    Mar 2008
    Location
    The Netherlands
    Posts
    1,395
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    I thougt 110MB had php too, but not sure.


  9. #9
    Join Date
    Nov 2007
    Location
    The Netherlands
    Posts
    1,490
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Freehostia FTW
    I upload everything there
    If anyone needs help with dynamic siggies, add me on msn: pvh@live.nl

    PvH

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Heelp! Dynamic sigs
    By n3ss3s in forum Graphics and Multimedia
    Replies: 9
    Last Post: 12-11-2007, 03:36 AM

Posting Permissions

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