Character Names = Armory Links

Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that

Character Names = Armory Links

Postby TurnX » Mon Oct 22, 2007 11:16 pm

I found a great code mod on the forum that will put a link to a characters armory page before the character name on the roster:

http://www.wowroster.net/Forums/viewtop ... +link.html

I want to take this a step further, and instead of putting a link in front of the character name on the roster page, just go a head and have the character names link to the armory page instead of a user uploaded character profile. I would assume that wouldn't be too difficult, however my php knowledge is somewhat limited, so I am hoping one of the talented guys on the forum can help me out.
TurnX
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Sat Jul 08, 2006 7:55 am

Character Names = Armory Links

Postby zanix » Tue Oct 23, 2007 12:03 am

memberslist.php

function name_value

There is a part that detects if( $row['server'] )
Then it returns a name with a link or it just returns a name

You can change this to always return a link

(sorry I can't help more, I don't have the code available to me right now)
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Character Names = Armory Links

Postby TurnX » Tue Oct 23, 2007 12:43 am

That was actually exactly what I needed to know. Works perfectly now. I'll be sure to put the code over the the cache forum in case anyone else is interested in it.
TurnX
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Sat Jul 08, 2006 7:55 am


Return to General Code Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron