Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Feature Discussion > Mottie's Signup Count Bugged
Ciarrah Zarrak (Guild Admin) 6/29/2011 10:37 AM EST : Mottie's Signup Count Bugged
Ciarrah Zarrak
Posts: 422
Fingers of Fury!

Hello again!

Well, it seems some of the bugs are being sorted out now and I wonder if something went wrong when the ability to confirm individuals on the raid roster was fixed.

Now, the signup count is messed up. It adds two to whatever the count is. I know the code had to be changed and I did change it. Any fix for this?
TopBottom

Shatarg (New Admin) 6/29/2011 3:43 PM EST : RE: Mottie's Signup Count Bugged

Shatarg
Posts: 108
Posts With Wolves

Having the same problem

www.viking-alliance.com
TopBottom

Mottie (MVP) 6/29/2011 4:35 PM EST : RE: Mottie's Signup Count Bugged
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hiya!

It's adding two more if you switched the '.NormGridRow, .AltGridRow' to 'tr'... all you need to do is subtract two from the total, like this (this was just discussed on my Help Site too):
<script type="text/javascript">
$(document).ready(function(){
 var t = $('table[class*=signupsTable]');
 if (t.length){
  t.find('tr:first td').append('<span style="float:right">Total: ' + (t.find('tr').length - 2) + '</span>');
 }
});
</script>
or if you want the total only for confirmed members:
<script type="text/javascript">
$(document).ready(function(){
 var t = $('table[class*=signupsTable]');
 if (t.length){
  t.find('tr:first td').append('<span style="float:right">Total: ' + t.find('td:contains(Confirmed)').length + '</span>');
 }
});
</script>
TopBottom

Ciarrah Zarrak (Guild Admin) 6/29/2011 11:00 PM EST : RE: Mottie's Signup Count Bugged
Ciarrah Zarrak
Posts: 422
Fingers of Fury!

Yes, that's right, I had to put in the new code you told me to use. It did correct the problem of it not functioning at all. So, you want me to replace all the code in its entirety with what you have here, right?

EDIT: nm, replaced the code and now it's working properly again. Thanks Mottie!
TopBottom

Shatarg (New Admin) 6/30/2011 11:23 AM EST : RE: Mottie's Signup Count Bugged

Shatarg
Posts: 108
Posts With Wolves

Thanks mottie
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%