svn[1267] unable to turn off talent spec icon in memberlist

Posts from previous Beta sessions

svn[1267] unable to turn off talent spec icon in memberlist

Postby engleb » Fri Aug 24, 2007 9:27 am

When svn 1257 was released, I did a fresh install and then later applied the 1267 patches downloaded from roster diag. Following (I think) this thread about an error I was seeing, I uninstalled and reinstalled the memberlist addon. Since doing that, no matter what combination of selections I make, I am unable to turn off the icon for the talent spec in the class column of the memberlist. I uninstalled and reinstalled the memberlist addon again to make sure it didn't fix it.

In the SQL Queries, I see this, and when I change the settings, the value changes, but it doesn't change the display on the memberlist.

lib/config.lib.php
488 0.0021 UPDATE `roster_addon_config` SET `config_value` = '0' WHERE `config_name` = 'class_icon';
Last edited by engleb on Fri Aug 24, 2007 11:17 am, edited 1 time in total.
engleb
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Jul 11, 2006 3:22 am

svn[1267] unable to turn off talent spec icon in memberlist

Postby zanix » Fri Aug 24, 2007 11:17 am

You're right, it doesn't work

Open addons/memberslist/inc/memberslist.php
Find
Code: Select all
if( isset($row['talents']) && !empty( $row['talents']) )


Replace with
Code: Select all
if( $this->addon['config']['class_icon'] == 2 && isset($row['talents']) && !empty( $row['talents']) )


Fixed svn[1274]
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 Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron