![]() |
Would be polite even if not necessary.
|
Welp back to coding mines some more, got my GD library back up and I've seen that they've implemented playing time and last on in the achievements page ;)
|
Drum, I got the colors.
Quick thanks to Drum. I got the colors issue worked out by using PNG files like you said. Also, the .ataccess idea to make GIFs work as PhP gets my vote for: Kicks more ass than Jackie Chan. Good job.
Only issue now is that the code only pulls from the first page of the Player section: Stats, attributes, guild info and resists. I'm trying to figure out how to add accomplishments to the data being parsed. I checked out Oct's code and it apparently doesn't parse this info either. |
I have a question!
Ive got it up and running etc. My guild name is too long so I just edited the PHP and image files. However Id like to add some things to my sig (kills etc). I realize someone asked for this before but Im a bit unsure if its been answered. 1. Do I edit the config.php? 2 .Is this where I need to enable the database settings? 3. If so what name and PW do I use? Station name or my server name and PW? Then Im concerned that if I put that info in the config file that someone can grab it.. Thanks |
Ok to answer my own stupid question - I forgot I cant view the source of PHP if its set up correctly so just ignore my worries about someone sneaking my user/pw etc heh.
|
Nightlord: Cool. Yeah gotta do edits for the other stuff. For me I did a lot of editing to mold the code easier to add different things (at least for me).
Kale27: Kinda the same thing here, it was kind of a pain to parse in the attributes page and all the odds and ends. Plus, if you want to cache it you have to add the SQL lines or modify them (most of them with which order counts). It's kind of a painfully long process, but the result pays off. |
Ok im a bit lost.. (sorry for that). I still am unsure where the starting point is to add dynamic information to the sig.
Which PHP file am I to be editing? Do I set database to TRUE? |
Ok helps to have the right database name../bonk self
My DB is set up ready to rock. Just need to figure out how to add the additional stats. |
the code is broken? i see error in the signatures.
|
Just change it :D
That ;nsbps thingy on the bottom left is what you referring to? Its been doing that since the update to eq2players. |
hehe... and I thought it was just me. :)
|
I've installed PHP on my windows 2003 server and set up the EverQuest 2 Scripting Engine Generator (version 0.07) as outlined in the readme file, but it isnt working for me. :(
Here is the link for the sig image: My Sig When I load it I see the following errors: <br /> <b>Notice</b>: Undefined index: sn in <b>D:\WebSites\Paragon\eq2sig\image.php</b> on line <b>6</b><br /> <br /> <b>Notice</b>: Undefined index: m in <b>D:\WebSites\Paragon\eq2sig\image.php</b> on line <b>7</b><br /> <br /> <b>Notice</b>: Undefined variable: handle in <b>D:\WebSites\Paragon\eq2sig\includes\global.php</b> on line <b>40</b><br /> <br /> <b>Notice</b>: Undefined variable: handle in <b>D:\WebSites\Paragon\eq2sig\includes\global.php</b> on line <b>40</b><br /> <br /> <b>Notice</b>: Undefined variable: handle in <b>D:\WebSites\Paragon\eq2sig\includes\global.php</b> on line <b>40</b><br /> ‰PNG Any idea what I did wrong? Nevermind... Removed PHP and manualy installed and it works perfectly. PHP windows installer is evil :p Next question: Can I use MSSQL for the DB? |
No clue
Ok, Im a php newb. Quoting code and such doesnt work for me. I installed Octavius' files on my server, but i get this message:
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /"removed my servername for privacy"/eq2sig/includes/global.php on line 8 8:Access denied for user: ' removed servername for privacy '(Using password: YES) (note, i removed my servername on these boards, but it is correct in my address) I wish there was a "How to install your sig generator, For Dummys" post. Anyone able to help? Den |
what is the   thing? |
i havent look at the code, but is a no breaking space (in html if there is more than 1 space they are ignored and treated as just one, so if you want to have more than one space between letters you have to use )
|
How do i get rid of it? I know nothing of html
Code:
<?php |
Alright I think I figured it out. I am not a hardcore programmer but I like to play around. So instead of that error we got I replaced it with Player status. Here is what I got for you:
Go into the Dir: /themes/default open the file themes.php in notepad change the following lines in NORMAL SIGNATURE MODE from Code:
imagestring($image_out, 2, 15, 56, $player['rank'], $color);Code:
imagestring($image_out, 2, 15, 56, "Player Status: ".$player['status'], $color);You can also change this for the other file in the panel folder if you want to use the other backround. view below to see my Sig |
Quote:
If I follow what you say to the T, when I link to the "fake" image, I end up with it just showing my player id, what am I missing if you do not mind sharing. Thanks. |
in the image.php change:
Code:
$pid = get_var($HTTP_GET_VARS['cid'], "pid");Code:
$pid = "000000000";this way you won't have to have any extra stuff on the URL of your signature, allowing it to function on all sites that allow images. |
got it thanks a lot! :)
|
One last question. I been searching everywhere but can't find the answer. I have this code in my theme.php:
Code:
imagestring($image_out, 2, 135, 4, "Player Status: ".$player['status'], $color);:nana: |
The code w/ database caching your using is not setup to parse the Achievments page. However, mine is. Mine is also much more "readable" in coding standards of my own at least. There's no theme files, or anything like that. 2 files, config, and image. Difference in mine is that I use a different php command to do the text, so I don't get that crappy default GD font.
So... if you wanted Quests Completed, you would have to add code parse the achievements page, and then add the SQL to cache it if wanted. Or maybe I'll just post the code later :rolleyes: |
Quote:
All I need is the quest completed equivalent of "$player['status']". I figured I would have to add the proper tables etc but without knowing this key piece of info it makes it a little hard. While I can do a lot with PHP I have never really done HTML parsing before. So while the answer may be obvious to you it is not to everyone. ;) Anyways, if yours supports the same thing as his and has the generation capabilities and themes etc then I would not complain about receiving an IM with it attached :D Thanks for your time. |
Well I am working on a remake of this mod by octavius. As Drum said it is some very messy code. I will be commenting it all, at least the parts I understand enough too lol. I am also changing where he has Rank to Quests completed. I would also like to add lastkilled, lastkilledby and where.
That will not be until a later version. I so far have it using TTF instead of the crap default stuff. So if your server doesn't have support for TTF in your GD install you are going to be out of luck. Now I will be IM'ing Octavius soon to make sure he is ok with me releasing my remake of his system. So as long as he doesn't deny it I will try to get something put together in a week or two. In my plan is to also add a UI for users to navigate to to generate the link. It is easy enough to do but again it will not be for a week or two at the soonest. Have too much going on and not enough time to do it lol. If anyone can offer up the parse information for the last killed stuff I would appreciate it. I know some people don't like to share and if not that is fine I am sure it can be found if I keep trying lol. Thanks! P.S. If released I will start my own thread so to have a fresh start :) Examples: ![]() ![]() ![]() |
Yeah, my code is based off his.
Mine isn't set up in theme-friendly-format. But... all the things you need to edit are in one place so, it doesn't matter. As for the parsing of pages. I have a format that makes it, if I might say, hella easy to figure out what number matches which stat, ect. Indeed this thread is quite long for someone looking at it the first time, so anything new, I would say it's best to start a new thread. Plus, this topic was just started as me showing my sig, and not really "how" to make one... but like I said, I may as well give it out... but I'm not including the text lines to my whole sig because I know someone will just change the player id, and have some identical sig... which makes it very boring :) |
| All times are GMT -5. The time now is 11:22 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI