Prohibit Front-End modifications after date

  • Vincent Schuurhuis
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 5 months ago #72451 by Vincent Schuurhuis
Prohibit Front-End modifications after date was created by Vincent Schuurhuis
Hi Tuan,
Is there an option to prohibit the possibilty to edit some/all fields of the userregistration on the front-end.
The case is:
When a participant made a registration a Joomla user is also created, when the participant want's to edit/modify some of his data he/she can logon (History feature of com_eventbooking).
One week in advance of the event, processing of the registrant data will begin, several suppliers must personalise startnumbers, etc.
From that moment we would like to prohit the possibilty for users to edit their personal data. For the eventmanagers these modifications must still be possible trough the backend.

My thought was to extend the "fields" table with an additional field "user_readonly" and the "event" table with a field "user_readonly"
When the event manager has exported the registrationdata , the event field "user_readonly" will be set 1 (True).
For all the fields where "user_readonly" has been set, the inputfield must be set readonly when the event itself has been set "user_readonly"

Is there already some kind of functionality or is scheduled to be available somewhere in march 2016, please let me know. Otherwise I will start with custom modifications. The disadvantage would be that i have to reapply these modifications every every update.
If you think this feature could be an enhancement of Event Booking, but you don't have the resources the develop this I could send you the modifications so you can integrate them.

Is ./components/com_eventbooking/view/registrant/tmpl/default.php the proper file where this modification must be made, or are there additional files which are used for background processing?

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

More
9 years 5 months ago #72465 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prohibit Front-End modifications after date
Hi Vincent

Please see my response for your question on your other forum topic (on Pre-sales questions forum)

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc