Title: A simple join button
Last modified: January 27, 2019

---

# A simple join button

 *  Resolved [aaroa](https://wordpress.org/support/users/aaroa/)
 * (@aaroa)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/a-simple-join-button/)
 * Hey
 * I’m building a website for a small union and I use WooCommerce Memberships for
   the memberships. I’m looking for a way to manage this kind of events/bookable
   activity classes:
 * The memberships last from Jan 1st to Jun 30th and from July 1st to Dec 31st. 
   So 6 months at a time (25 €)or the whole year at once (40 €). When the user buys
   this membership they can attend any gym/hobby activity for free.
 * Every hobby activity will (preferable) have its own page and there’s little bit
   over 10 different hobbies. Hobbies are arranged about once a week. So far the
   union has worked so that after you you have booked/signed up for a hobby once
   you are automatically in all of the classes/events of that hobby until the end
   of that 6 months period.
 * So now I’m looking for a way to have a simple ’Join’ button on every hobby page.
   And by pressing that button the member joins that hobby group/class until the
   end of that 6 months period. Is there a way to do this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fa-simple-join-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Booking Activities Team](https://wordpress.org/support/users/bookingactivities/)
 * (@bookingactivities)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/a-simple-join-button/#post-11138692)
 * Hello,
 * If I understand correctly,
    – a customer buy a 6-month membership, – but he isn’t
   subscribed to all activities yet. – He needs to join the activity(ies) he wants
   to participate. – When he joins an activity, he joins it for all the events of
   the 6-month period
 * **First, to make the customers book all events of a 6-month period at once:**
   –
   Go to the calendar editor, – Create an activity and the events for this activity–
   Group the events of a this activity for a 6-month period and place this group
   in a category corresponding to this 6-month period – Group the events of a this
   activity for the other 6-month period and place this group in a category corresponding
   to this 6-month period – Group the events of this activity for the 12-month period
   and place this group in another category corresponding to this 12-month period
   Do the same for the other activities.
 * You will have these categories and groups:
    Category1: Jan 1st to Jun 30th – 
   Group1: Activity1 – Jan 1st to Jun 30th – Group2: Activity2 – Jan 1st to Jun 
   30th – … Category2: July 1st to Dec 31st – Group1: Activity1 – July 1st to Dec
   31st – Group2: Activity2 – July 1st to Dec 31st – … Category3: Jan 1st to Dec
   31st – Group1: Activity1 – Jan 1st to Dec 31st – Group2: Activity2 – Jan 1st 
   to Dec 31st – …
 * Finally, if you want each hobby to have its own calendar, create one booking 
   form per hobby and only display the desired activity on each of them.
    In the
   calendar settings, make sure to select the three groups categories and check 
   the “Groups only” option, so that your customers will only be able to book full
   groups of events, and not single events.
 * **Now, you need to allow only the customers who have bought a membership to book
   the activity for the corresponding period.**
    There is several ways to do that:**
   1. With [Prices and Credits](https://booking-activities.fr/en/downloads/prices-and-credits/)
   add-on (Fully automated) ([demo here](http://demo.booking-activities.fr/en/shop/book-with-credits/))**
   Thanks to this add-on you can sell “booking passes”, and you can restrict these
   booking passes to certain group categories. Then, you will be able to sell – 
   A pass for the Category1: Jan 1st to Jun 30th – A pass for the Category2: July
   1st to Dec 31st – A pass for the Category1, Category2 and Category3: Jan 1st 
   to Dec 31st The customers will need to redeem their passes to book an activity.
   Then, only the customer who have bought a pass for the corresponding period will
   be able to book the desired group of events.
 * **2. With user roles**
    You can sell normal products – One product for membership
   from Jan 1st to Jun 30th – One product for membership from July 1st to Dec 31st–
   One product for membership from Jan 1st to Dec 31st
 * And each time a customer buy one of these product, grant him a specific user 
   role, such as “Member from Jan 1st to Jun 30th”, etc…
    You can do it manually
   thanks to a plugin like User Role Editor, or automatically with custom code.
 * Then, you will be able to restrict group categories by user roles:
    – in the 
   calendar editor, – in the group categories settings, – in the “Permission” tab,–
   select the appropiate role(s) (for example, Category1: Jan 1st to Jun 30th, select
   the roles “Member from Jan 1st to Jun 30th” and “Member from Jan 1st to Dec 31th”)
   Only the user having one of the corresponding role will be able to book a group
   from that category.
 * Regards,
    Yoan Cutillas
 *  Thread Starter [aaroa](https://wordpress.org/support/users/aaroa/)
 * (@aaroa)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/a-simple-join-button/#post-11189555)
 * Hey,
 * I created the group and a form for an activity but it still doesn’t book me for
   all of the classes. It only books the one class I pick.
 * Also this mean that there is no way to not have the calendar view at all?
 * The restriction I will be doing by hiding the calendar/booking with short codes
   in WooCommerce Memberships.
 *  Plugin Author [Booking Activities Team](https://wordpress.org/support/users/bookingactivities/)
 * (@bookingactivities)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-simple-join-button/#post-11192912)
 * Hello,
 * Make sure you have selected your group categories in the Calendar settings:
    –
   Go to Booking Activities > Booking Forms – Select the desired booking form – 
   Go to the “Calendar” field settings – Go to the “Filters” tab – Click on the “
   +” icon next to the “Group category” selectbox – Select all the group categories
   with CTRL+Click – Turn ON the “Groups only” option – Validate the dialog
 * I don’t understand your second question, can you elaborate?
 * Regards,
    Yoan Cutillas
 *  Thread Starter [aaroa](https://wordpress.org/support/users/aaroa/)
 * (@aaroa)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-simple-join-button/#post-11196477)
 * OK thanks! Now the event group booking seems to work. However I noticed I can
   book the same event group multiple times with the same user. To which exact location
   in the settings should I put the booking limit so that one user can make the 
   same booking only once?
 * Also is there a way or a view where the user could check their current bookings?
 * About the simple booking button: Instead of booking events from a calendar I 
   was looking for a way to just make a Book Now button. The calendar is not very
   necessary since only one booking per 6 months is required.
 * Regards,
    Aaro Aarnio
 *  Plugin Author [Booking Activities Team](https://wordpress.org/support/users/bookingactivities/)
 * (@bookingactivities)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-simple-join-button/#post-11197049)
 * Hello Aaro,
 * You can restrict the number of places a customer can book:
    – Go to the Booking
   Activities > Calendar Editor – Go to the desired group categories settings – “
   Availability” tab – Set the “Max bookings per user” option to “1” – Validate 
   the dialog
 * Now the customers will be able to book only one place when he books a group of
   this category.
 * You can display the customer bookings with the shortcode [bookingactivities_list].
   The customer needs to be logged in to see it.
 * You must have a calendar in your booking form because it is actually a field.
   If the customer doesn’t click the desired event, Booking Activities won’t know
   what event he wants to book.
 * If you have very few events, you may find useful to display the calendar as a
   yearly list. Here is an example: [http://demo.booking-activities.fr/en/shop/calendar-display-types/](http://demo.booking-activities.fr/en/shop/calendar-display-types/)
 * Regards,
    Yoan Cutillas
 *  Thread Starter [aaroa](https://wordpress.org/support/users/aaroa/)
 * (@aaroa)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-simple-join-button/#post-11226619)
 * Ok thanks for the reply. Those tips worked.
 * Another thing I was thinking is that is it possible for me to translate more 
   of the words and phrases from English to the language of my website (Finnish)
   that the user sees on the website? Right now there’s lots of small parts and 
   words still in English. I have only modified the phrases and words that are modifiable
   in the plugin settings.
 * I have used Poedit for translating phrases and words from another plugin but 
   I don’t know how would it work with Booking Activities.
 * Best Regards,
    Aaro Aarnio
    -  This reply was modified 7 years, 1 month ago by [aaroa](https://wordpress.org/support/users/aaroa/).
 *  Plugin Author [yoancutillas](https://wordpress.org/support/users/yoancutillas/)
 * (@yoancutillas)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-simple-join-button/#post-11230622)
 * Hello Aaro,
 * Sure, you can officially translate it here:
    [https://translate.wordpress.org/projects/wp-plugins/booking-activities/stable/fi/default](https://translate.wordpress.org/projects/wp-plugins/booking-activities/stable/fi/default)
 * It would be great since everybody will be able to benefit from your translations!
 * However, if you want to translate only few strings, or for your personal use,
   you can use POEdit.
    – Open the .pot file in the plugin directory, in booking-
   activities/languages. – Translate it to Finnish. – Save your translations files
   in that folder, with those exact names: – wp-content/languages/plugins/booking-
   activities-fi.mo – wp-content/languages/plugins/booking-activities-fi.po
 * You will also be able to import your translations in the official site afterwards
   if you want.
 * Regards

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘A simple join button’ is closed to new replies.

 * ![](https://ps.w.org/booking-activities/assets/icon-256x256.png?rev=1709970)
 * [Booking Activities](https://wordpress.org/plugins/booking-activities/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-activities/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-activities/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-activities/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-activities/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-activities/reviews/)

## Tags

 * [translating](https://wordpress.org/support/topic-tag/translating/)

 * 7 replies
 * 3 participants
 * Last reply from: [yoancutillas](https://wordpress.org/support/users/yoancutillas/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/a-simple-join-button/#post-11230622)
 * Status: resolved