User's Events (User's Registrants?)

More
8 years 8 months ago #101543 by Alan
I'm trying to modify the registrants php file (as used in module "User's Events") so that it only shows registrants in events owned by the currently logged in user, if that makes sense. So, "User's Registrants" I suppose. I don't understand how the User's Events list is filtered so I can't figure out how to similarly filter the registrant list ... I realise you can use the dropdown to show one event only but I don't want event owners to see registrants for events which they are not running. How can I filter this?

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #101555 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic User's Events (User's Registrants?)
Hi Alan

If I understand your requirement correctly, you can just go to Events Booking -> Configuration, set Only show registrants of events owner config option to Yes and it should work as expected. No need for code modification

Tuan

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #101564 by Alan
Replied by Alan on topic User's Events (User's Registrants?)
Thank you Tuan, I completeley missed that option. It of course works perfectly. I need some time off :o)

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #101569 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic User's Events (User's Registrants?)
Great. There are too many config options in the extension, so it is not easy to understand all. Please continue setting up and use the extension, if you need assist, please don't hesitate to ask

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc