GuildPortal will be going offline (permanently) by the end of the month.
Sign Up! Login: Password: New User? Forgot? Support
Forums : WoW > Hide/Show Guild Roster Ranks
Mottie (SuperAdmin) 1/5/2011 11:47 AM EST : Hide/Show Guild Roster Ranks
Posts: 3884



Guild Roster - Hide/Show Ranks

GuildPortal admin site link to the original post

I made this script because some guild rosters are huge and unwieldly. Basically it adds some check boxes above your roster table. You can then check (shows rank) or uncheck (hides rank) to show/hide the row with that particular rank. I've made the script relatively general, so it should work if you want to use this script to do the same to the class.

The actual rank names are extracted from the table itself, so there is no need to define them.


Add the code below to a Free Form Text/HTML Widget on your Guild Roster page.
<script type="text/javascript" src=""></script>
<script type="text/javascript">
 $('.gpWidget-gpwowautoroster table.ContentTable').hideRosterRanks();

  • Roster Table: The code in blue targets the specific roster table, so don't change it at all.

  • Rank Text: The check boxes are added to a row that starts out with "Rank to Show:". You can change this text using the "rankToShowText" variable. I'll include several examples so you know how to do this. Make sure you add a comma between each variable set (added in bold green below):

    <script type="text/javascript" src=""></script>
    <script type="text/javascript">
     $('.gpWidget-gpwowautoroster table.ContentTable').hideRosterRanks({
    rankToShowText : "Some new Text"
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems

New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
Who's Online 
There are   members online.
So-and-so has logged on!