Export Talent Build link

A detailed character information viewer
Includes character stats, item bonuses, talents, spell book, mail, inventory, quests, and recipes.

Export Talent Build link

Postby nightfighter » Thu Sep 17, 2009 12:21 am

the Export Talent Build link on the Talents page, links to a place that ends up loosing the talent settings. If I click on it, it sends:

http://www.worldofwarcraft.com/info/cla ... 2152211340

which sends you to:

http://www.wowarmory.com/talent-calc.xml?c=Mage

when what it should be sending is:

http://www.wowarmory.com/talent-calc.xm ... 2152211340

or:

http://www.wowarmory.com/talent-calc.xm ... 2152211340
User avatar
nightfighter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 169
Joined: Wed Jul 05, 2006 11:25 pm
Location: Boise, Idaho, USA

Re: Export Talent Build link

Postby zanix » Thu Sep 17, 2009 2:36 am

This is fixed in the svn, but if you want to fix it yourself

Open addons/info/locale/enUS.php
Find (deDE, frFR, esES will be different)
Code: Select all
$lang['export_url']='http://www.worldofwarcraft.com/info/classes/'

Change to
Code: Select all
$lang['export_url']='http://www.wowarmory.com/talent-calc.xml?cid=' 



Open addons/info/inc/char.lib.php
Find
Code: Select all
$roster->tpl->assign_var('U_TALENT_EXPORT', $roster->locale->act['export_url'] . strtolower($this->data['classEn']) . '/talents.html?' . $this->talent_build_url); 

Change to
Code: Select all
$roster->tpl->assign_var('U_TALENT_EXPORT', $roster->locale->act['export_url'] . strtolower($this->data['classid']) . '&tal=' . $this->talent_build_url); 
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


Return to CharacterInfo

Who is online

Users browsing this forum: No registered users and 0 guests

cron