Restrict Ticket Sales to WordPress Members only

Home Forums Ticket Products Event Tickets Plus Restrict Ticket Sales to WordPress Members only

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #1112424
    Geoff
    Member

    Shoot, I was hoping that would do the trick. Sorry about that!

    I still think we’re working on the correct template. It’s likely just a matter of making sure the required files are outside of the conditional statement we’re adding so that those nasty errors stay out of the way. Does that make sense?

    Thanks!
    Geoff

    #1112431
    Iain
    Participant

    Hi Geoff.

    I’ve tried moving things around with the same result each time, so I’m at a loss.
    I would still like to to try echoing a message for logged out users with whatever template is used for displaying the Event description.
    Can you tell me what template that is?

    Cheers
    Iain

    #1112606
    Geoff
    Member

    Sure thing! The event description is located right here:

    /wp-content/plugins/the-events-calendar/src/views/single-event.php

    Cheers!
    Geoff

    #1112973
    Iain
    Participant

    Well that was a bust.
    I think I have wasted enough of your time.
    Once again, thank you very much for all your help.

    Cheers
    Iain

    #1112978
    Iain
    Participant

    Oops.
    I forgot something.
    I’ve noticed a formatting issue.
    If I need to raise a new ticket for this I understand.
    See the attached screen cap.
    The text that shows the number of available positions is split to the right of the +/- tickets and underneath it.

    Cheers
    Iain

    #1113171
    Geoff
    Member

    No worries at all, Lain! I’m happy to help. 🙂

    Would you be willing to send me a link to that event? I was trying to find a event on your site with tickets but had no luck. If I can see the event, then that will allow me to mess with the CSS a bit and hopefully provide you with a snippet you can use to style the form so that it doesn’t break like that.

    Or, if you’d prefer, we do have a tutorial on how to do exactly what I’m going to do, which is inspect the CSS in the browser.

    Thanks so much!
    Geoff

    #1113354
    Iain
    Participant

    This reply is private.

    #1113372
    Geoff
    Member

    Thanks Lain!

    Give this a try. It works when I edit the CSS in the browser but I’m unable to test it myself on the live site. As such, you may need to tweak it a bit to get it just right:

    `.tribe-tickets-remaining {
    display: inline-block;
    }

    Cheers!
    Geoff

    #1113468
    Iain
    Participant

    Hey Geoff.

    That worked a treat.
    Now if I can impose on you once more 🙂
    There is a formatting issue when the screen size is adjusted down to Mobile Phone size.
    See attached screen capture.
    Note that the +/- isn’t centered (and isn’t centered at normal size either), the “Ticket Name” increases in size in comparison to the rest of it (can all that text display on a line each?), and the spacing between the checkbox and text is probably a bit large and causes the text to wrap.
    I’ve looked at the css myself, but it isn’t really my fortè, so I was wondering if you could take a look.
    I know it’s probably outside your scope, so if you say no I completely understand.

    Cheers
    Iain

    #1113508
    Iain
    Participant

    Woohoo.
    Managed to fix most things myself trial and error.
    Just the text issue now.

    #1113742
    Geoff
    Member

    Hey Lain!

    I’ve taken a look at that and the CSS/styling of the “Free” label really depends on what you want to do with it. I know you’re using the Enfold theme and it places the ticket information in the sidebar, which has a tendency to squeeze things a bit — by default, we put the ticket form in the main body of the events to give it more breathing room. As such, it’s kinda tough for me to make a design decision for your site and for how Enfold has set it up — that’s more on the custom development and design side of things and something I think you might want to either decide on your own or work with a designer.

    If it helps, the class name for the price label is:

    .table.tribe-events-tickets .tickets_price

    You can use that to style the text.

    I’ll go ahead and close this thread and I hope you understand — we’ve gotten pretty far from the original question of the post and, as that happens, answers for subsequent questions get pushed very far down and tough to track. On that note, though, please do feel free to open a new through if you have any questions about the CSS classes and how to find them and we would be more than happy to continue helping!

    Cheers,
    Geoff

Viewing 11 posts - 16 through 26 (of 26 total)
  • The topic ‘Restrict Ticket Sales to WordPress Members only’ is closed to new replies.