Viewing 8 replies - 1 through 8 (of 8 total)
  • This sounds fairly in-depth ?? Could you give a step-by-step list to what you need to do. We should then be able to give you some general advice on how to achieve what you need.

    Thread Starter Chetan

    (@cvsakpal)

    that sounds fair… I’ll try to break it down into smaller pieces and reply in like 12-15 hours
    thanks

    That’ll be helpful, thanks.

    Thread Starter Chetan

    (@cvsakpal)

    1) add a field to events called “total_hours” which stores the number of volunteering hours for an event (initialized to 0)

    2) form on event page for users who are registered for an event to submit request to log their hours. similar to a booking request made for an event.

    3) event owner approves/rejects

    4) updating total_hours field

    sorry for the delay in replying…

    Plugin Support angelo_nwl

    (@angelo_nwl)

    hmm, just to confirm you’ve wanted to do the following

    1. users attends the events
    2. after attending, they should submit the time they spent on the event to the event they attended for logging.

    Is this correct?

    Thread Starter Chetan

    (@cvsakpal)

    yes that is correct

    1) This can be done by using the custom attribute / fields feature:
    https://wp-events-plugin.com/documentation/event-attributes/

    2) I’m not sure there’s anything used by Events Manager that you could reuse for this feature, meaning you’d need to custom code something.

    Because both 3) and 4) are tied-in with 2) I think would be part of the same custom coding.

    One possible way to do this might be to let users have access to events created by admins and allow them to update the custom fields to keep track of the hours.

    Thread Starter Chetan

    (@cvsakpal)

    Thank you for replying… I did that custom coding as u suggested… Got the basic thing working…
    I have added a new column called booking_hours to the bookings table…
    On each events view I show a submit hours text box if the user is registered for the event and the event has started…
    I followed the existing update_status functionality and copied the flow… And with a few minor tweaks… Voila… Number of hours submitted and updated…
    I was also able to display the same hours field in the bookings tab under events
    So I’ve got what I wanted… now I just have to fine tune it…
    Thank You ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Attendee Submitting Hours of the event he attended’ is closed to new replies.