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 > Suggestion? Signup count
pinstripesc (New Admin) 4/1/2011 12:46 AM EST : Suggestion? Signup count
pinstripesc
Posts: 4895
Zomgawsh Poster

I don't know if this is the right place for it, and forgive me if it already exists - but a nice feature on the calendar would be just a total # of people signed up for an event. For instance, in AoC raids consist of 24 people - it'd be fancy if GP could just throw a total up at the top so organizers didn't have to "finger count" all the names.
TopBottom

Mottie (MVP) 4/1/2011 1:15 PM EST : RE: Suggestion? Signup count
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Pinstripesc!

Add this code to a free form text/HTML widget on the same page as your calendar:
<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('.NormGridRow,.AltGridRow').length + '</span>');
 }
});
</script>
Change the text in blue to customize the total text... also it's set to float right and you can modify that as well.

If you want to put the total somewhere else in the table, just tell me where and I'll modify the code.

This is what it looks like now (Total # in the upper right corner):


TopBottom

pinstripesc (New Admin) 4/1/2011 3:41 PM EST : RE: Suggestion? Signup count
pinstripesc
Posts: 4895
Zomgawsh Poster

....W...where do you just pull these things out of!?

Thanks!
TopBottom

Valdaglerion (Guild Admin) 4/2/2011 5:15 PM EST : RE: Suggestion? Signup count
Valdaglerion
Posts: 2473
Zomgawsh Poster

Thanks Mottie.  Does it add the total signups or just those available?
TopBottom

Mottie (MVP) 4/2/2011 6:33 PM EST : RE: Suggestion? Signup count
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Val!

Just total for now.
TopBottom

Lodid (New Admin) 12/2/2011 6:01 PM EST : RE: Suggestion? Signup count

Lodid
Posts: 103
Posts With Wolves

Hello Mottie,

Would there be a way for this just to tally the people who are "Available" and/or "Confirmed"?
TopBottom

Mottie (MVP) 12/3/2011 3:43 PM EST : RE: Suggestion? Signup count
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Lodid!

I ended up creating a mod called "Event Signup Totals" that adds a tooltip with a lot more information in it:



Since it's a weekend, please be patient and hopefully it'll get approved for distribution on Monday.
TopBottom

Lodid (New Admin) 12/3/2011 5:29 PM EST : RE: Suggestion? Signup count

Lodid
Posts: 103
Posts With Wolves

Wow!!! *drool*. I can't wait to see it in action!

Thanks Mottie! Keep up the good work!
TopBottom

Lodid (New Admin) 12/7/2011 3:16 AM EST : RE: Suggestion? Signup count

Lodid
Posts: 103
Posts With Wolves

Hi Mottie,

Any update on the new "Event Sign up Totals"?
TopBottom

Mottie (MVP) 12/7/2011 10:01 AM EST : RE: Suggestion? Signup count
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

It's been approved for a few days... look for "Event Signup Totals"
TopBottom

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