WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Date conditional content display (16 posts)

  1. Johnathan69
    Member
    Posted 2 years ago #

    Firstly, let me say what a great plug-in I think this is! Capable of so much. I have searched and read the tutorials, but alas, I'm no programmer.

    My question deals with 'Conditional Placeholders' -- I'd like to be able to display content depending on whether the event has finished or not. I was not able to understand the implementation of the "Creating Conditional Placeholders for Events" (I'm not a programmer) Any help would be appreciated.

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you'd need to be able to make your own on this case, unless {fully_booked} works (it might)

  3. Johnathan69
    Member
    Posted 2 years ago #

    @Marcus

    Thank you for the quick reply -- I played with the settings for "event bookings", and wish that I had found this plugin years ago when I had to hand code (borrowing heavily from others) an application form -- it was painful, given that I am not a programmer.

    Thus having begun using WordPress - with all of its great plugins - like yours, am really delighted. However, the types of bookings that I'm wanting to do now are quite simple, and I am thinking of going with a simple "contact forms 7" form with a button link added into the event listing. I would be able to manage the bookings quite simply through e-mail, though not as elegant as your form; but simpler for my needs at the time.

    Thus the request -- I'd like to keep a list of 'finished events' (showing a track record of our events for the year), but only have the reservation button available for events that have not yet finished. I thought that a "date conditional" might suffice, but was unable to figure the necessary code from the tutorial (no fault of the tutorial - which is great), just that I'm no programmer, unfortunately. Any thoughts....?

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    if the event is finished, it shouldn't show the form anymore though, it should show 'bookings are closed' or simiilar if you edited your settings.

    if you want to show "finished events", that would be the equivalent of past events. you could just create a shortcode with rsvp=1 scope="past" arguments

  5. Johnathan69
    Member
    Posted 2 years ago #

    I've set the 'Enable bookings' to 'no' -- and am using a "contact form 7" accessed by a button, which is displayed next to the individual events. Here is the page -- but it is not linked to anything yet: http://www.matsubokkuri-hiroba.jp/?page_id=62

    This should give you a better idea of what I'm trying to do, but it is still rough and incomplete. (booking button is the blue right-hand button)

    When the date for the event is passed, I don't want to display the "booking button", but keep the "past" events displayed.

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    I see what you mean. did you try wrapping the button with the placeholder I proposed earlier?

  7. Johnathan69
    Member
    Posted 2 years ago #

    Thanks again for the reply. I'm not really sure how to implement the code that you suggested (programmers such as yourself must really get frustrated with user like us!)

    I did try to fiddle with conditional placeholders, like you suggested, but I couldn't figure something related with dates (this really would be a handy feature for future versions, I think).....My workaround was to use the {has_bookings} placeholder, but this means that I have to physically remember to 1) enable bookings for each event (but, remember that I'm not using your booking form, but a simple "contact form"), and 2) remember to 'physically disable' the bookings after the events are finished. But nevertheless, a workaround to be able to use such a fine plug-in.

    Thanks again for the great plug-in!

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    shortcode isn't code, you'd add something like [events_list rsvp=1 scope="past"] which you can insert e.g. in a wp page content

  9. Johnathan69
    Member
    Posted 2 years ago #

    Problem Solved! Just found / remembered an older plug-in that I had forgotten about -- "Optional Content Plugin". I was able to re-work the date formatting to fit with your event formatting, and voila! Date-sensitive information display.

    Thank you again for the excellent plug-in (muchas gracias gran persona!)

  10. Johnathan69
    Member
    Posted 2 years ago #

    @Marcus @Admin

    Is there any way to delete a webpage reference in a posting? I would like to delete the "matsubokkuri-hiroba.jp" address above, as it is coming up in Google search results, and will likely confuse anybody trying to access it. (I guess that I should have PMed it rather than posting the address here....!)

  11. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    probably not, but maybe a mod will remove it for you.

  12. esmi
    Forum Moderator
    Posted 2 years ago #

    Sorry - we do not delete or edit forums posts except in special circumstances. This case does not fall into the "Special circumstances" category.

  13. Johnathan69
    Member
    Posted 2 years ago #

    @Marcus & @Moderator

    Thank you for the reply. All of the people viewing our site are Japanese -- if they click on the Google search results (currently, this is the only search result when the url is entered directly in to the search box - as many of our clients often do in Japan) leading to this page (in English), that would be quite confusing for them. Would this lead to a "special circumstance"? The whole post could stay in tact, if you could just take away the entire homepage reference, that would be most helpful, and understanding of this perhaps unique situation.

    In the future, we will be more careful about posting links to pages in forums (perhaps PM-ing might work better)!

    Thanks in advance for any help.

  14. esmi
    Forum Moderator
    Posted 2 years ago #

    Would this lead to a "special circumstance"?

    Sorry - no.

  15. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    or use a temp url shortener

  16. Johnathan69
    Member
    Posted 2 years ago #

    @Marcus

    Thanks for the nice advice. That seems to be the best solution. I've checked around and found that others with similar problems have requested their URLs to be removed from their posts and had it done quite easily. Wonder why my request seems to be so difficult? My potential customers will just end up being confused clicking on a link to this forum instead of my page. Seeing as my homepage is a WordPress-based site, one might almost think that by removing the URL link, WordPress would be satisfying 1 direct "customer" (myself), and many other "indirect customers" (users of my WordPress site).

    Thanks again Marcus for all of your support and suggestions to fix not only my coding issues, but also this problem. Keep up the great work!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic