• Resolved saz25

    (@saz25)


    Hi,
    I am using the free vertsion of Event Tickets.

    On our RSVP form after submiting, the user is presented with an option:
    “Show me on public attendee list”

    Many of our users are confused by this. Since we don’t use it, how do disbale that option from appearing?

    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter saz25

    (@saz25)

    Hi,
    After additional reading I see there is a template that handles this opt-in.

    /v2/rsvp/actions/success/toggle.php The RSVP Attendee List opt-in toggle shown on successful RSVP

    Assuming this is what I need to change (via override), I’m not sure what to change.

    Or is there an easier way to make the “Show me on public ….” toggle to not appear?

    I see on the top of the template there is a global variable: $opt_in_toggle_hidden.
    Would setting this to the proper state bypass the toggle? If so, how do I set that?

    Suggestions?
    thanks

    Plugin Support Abz

    (@abzlevelup)

    Hello @saz25,

    Thanks for reaching back to us and following up.

    Have you tried disabling it on your Ticket Setting? There should be an option to disable it.

    See the article here:
    https://theeventscalendar.com/knowledgebase/k/public-attendee-list/

    Moreover, there’s no need to do an override for this. You could either do the following.

    CSS

    .tribe-tickets-attendees-list-optout--wrapper {
        display: none !important;
    }

    Code Snippet/Filter
    add_filter( 'tribe_tickets_plus_hide_attendees_list_optout', '__return_true' );

    Let me know if that works on your end, or if this is what you are trying to accomplish here.

    Best,
    Abz

    Thread Starter saz25

    (@saz25)

    Hi
    I think the article you referred to is for Events Tickets Plus and we use the free version.

    Also I asked about the issue about that toggle that appears on the RSVP confirmation screen. Not about tickets.

    I made a change to toggle.php and placed it in my theme at:
    /tribe/tickets/v2/rsvp/actions/success/toggle.php

    I added this to the very top of the file:

    /* to hide opt in toggle */
    $opt_in_toggle_hidden=1;
    if ( $opt_in_toggle_hidden ) {
    	return;
    }

    Any issuees with this or is that another way around it?

    Again I was referring to RSVP in the free version.

    thanks

    Plugin Support Abz

    (@abzlevelup)

    Hi @saz25,

    Appreciate you clearing that out. Apologies for the confusion as well.

    Any issues with this, or is that another way around it?

    I see no issues adding default to true, also this should be okay since you’re updating just the child theme.

    Moreover, I’d check with the team if there are any other workarounds. I’d get back to you as soon as I hear from them.

    Best,
    Abz

    Plugin Support Abz

    (@abzlevelup)

    Hi @saz25,

    Apologies for the delay, and I really appreciate your time and patience here.

    Currently, we do not have other workaround for this one here. Also, there’s no harm of having the changes you made on the template, as long as you created it under your child theme.

    Using child theme:
    [your-child-theme]/tribe/tickets/v2/rsvp/actions/success/toggle.php

    Let me know if this helps. Please do not hesitate to bump a new ticket for different topic/issues.

    Have a great day.

    Best,
    Abz

    Thread Starter saz25

    (@saz25)

    thanks, resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to disable public attendee list option’ is closed to new replies.