EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Chit-Chat

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:52 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI