View Single Post
  #36  
Unread 01-27-2005, 09:07 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Quote:
Originally Posted by taco-man
hey drumsitx, Thankyou for sending me the code. Since you were nice enough to share that with me, i can share something with you that you will probably find usefull for the script
Currently the Guild and Server names are limited to being only 1 word long so what i did was fix that, i did it perhaps not the best way, but it works, all my php coding that i learned is self taught so please forgive me if there is a better way to do this; at least it works.

To have an unlimited number of words for guild and server name just above this line:
Code:
// start creating image
insert:
Code:
$Guild=Stats( $pplayer, "<td width=\"50%\"><span class=\"field_name_small\">Guild</span></td>"
					,"</a></td>", TRUE);
$Guild=(strip_tags($Guild));
$Guild = ereg_replace("[ \t\r\n]+", " ", $Guild);
$Server=Stats( $pplayer, "<td><span class=\"field_name_small\">Server</span></td>"
					,"</a></td>", TRUE);
$Server=(strip_tags($Server));
$Server = ereg_replace("[ \t\r\n]+", " ", $Server);
it should work, it works for me anyway at least. Thanks again and i hope this is helpfull(it should be since your guild is named Rise of the Phoenix)

Yes yes, I hadn't gotten into my old EQ1 guild in EQ2 yet until today I know I would have to fix it. If I find a better way I will share. I also have to work with a few other parts and I'll make sure to post here as I figure it all out
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote