Home › Forums › Ticket Products › Event Tickets Plus › Restrict Ticket Sales to WordPress Members only
- This topic has 25 replies, 2 voices, and was last updated 9 years, 11 months ago by
Geoff.
-
AuthorPosts
-
May 9, 2016 at 3:46 pm #1112424
Geoff
MemberShoot, 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!
GeoffMay 9, 2016 at 4:02 pm #1112431Iain
ParticipantHi 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
IainMay 10, 2016 at 7:13 am #1112606Geoff
MemberSure thing! The event description is located right here:
/wp-content/plugins/the-events-calendar/src/views/single-event.php
Cheers!
GeoffMay 10, 2016 at 3:58 pm #1112973Iain
ParticipantWell that was a bust.
I think I have wasted enough of your time.
Once again, thank you very much for all your help.Cheers
IainMay 10, 2016 at 4:05 pm #1112978Iain
ParticipantOops.
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
IainMay 11, 2016 at 7:19 am #1113171Geoff
MemberNo 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!
GeoffMay 11, 2016 at 11:41 am #1113354Iain
ParticipantThis reply is private.
May 11, 2016 at 12:27 pm #1113372Geoff
MemberThanks 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!
GeoffMay 11, 2016 at 3:03 pm #1113468Iain
ParticipantHey 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
IainMay 11, 2016 at 4:02 pm #1113508Iain
ParticipantWoohoo.
Managed to fix most things myself trial and error.
Just the text issue now.May 12, 2016 at 7:32 am #1113742Geoff
MemberHey 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_priceYou 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 -
AuthorPosts
- The topic ‘Restrict Ticket Sales to WordPress Members only’ is closed to new replies.
