• Resolved RobinM123

    (@robinm123)


    PLEASE HELP

    How do I remove the check box that appears once you increase the ticket number?

    Don’t show me on public attendee lists.

    We don’t have a public attendee list so this isn’t needed

    I rolled back because of the ticket increase issue. I don’t remember this on the newer version but it may have been there.

    Thank you in advance for any help you can offer me.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Go to the settings page in your theme where you can add “custom CSS”, and add this code:

    /* hide attendance opt out checkbox on event pages */
    #buy-tickets .tribe-tickets-attendees-list-optout {
    	display: none;
    }
    roboticrice

    (@roboticrice)

    I was not able to get your solution to work, thesinglegourmet, but it looks like OP did. Perhaps I placed my code in the wrong area?

    thesinglegourmet

    (@thesinglegourmet)

    If you are using Event Tickets Plus 4.11.3 or later, they made a minor change, and it took me a while to figure out, but this code should work:

    /* hide attendance opt out checkbox on single event pages for Event Tickets Plus 4.11.3 and later */
    #tribe-tickets .tribe-tickets-attendees-list-optout--wrapper {
    	display: none;
    }
    roboticrice

    (@roboticrice)

    For some reason, the code snippet you sent me doesn’t work (4.11.4). By reviewing my HTML, it appears as if it should, but the inspect on Google Chrome says the CSS code “display: none;” is overwritten by `element.style {
    display: block;
    }`

    I was able to fix the issue by using:

    /* hide attendance opt out checkbox on single event pages for Event Tickets Plus 4.11.3 and later */
    #tribe-tickets .tribe-common-form-control-checkbox__label {
    	display: none;
    }

    PS: This is the html code in question:

    <div class="tribe-common-form-control-checkbox tribe-tickets-attendees-list-optout--wrapper" style="display: block;">
    	<label class="tribe-common-form-control-checkbox__label" for="tribe-tickets-attendees-list-optout-4276">
    		<input class="tribe-common-form-control-checkbox__input tribe-tickets__item__optout" id="tribe-tickets-attendees-list-optout-4276" name="attendee[optout]" type="checkbox" checked="checked">Hide my attendee data from public view.</label>
    </div>
    Plugin Author Rafsun Chowdhury

    (@rafsuntaskin)

    Hi,

    We have an article published on this to hide the checkbox using both CSS and PHP as needed.

    You can check it out here: https://theeventscalendar.com/knowledgebase/k/public-attendee-list/#hide

    Using the PHP snippet should hide it directly from the markup. So, no worries with CSS anymore.

    Let me know if this helps.

    Kind Regards
    Rafsun

    Thread Starter RobinM123

    (@robinm123)

    Rafsun Chowdhury
    The PHP worked, not the CSS

    My client HATES the boxes

    THANK YOU!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove public attendee check box’ is closed to new replies.