View Single Post
  #34  
Unread 01-27-2005, 06:05 PM
taco-man's Avatar
taco-man taco-man is offline
EQ2MAP Updater Author
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
Default

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)
Reply With Quote