Announcement

Collapse
No announcement yet.

Personal Signature?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Personal Signature?

    I have seen Bobbaz Sigs which displays infos about myself when I view his messages. Does anyone know what script is used to created such a personalized signature?

    To see what I mean check http://www.vbulletin.com/forum/showt...852#post523852

  • #2
    Originally posted by kreatiV
    I have seen Bobbaz Sigs which displays infos about myself when I view his messages. Does anyone know what script is used to created such a personalized signature?

    To see what I mean check http://www.vbulletin.com/forum/showt...852#post523852
    Something like this probally :

    Header("Content-type: image/png");
    $img = ImageCreate(115,55);
    $ip = $_SERVER['REMOTE_ADDR'];
    $alt = "Alt";
    //ImageColorTransparent($img,$bgcolor);
    $bgColor = ImageColorAllocate($img, 0x2c,0x6D,0xAF); // blue
    $shadow = ImageColorAllocate($img, 84,84,84); // gray
    $textColor = ImageColorAllocate($img, 0,0,0); // black
    $white = ImageColorAllocate($img, 255,255,255); //left upper corner
    ImageRectangle($img,0,0,115-1,55-1,$shadow); //shadow effect
    ImageRectangle($img,0,0,115,55,$white);
    ImageTTFText($img,10,0,5,20,$shadow,"times.ttf","$ip\n\r$alt"); // text shadow effect
    ImageTTFText($img,10,0,4,19,$textColor,"times.ttf","$ip\n\r$alt"); // text color
    //ImageJpeg($img);
    ImagePng($img);
    ImageDestroy($img);
    I wrote ImpEx.

    Blog | Me

    Comment


    • #3
      jerry did you just reel that off without thinking about it. I would like to be able to do that, but as time goes by it gets harder to get the information to stay in my head long enough to use it..........

      Comment


      • #4
        Nope, I copied .... err used some code reuse from some where else

        Though it was wrong so I did change a few bits.
        I wrote ImpEx.

        Blog | Me

        Comment


        • #5
          how would i go about getting the operating system and browser used as well as the ip then?

          Comment


          • #6
            email them and ask them or :


            $HTTP_SERVER_VARS["HTTP_USER_AGENT"];

            I wrote ImpEx.

            Blog | Me

            Comment


            • #7
              Originally posted by Jerry
              email them and ask them or :


              $HTTP_SERVER_VARS["HTTP_USER_AGENT"];

              How long until we can safely use $_SERVER instead of $HTTP_SERVER_VARS? $_SERVER looks better

              Comment


              • #8
                Originally posted by N9ne
                How long until we can safely use $_SERVER instead of $HTTP_SERVER_VARS? $_SERVER looks better
                When you know that people use anything from php 4.1.0 and up
                My open eyes see everything, and you see nothing. . .
                That forum

                Comment


                • #9
                  I thought everyone was getting it from here

                  http://www.danasoft.com/

                  then again I could be wrong

                  Comment


                  • #10
                    Originally posted by tender
                    I thought everyone was getting it from here

                    http://www.danasoft.com/

                    then again I could be wrong


                    Ya thats where he got it

                    Comment


                    • #11
                      I had a go with this and the only thing I couldnt workout is the isp.. it appears that it doesnt work for some people. : /
                      Chamber of Secrets - The Ultimate Harry Potter Community!

                      Comment


                      • #12
                        If you really want some source I'll post it.
                        I wrote ImpEx.

                        Blog | Me

                        Comment


                        • #13
                          Originally posted by Jerry
                          If you really want some source I'll post it.
                          If you have the source code for this danasoft sig.. I'd be interested in looking at it.. I have never really had a chance to play with GD very much.. And I wouldn't mind seeing how that is being handled...

                          Comment


                          • #14
                            Originally posted by N9ne
                            How long until we can safely use $_SERVER instead of $HTTP_SERVER_VARS? $_SERVER looks better
                            Well $HTTP_X_VARS dont work in PHP5 you need $_X

                            Jerry doesn't have the source for the sig but the gd library lets you create images.

                            You could have one image which is the sprite with a blank sign and you can easily write fonts with GD.
                            Scott MacVicar

                            My Blog | Twitter

                            Comment


                            • #15
                              Originally posted by Scott MacVicar
                              Well $HTTP_X_VARS dont work in PHP5 you need $_X

                              Jerry doesn't have the source for the sig but the gd library lets you create images.

                              You could have one image which is the sprite with a blank sign and you can easily write fonts with GD.
                              Yea I know basicly how to do it... And the general syntax.. I just like looking at other's code to learn from.. With php there are so many ways to do things.. I'm always looking for a new way to do it

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X