Pre-filled fields

Home Forums Calendar Products Community Events Pre-filled fields

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #787282
    calumjamesgreen
    Participant

    Hi this is just a follow on to the pre-filled fields section.

    I have one specific question with regards to this, I am looking at when a new user creates an event then the organiser is autopulled through with their details. Is there a simple way that I could do this?

    #791334
    Brian
    Member

    Hi

    I can answer your question. I am not sure exactly what you are asking so I am providing information that I think may answer it in one form.

    when a new user creates an event then the organiser is autopulled through with their details. Is there a simple way that I could do this?

    Are you saying that when a user adds a new organizer that you would like to create an organizer custom post type with that information? That is already the default behavior.

    Fill in User Info
    Or are you saying you would like to pull in information from the user to fill in as the organizer? I am afraid that is not possible with our current features, but you could customize the template and have it fill in those fields yourself. We can provide some tips on that customization, but for the most part it is beyond the support we can give on the forum. If you think that is something you would like as a feature I encourage you to visit our User Voice Page and either upvote an existing request or make a new request there.

    http://tribe.uservoice.com/

    Defaults
    We also have a default option for the Community Calendar Events on the Community Tab of the Events Settings:

    “Default organizer for submitted events”

    That is the same for all the Community Events Submitted.

    Let me know if that answered your question or you would like some more help.

    Thanks

    #791443
    calumjamesgreen
    Participant

    Hi Brian,

    Thanks for getting back to me, sorry if I was unclear.

    What I meant was where the organiser section is I’m looking at getting rid of it all together but then having the organiser’s details just being auto populated with the wp_users details with the Name, Email address etc.
    Wouldn’t happen to know a quick fix for this would you?

    Thanks
    Calum

    #791527
    Brian
    Member

    I would say the easiest solution is to run a WordPress function to get the current user to get the information you would like to include in the organizer field and echo that information directly in the fields and then use css to hide the Organizer section.

    That way you do not have to recreate the whole process.

    You can move the organizer section to your theme for following the themer’s guide and modify it there.

    https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/

    #796598
    calumjamesgreen
    Participant

    Thanks Brian Will have a Look into it now ๐Ÿ™‚ Thanks ๐Ÿ™‚

    #796640
    calumjamesgreen
    Participant

    Sounds like a fairly simple fix looking at it, any chance you could point me to the correct file in the plugin I need to fiddle with? ๐Ÿ™‚

    #796972
    Brian
    Member

    Sure, I wouldย start by looking at this file and moving it into your theme:

    \the-events-calendar-community-events\views\community\modules\organizer.php

    Once in your theme you can edit the fields as you like.

    #833318
    Brian
    Member

    Since there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! ๐Ÿ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Pre-filled fields’ is closed to new replies.