Cool dynamic sig (my own)
Check this out :D
I got my php signature code from the eq2 forums and molded it how I liked, slapped in a background image, and woot. My site picture links to my site, and my eq2 picture links to my alts. Whatta think? |
Well isn't that snazzy...
Count me as jealous. Quib |
The text is all white (for some reason it's not cooperating with me), but it's acctually making it transparent, so to see it better, switch to the light style on the forums
|
i want one!
If i remember correctly that site wasnt english.. so .. linky? oh and i suck at php so some instuctions would be nice it looks like dos... |
|
Quote:
Pffft, I didn't use a site generator, lol. Only used the code to pull the data from the site, the rest is my doing. :) If you wanted instructions, you would have to have a host that has PHP and GD support. Unless you got me to host it for you.... hehe. Basically the code pulls the data and assigns them to different data variables... $traits_a[x] where x is a number $guild_a[x] ...and... $attr_a[x] Then I just used what PHP knowledge I had of creating dynamic images, placed it where I wanted and voila. I asked, and attempting to pull data from the Achievements page, I could care less about showing my attributes, but I decided to fill some space ;) All I have to do is open the file, and change the playerId to change what shows up, but what is on there right now is my main, and click the pic links to my alts page. So all is well. |
Updated. I figured out how to get the data from the achievements page too. Woot woot. :cool:
*edit* Oh yeah, it didn't like my BG picture before I think cause it had layers, so I'll stick with simple bg, and replace logo with text. |
Would you mind posting a sample of your php code for that? Puhhleassse? :D
|
*edit edited and edited once again*
|
Uhmm, how to tell my server to read the .gif as .php ?
Cant figure it out with try and error. |
it works as a php file, just can't use it as a sig on all forums (ones that don't allow PHP extensions)
|
|
Quote:
|
Thanks, Drumstix! :)
Quote:
|
Actually what is happening is the PhP file on his server is dynamically creating the image file everytime it is called upon. What you see when you look at his posts are images created dynamically when you open his message in your browser. It is not really reading the Gif file as PhP but the PHP file is creating the gif file that is displayed.
|
I call on my version of the php file and nothing is happening... Yes, I have php support. (www.galdor.net)
|
Quote:
If you right click my sig you will notice it's a GIF file. How would PHP create the GIF if I'm not calling upon any PHP file? ;) It's doing what I said. |
Oh well. :(
Good work nonetheless, Drum. |
Quote:
Ok I see what you are saying on my signature which is generated in a similar way, it appears as Code:
http://eq2.onlinewelten.com/siggenv2/signature.php?Id=2484 instead of eq2sig.gif. |
Quote:
|
Quote:
|
Quote:
|
I have absolutely no idea how to make this work.
Can someone break down how to do it? |
The way I do it you'll need these requirements:
- bg image - host with PHP - GD library installed with PHP (not all hosts have it So if you don't have those, you won't be able to do it, at least this way. I'd rather not go through the process of doing it all. I tend to think it something precious, because I was able to get it to work on my own, and would rather leave it at being something of my own. Not something everyone else has :) |
Whoops I had $magic and $melee backwards where they were defined ;)
All better :rolleyes: |
All times are GMT -5. The time now is 07:16 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI