Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!
by KaguraS » Tue May 27, 2008 8:25 pm
In the member list I dont want to show Professions of level < 75 , what should I do to fix it?
Last edited by
KaguraS on Tue May 27, 2008 8:52 pm, edited 1 time in total.
-

KaguraS
- WR.net Apprentice

-
- Posts: 40
- Joined: Wed Feb 20, 2008 8:44 am
by PleegWat » Tue May 27, 2008 10:02 pm
open 'memberslist.php', and find:
- Code: Select all
$SQL_prof = $wowdb->query( "SELECT * FROM `".ROSTER_SKILLSTABLE."` WHERE `member_id` = '".$row['member_id']."' AND (`skill_type` = '".$wordings[$lang]['professions']."' OR `skill_type` = '".$wordings[$lang]['secondary']."') ORDER BY `skill_order` ASC" );
Replace with:
- Code: Select all
$SQL_prof = $wowdb->query( "SELECT * FROM `".ROSTER_SKILLSTABLE."` WHERE `member_id` = '".$row['member_id']."' AND (`skill_type` = '".$wordings[$lang]['professions']."' OR `skill_type` = '".$wordings[$lang]['secondary']."') AND `skill_level` > 75 ORDER BY `skill_order` ASC" );
I <3 /bin/bash
-

PleegWat
- WoWRoster.net Dev Team

-
- Posts: 1636
- Joined: Tue Jul 04, 2006 1:43 pm
by KaguraS » Wed May 28, 2008 6:39 am
hum ty, but i was asking for the roster 1.99, i forget to mention it
-

KaguraS
- WR.net Apprentice

-
- Posts: 40
- Joined: Wed Feb 20, 2008 8:44 am
Return to General Support & Feedback
Who is online
Users browsing this forum: No registered users and 1 guest