Participant Thermometers

Options
Hello BB Community-


Does anyone have any examples or experience in creating a thermometer on a teamraiser team page that tracks # of participants instead of $ raised?   We have some large corporate partners, who due to internal policy, prefer to focus on involvement in our event instead of fundraising.     


Thanks in advance for any advice anyone has to offer!


 
Tagged:

Comments

  • Joe Prosperi:

    Hello BB Community-


    Does anyone have any examples or experience in creating a thermometer on a teamraiser team page that tracks # of participants instead of $ raised?   We have some large corporate partners, who due to internal policy, prefer to focus on involvement in our event instead of fundraising.     


    Thanks in advance for any advice anyone has to offer!


     

    You can get that value with the S42 s-tag.
    • num-participants - The number of participants registered for the TeamRaiser.

    • num-teams - The number of teams created for the TeamRaiser.

    After that, if you really want a thermometer check out the old That Big, Red, Thermometer thread.


    https://community.blackbaud.com/forums/viewtopic/1/3747?post_id=22577


    Some of the S-Tag code was damaged in the two community platform changes (Grr) but hopefully there's enough there to get you started.

     

  • Joe Prosperi:

    Hello BB Community-


    Does anyone have any examples or experience in creating a thermometer on a teamraiser team page that tracks # of participants instead of $ raised?   We have some large corporate partners, who due to internal policy, prefer to focus on involvement in our event instead of fundraising.     


    Thanks in advance for any advice anyone has to offer!


     

    By using S42 tag, you can get the total the number of participants registered for the TeamRaiser.


    S42 tag will let you display a counter for current registered paricipant. If you need to show a thermometer, there should be a target for number registered participants you are looking for in order to be able to display a percentage for actual over planned.


    If you need a simple progress bar that doesn't require any Javascript, take a look at this CSS3 examples.

  • Joe Prosperi:

    Hello BB Community-


    Does anyone have any examples or experience in creating a thermometer on a teamraiser team page that tracks # of participants instead of $ raised?   We have some large corporate partners, who due to internal policy, prefer to focus on involvement in our event instead of fundraising.     


    Thanks in advance for any advice anyone has to offer!


     

    Assuming each team has set a goal for number of team members, the following S tag will generate their percent achieved toward that goal:

     

    [[E130:[[E130:[[E43:[[S334:fr_id]]:num-members:[[S334:team_id]]]] [[E43:[[S334:fr_id]]:goal-members:[[S334:team_id]]]] /]] 100 *]]

     

    Turning that percentage into a functioning thermometer is a JS or CSS task, but the tag above will provide the necessary data.


  • Thank you for the response (s!  To take it a step further, would this work on a a COMPANY page? I will need to check if we have COMPANY goals to compare the s tag against.  


  • For local company / company, you have to grab the goal and amount raised via Javascript from the original stat box widget that gets generated through the S346 tag, thus have a hidden DIV with id for your js to look up and perform DOM manipulation. Within that hidden DIV, put this

    [[E346:[[S334:company_id]]]]


    That basically going to display the default LO company stat box (dynamically looking at company ID URL parameter to display which company the page is showing at that moment) with amount raised, goal etc and then have your js pick and plug the value into your custom thermometer.


    Here's our actual implementation on it on a local company of an event:

    http://stepout.diabetes.org/site/TR?company_id=24549&pg=company&fr_id=11556


    regards,

    Daniel


     

    Joe Prosperi:

    Thank you for the response (s!  To take it a step further, would this work on a a COMPANY page? I will need to check if we have COMPANY goals to compare the s tag against.  

     

  • Boom!  Thank you Daniel Hartanto!  Exactly what I needed.  


     
  • Anytime Joe  -- but I need to correct myself from recollecting incorrectly (been earlier of the year when that was done)  -- thus owing you and rest of folks here to share the right steps


    That S346 only returns the Amount Raised but not the goal, thus I ended up using the Teamraiser API getCompaniesByInfo --   http://open.convio.com/api/?teamraiser_api.getCompaniesByInfo_method#teamraiser_api.getCompaniesByInfo_method.html to actually achieve the Company Thermo as the API would return both goal and amount raised.


    regards,

    Daniel

     

    Joe Prosperi:

    Boom!  Thank you Daniel Hartanto!  Exactly what I needed.  


     

     

Categories