Home › Forums › Ticket Products › Event Tickets Plus › Event Ticket Plus, Woocommerce membership restriction
- This topic has 5 replies, 4 voices, and was last updated 9 years, 7 months ago by
Leila.
-
AuthorPosts
-
August 23, 2016 at 6:00 pm #1155151
Leila
ParticipantHi there,
I checked the forum but I can’t find an answer. The Event ticket plus is working fine with the woo commerce membership but hone using the member restriction the entire event is blocked, aka it doesn’t appear on the event list. I would love for the event details to be displayed but only restrict the RSVP part. Which file should I modify to be able to get there?Also the translation isn’t working for the RSVP fields. Everything is translated in the po fee but it’s not showing on the page. Cf screen shot.
ThanksAugust 24, 2016 at 4:45 pm #1155590Andras
KeymasterBonjour Leila et bienvenu au forum!
I’m sorry you are experiencing that issue. Let me try to help you with that.
I need some more information from you so that I can help.
Could you explain a bit more in detail what you mean when you say “but hone using the member restriction the entire event is blocked”? What are you doing here exactly? What settings are you changing? Screenshots can also be helpful.
In order to restrict the RSVP part you should take a look at this file:
wp-content\plugins\event-tickets\src\views\tickets\rsvp.phpAnd here are two guides to help you with customization:
https://theeventscalendar.com/knowledgebase/themers-guide/
https://theeventscalendar.com/knowledgebase/template-overview/For the translation, please give me some time to look into that.
Thanks and cheers,
AndrasAugust 24, 2016 at 6:16 pm #1155609Leila
ParticipantBonsoir Andras!
Thanks for your answer. The Woocommerce membership plugin enables me to add a restriction when creating an event (cf event.png) When adding a rule, the event page wasn’t accessible and I was getting the 400 euro page. The same event wasn’t visible on the event listing page. I was able to find a way around using a woocommerce membership function in the rsvp.php file 🙂But I still have 2 questions regarding the RSVP section. I have problem to have this section entirely in French (cf rsvp.png).
1/ “Full name”, “Don’t list me on the public attendee list” fields are translated in the fr.po file but it doesn’t work when page is displayed. How do I fix it? (cf pofile.png, pofile2.png)
2/ The field “Send RSVP confirmation to:” doesn’t exist in the po.file. Would you be able to add it? I know I could just write whatever I want to be displayed directly in the RSVP.php file but I would rather have it done the correct way.
Same for the RSVP option of the drop down list (Going/Not going). I can’t translate it and it doesn’t seems there is an option for the translation to be displayed in the php file if I’m not mistaken.
Thanks or your help!August 25, 2016 at 3:24 pm #1156087Andras
KeymasterSalut Leila,
Je suis trés heureux that you managed to find a solution for that. (Let’s not push my French too far. 🙂 )
As for the translations, congratulations, you have found a bug! 🙂 I have already filed an internal bug ticket for this, so it will be fixed in a coming version.
BUT you don’t have to wait that long, it is an easy fix. Based on your screenshot I take it you know your way around PoEdit.
- Look up the wp-content\plugins\event-tickets\lang\event-tickets.pot file and open it with PoEdit. It will highly likely pop up an error message that you can click away, then simply save the .pot file. (Don’t put any translations in here.)
- Then open your .po file and run an “Update for POT file…” (Should be in the Catalogue menu).
- Do your translations, save the file and done.
I reco that you save the translation files under wp-content/languages/plugins so that you keep your translations even after a plugin update. You can find more info on that in this article:
I hope this helps! Let me know how far you get.
Cheers,
AndrasSeptember 16, 2016 at 9:35 am #1165229Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Event Ticket Plus, Woocommerce membership restriction’ is closed to new replies.
