@design_tlc designtlc.com
https://youtu.be/AdbjM0nZClw
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
Ability to run multiple challenges at once
Brand for corporate groups
@design_tlc designtlc.com
+
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
CUSTOM TWC PLUGIN
@design_tlc designtlc.com
@design_tlc designtlc.com
MemberPress
Configuration
@design_tlc designtlc.com
Hide This Plugin
@design_tlc designtlc.com
BuddyPress Group
Configuration
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
@design_tlc designtlc.com
POINTS EDITOR
@design_tlc designtlc.com
DRIP
@design_tlc designtlc.com
Future of TWC
Marketing
Mobile App?
QUESTIONS?
@design_tlc designtlc.com
TOTAL WELLNESS
Custom WordPress Multisite with
BuddyPress & MemberPress
CASE STUDY
CHALLENGE
Slides: http://bit.ly/2mkKXEf
Twitter: @design_tlc
Website: http://designtlc.com
Tara Claeys Tom Ransom
Slides: http://bit.ly/2mkKXEf
Twitter: @design_tlc
Website: http://designtlc.com
Code: https://gitlab.com/TWCfit
TARA CLAEYS
Design TLC
TOM RANSOM
One Big Idea
www.1bigidea.comdesigntlc.com https://youtu.be/AdbjM0nZClw

BuddyPress Case Study: Total Wellness Challenge

Editor's Notes

  • #2 A fitness and aerobic craze gripped the country in the 1980’s. With the VCR becoming more common in households, a friend of Jane Fonda, who had a best selling workout book, convinced her to create a video recording to allow women to exercise at home. Thus, in 1982, Jane Fonda’s first workout video cassette was released. In 10 years, Fonda released 16 videos. Today 1 out of 5 Americans pay for a gym membership.
  • #3 How did it start - around 2001 Ginny Wright started an outdoor boot camp business. Over the past 15+ years, she has hired 4 instructors, and expanded her business to include a wellness challenge - the Total Wellness Challenge.
  • #8 New site - Multisite, MemberPress and BuddyPress How many of you are front end devs? Back end? Designers? Other?
  • #10 What is the TWC
  • #15 MemberPress-PayPal Callback is hard coded … Since multisite with same PayPal IPN we had to change the MemberPress code to tell PayPal which IPN to use (same for all) to talk to MemberPress (twc-fit-challenges-member-management.php) … Had used PaidMembership Pro
  • #16 -buddypress.php -- sets up BuddyPress (message for logged out users, custom date picker) -challenges-bp-points.php -- Extends BP Group functionality: add_points => adds to Database -admin-menu-points -- UI -admin-points -- Doing work -admin-menus -- puts nav in Dasboard Main twcfit-challenges.php -- timezones - offset GMT, returns city timezone (php only reds city) Also: Separate twc-utility plugin -- hides some BP stuff we don’t need, redirects to BP signup
  • #17  MemberPress not set up for easy use with Multisite When payment complete, we tell BP to add user to BP Group Watch for transaction to change status - when MP complete, add user to BP Each Challenge is a BP Group
  • #18 Not always intuitive and no default.
  • #19 Also used HIDE THIS plugin because MP does not have easy way to customize messages .. we want a log in for unauthorized content, but for a member/user who may already be logged in from a previous challenge but hasn’t joined current Challenge, the message would still say “Log In or Join” .. we hide the Log In part because they are already logged in… MP does not determine this.
  • #21 Customized css and some BP theme files to add custom button, edit BP navigation, edit styles Also use BuddyPress Custom Profile Menu, Custom User Profile Photo activity > post-form.php customized “What is your reflection for the xx Challenge today, name?” groups > single > group-header.php -- Adds RESOURCES button to header
  • #22 Log points … limits set to allow only one entry per user per day (used Pippin code for this) also limited submission to same day after 8pm until next day until 5pm. Each category also has limit on max points per day. We added functionality to allow a “Free Nutrition Day” where user gets one day off, but can still score 12 nutrition points. Also after 5 consecutive 12 nutrition point days, user automatically gets an extra nutrition point on the 6th day. db-table.php
  • #23 -challenges-bp-points.php -- Extends BP Group functionality: add_points => adds to Database
  • #27 CPTs - Recipes, Workouts Wellness is a status symbol. In 2016, analysts reported that the global wellness economy reached $3.7 trillion and growth is expected to accelerate by 17% in the next five years.