Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : WoW > Hide the WoW Auto Roster Notes or DKP column
Mottie (SuperAdmin) 5/20/2010 2:00 PM EST : Hide the WoW Auto Roster Notes or DKP column
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hide the WoW Auto Roster Notes or DKP Column

GuildPortal admin site link to the original post

The WoW auto roster automatically grabs the guild notes along with the roster.

You could add the following script into your custom scripting area (Control Panel > Custom HTML & Script > Custom Javascript/JQuery > Document Ready Event tab). It will completely remove the notes from the page, but not if you use "view source"
// Remove WoW Auto Roster Notes
$('#tblAutoRoster tr').each(function(){
 $(this).find('td,th').eq(5).remove();
})
After adding the above code, check the "Enabled?" box and click [ Save ]

If the above code won't work out because you can still see the notes in the view source, then the easiest thing to do would be to put all the notes in as officer notes instead of guild notes. Or I could modify the addon to not add the notes at all (but I may not be able to always modify the addon).

To hide the DKP column, change the ".eq(5)" to ".eq(6)"
// Remove WoW Auto Roster DKP
$('#tblAutoRoster tr').each(function(){
 $(this).find('td,th').eq(6).remove();
})
Or both
// Remove WoW Auto Roster Notes & DKP
$('#tblAutoRoster tr').each(function(){
 $(this).find('td:gt(4),th:gt(4)').remove();
})
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

 
 
Key 
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!
%title%
%message%