PDA

View Full Version : Linking to armory at character roster


nailgun80
10-06-2008, 12:00 PM
Hey people, I was just figuring some stuff out yesterday and accidently got it to work.
Here's how you can link the characters in the character roster to the armory:

Open /includes/functions.character.php

Find:
$name = '<a href="index.php?option=com_roster&id='.$data['character_id'].'">


Replace with:
$name = '<a href="http://armory.wow-europe.com/character-sheet.xml?r=SERVERHERE&n='.$data['char_name'].'">

or if you live in the US

Replace with:
&name = '<a href="http://www.wowarmory.com/character-sheet.xml?r=SERVERHERE&n='.$data['char_name'].">

Replace "SERVERHERE" with the server you play on ofcourse!

Vamp
10-08-2008, 02:17 PM
Great idea!!!

i made it for be.imba.hu

$name = '<a target="_blank" href="http://be.imba.hu/?zone=EU&realm=YOURSERVER&character='.$data['char_name'].'">

nailgun80
10-08-2008, 04:24 PM
Thanks for filling me in :) Hadn't thought about Imba yet! :)

search66
10-09-2008, 05:28 AM
Great idea... I put mine to armory-light.com

Ewinz87
03-19-2009, 05:30 PM
or if you live in the US

Replace with:
&name = '<a href="http://www.wowarmory.com/character-sheet.xml?r=SERVERHERE&n='.$data['char_name'].">

Replace "SERVERHERE" with the server you play on ofcourse!

In case you just copy pasted and are wondering why it's not working, there is two typos in the US version typed above. Notice the & rather than $ and the missing ' after '.$data['char_name'].'".

Correct code is:

$name = '<a href="http://www.wowarmory.com/character-sheet.xml?r=SERVERHERE&n='.$data['char_name'].'">

orion808
03-19-2009, 09:29 PM
lol...nice catch. Seems I took mine from the EU version and edited for the proper US url.