Marqueurs relatifs aux évènements du plugin Events Manager (Créer un compte)

  • Statut : non résolu
10 sujets de 1 à 10 (sur un total de 10)
  • Auteur
    Messages
  • #523871
    sylvainbr
    Membre
    Chevalier WordPress
    239 contributions

    Bonjour,

    Ma configuration WP actuelle
    – Version de WordPress :
    – Version de PHP/MySQL :
    – Thème utilisé :
    – Extensions en place :
    – Nom de l’hebergeur :
    – Adresse du site :

    Problème(s) rencontré(s) :

    Bonjour,

    Je m’arrache les cheveux depuis un moment avec cette mise à jour du plugin Events Manager en Version 5.3.3
    J’ai été jusqu’à réinitialiser le plugin.

    J’ai notamment le marqueur #_EVENTNOTES qui n’est pas reconnu dans la page qui affiche l’évènement.

    Voici plus d’infos sur les marqueurs de ce plugin.

    A noter que le seul marqueur relatifs aux évènements qui fonctionne est le marqueur suivant: #_EVENTPOSTID
    Je ne comprend pas pourquoi tous les autres ne fonctionne pas.
    Y aurai-il erreur dans le code HTML, cela expliquerait la chose.

    Il en vas de même pour la carte google qui est integrée avec ce plugin. Elle fonctionnais avec une version antérieur. Elle fonctionne dans le back end de ce plugin.

    Voici le code utilisé pour afficher l’évènement:

    <div style="float:right; margin:0px 0px 15px 15px;">#_LOCATIONMAP</div>
    <p>

    <h2>Le #j #F #Y de #_24HSTARTTIME à #_24HENDTIME</h2>

    <strong>Lieu:</strong></p>
    #_LOCATIONNAME</p>
    #_LOCATIONADDRESS</p>
    #_LOCATIONPOSTCODE
    #_LOCATIONTOWN

    </p>

    <strong>Détail sur ce rendez-vous:</strong></p>
    #_EVENTNAME </p>
    #_EVENTNOTES</p>
    #_EVENTID</p>
    #_EVENTPOSTID</p>
    #_EVENTNAME</p>
    #_EVENTEXCERPT</p>
    #_EVENTIMAGE</p>
    #_EVENTIMAGE{x,y}</p>
    #_EVENTIMAGE{100,100}</p>
    #_EVENTCATEGORIES</p>
    #_EVENTCATEGORIESIMAGES</p>
    #_EVENTTAGS</p>

    </p>
    <strong>Catégorie(ies)</strong>
    #_CATEGORIES
    <br style="clear:both" />

    {has_bookings}
    <h3>Bookings</h3>
    #_BOOKINGFORM
    {/has_bookings}

    Merci par avance de votre aide.

    #891730
    sylvainbr
    Membre
    Chevalier WordPress
    239 contributions

    J’avais oublié de vous dire que ma version de WordPress et la 3.3.2.

    #891731
    sylvainbr
    Membre
    Chevalier WordPress
    239 contributions

    Je doit être fatigué ce soir le lien vers les marqueurs ne peuvent vu par le publique, car c’est visible sue pour l’administrateur.

    Donc voici plus d’infos dessus:

    Marqueurs pour personnaliser les pages

    A la page des paramètres, vous trouverez diverses zones de texte où vous pourrez modifier la façon dont sont affichées les informations d’évènement, les listes d’évènements et d’emplacements. En utilisant ces espaces dédiés, vous pouvez choisir quelle information doit y être affichée.
    Marqueurs relatifs aux évènements
    Event Details

    #_EVENTID
    Shows the event ID number in the wp_em_events table.
    #_EVENTPOSTID
    Shows the event corresponding Post ID in the wp_posts table.
    #_EVENTNAME
    Displays the name of the event.
    #_EVENTNOTES
    Shows the description of the event.
    #_EVENTEXCERPT
    If you added a more tag to your event description, only the content before this tag will show (currently, no read more link is added).
    #_EVENTIMAGE
    Shows the event image, if available.
    #_EVENTIMAGE{x,y}
    Shows the event image thumbnail, x and y are width and height respectively, both being numbers e.g. #_EVENTIMAGE{100,100}
    #_EVENTCATEGORIES
    Shows a list of category links this event belongs to.
    #_EVENTCATEGORIESIMAGES
    Shows a list of category images this event belongs to. Categories without an image will be ignored.
    #_EVENTTAGS
    Shows a list of tag links this event belongs to.

    Date and Times

    #_24HSTARTTIME
    Displays the start time in a 24 hours format (e.g. 16:30).
    #_24HENDTIME
    Displays the end time in a 24 hours format (e.g. 18:30).
    #_12HSTARTTIME
    Displays the start time in a 12 hours format (e.g. 4:30 PM).
    #_12HENDTIME
    Displays the end time in a 12 hours format (e.g. 6:30 PM).
    #_EVENTTIMES
    Displays either a single time, time-span, or « All Day » depending on your event times. Format is taken from your Events Manager settings page.
    #_EVENTDATES
    Displays either a single date or a date range depending on your event dates. Format is taken from your Events Manager settings page.

    Custom Date/Time Formatting

    Events Manager allows extremely flexible date formatting by using PHP date syntax format characters along with placeholders.

    # or #@
    Prepend # or #@ before a valid PHP date syntax format character to show start and end date/time information respectively (e.g. #F will show the starting month name like « January », #@h shows the end hour).
    #{x} or #@{x}
    You can also create a date format without prepending # to each character by wrapping a valid php date() format in #{} or #@{} (e.g. #_{d/m/Y}). If there is no end date (or is same as start date), the value is not shown. This is useful if you want to show event end dates only on events that are longer than on day, e.g. #j #M #Y #@_{ until j M Y}.

    Links/URLs

    #_EVENTIMAGEURL
    Shows the event image url, if available.
    #_EVENTURL
    Simply prints the event URL. You can use this placeholder to build your own customised links.
    #_EVENTLINK
    Displays the event name with a link to the event page.
    #_EDITEVENTLINK
    Inserts a link to the admin or buddypress (if activated) edit event page, only if a user is logged in and is allowed to edit the event.
    #_EDITEVENTURL
    Inserts a url to the admin or buddypress (if activated) edit event page, only if a user is logged in and is allowed to edit the event.

    Custom Attributes

    Events Manager allows you to create dynamic attributes to your events, which act as extra information fields for your events (e.g. « Dress Code »). For more information see our online documentation for more info on attributes.

    #_ATT{key}
    This key will appear as an option when adding attributes to your event.
    #_ATT{key}{alternative text}
    This key will appear as an option when adding attributes to your event. The text in the second braces will appear if the attribute is not defined or left blank for that event.
    #_ATT{key}{option 1|option 2|option 3|etc.}
    This key will appear as an option when adding attributes to your event. The second braces are optional and will use a select box with these values as input. If no valid value is defined, the first option is used.

    Bookings

    These placeholders will only show if bookings are enabled for the given event and in the events manager settings page. Spaces placeholders will default to 0

    #_BOOKINGFORM
    Adds a booking forms for this event.
    #_BOOKINGBUTTON
    A single button that will appear to logged in users, if they click on it, they apply for a booking. This button will only display if there is one ticket.
    #_AVAILABLESPACES
    Shows available spaces for the event.
    #_BOOKEDSPACES
    Shows the amount of currently booked spaces for the event.
    #_PENDINGSPACES
    Shows the amount of pending spaces for the event.
    #_SPACES
    Shows the total spaces for the event.
    #_ATTENDEES
    Shows the list of user avatars attending the event.
    #_ATTENDEESLIST
    Shows the list of people attending the event.
    #_ATTENDEESPENDINGLIST
    Shows the list of people with a pending booking for the event.
    #_BOOKINGSURL
    Shows the url to the admin, front-end or buddypress (if activated) bookings management page for this event. Only shown if user is logged in and able to manage bookings.
    #_BOOKINGSLINK
    Shows a link to the admin, front-end or buddypress (if activated) bookings management page for this event. Only shown if user is logged in and able to manage bookings.
    #_EVENTPRICERANGE
    Shows a « maximum – minimum » price range, or a single price if there is no range. Price is formatted according to currency formatting in your settings page.
    #_EVENTPRICEMIN
    Shows the lowest ticket price for this event.
    #_EVENTPRICEMAX
    Shows the highest ticket price for this event.

    Contact Details

    The values here are taken from the chosen contact for the specific event, or the default contact in the settings page.

    #_CONTACTNAME
    Name of the contact person for this event (as shown in the dropdown when adding an event).
    #_CONTACTUSERNAME
    Contact person’s username.
    #_CONTACTEMAIL
    E-mail of the contact person for this event.
    #_CONTACTPHONE
    Phone number of the contact person for this event. Can be set in the user profile page.
    #_CONTACTAVATAR
    Contact person’s avatar.
    #_CONTACTPROFILELINK
    Contact person’s « Profile » link. Only works with BuddyPress enabled.
    #_CONTACTPROFILEURL
    Contact person’s profile url. Only works with BuddyPress enabled.
    #_CONTACTID
    Contact person’s WordPress user ID.
    #_CONTACTMETA
    Display any user meta of a WordPress account by including the meta key, e.g. #_CONTACTMETA{dbem_phone}

    iCal/Calendar

    #_EVENTICALURL
    Displays the URL of the event ical feed (ics file format).
    #_EVENTICALLINK
    Displays an html link to the event ical feed (ics file format).
    #_EVENTGCALURL
    Displays URL which would take the user to Google Calendar and pre-fill their add new event form.
    #_EVENTGCALLINK
    Displays a button which would take the user to Google Calendar and pre-fill their add new event form.

    Marqueurs relatifs aux catégories
    Category Details

    You can use these when displaying categories or for showing the first available category in an event format.

    #_CATEGORYNAME
    Shows the category name.
    #_CATEGORYID
    Shows the category ID.
    #_CATEGORYSLUG
    Shows the category slug.
    #_CATEGORYIMAGE
    Shows the category image, if available.
    #_CATEGORYIMAGE{x,y}
    Shows the category image thumbnail if available, x and y are width and height respectively, both being numbers e.g. #_CATEGORYIMAGE{100,100}
    #_CATEGORYIMAGEURL
    Shows the category image url, if available.
    #_CATEGORYNOTES
    Shows the location description.

    Related Events

    You can show lists of other events belonging to this category. The formatting of the list is the same as a normal events list.

    #_CATEGORYPASTEVENTS
    Will show a list of all past events at this category.
    #_CATEGORYNEXTEVENTS
    Will show a list of all future events at this category.
    #_CATEGORYALLEVENTS
    Will show a list of all events at this category.

    Marqueurs relatifs aux emplacements
    Location Details

    #_LOCATIONID
    Shows the event ID number in the wp_em_locations table.
    #_LOCATIONPOSTID
    Shows the location corresponding Post ID in the wp_posts table.
    #_LOCATIONNAME
    Displays the location name.
    #_LOCATIONADDRESS
    Displays the address.
    #_LOCATIONTOWN
    Displays the town.
    #_LOCATIONSTATE
    Displays the state/county.
    #_LOCATIONPOSTCODE
    Displays the postcode.
    #_LOCATIONREGION
    Displays the region.
    #_LOCATIONCOUNTRY
    Displays the country.
    #_LOCATIONLONGITUDE
    Displays the longitude, used for locating in Google Maps.
    #_LOCATIONLATITUDE
    Displays the latitude, used for locating in Google Maps.
    #_LOCATIONMAP
    Displays a google map showing where the event is located (Will not show if maps are disabled in the settings page)
    #_LOCATIONNOTES
    Shows the location description.
    #_LOCATIONEXCERPT
    If you added a more tag to your location description, only the content before this tag will show (currently, no read more link is added).
    #_LOCATIONIMAGE
    Shows the location image.
    #_LOCATIONIMAGE{x,y}
    Shows the location image thumbnail, x and y are width and height respectively, both being numbers e.g. #_LOCATIONIMAGE{100,100}
    #_LOCATIONIMAGEURL
    Shows the location image url, if available.
    #_LOCATIONFULLLINE
    Shows a comma-seperated line of location information, ommitting blanks (format of address, town, state, postcode, region
    #_LOCATIONFULLBR
    Shows a line-break (br tag) seperated location information, ommitting blanks (format of address, town, state, postcode, region

    Custom Attributes

    Events Manager allows you to create dynamic attributes to your locations, which act as extra information fields for your locations (e.g. « Dress Code »). For more information see our online documentation for more info on attributes.

    #_LATT{key}
    This key will appear as an option when adding attributes to your location.
    #_LATT{key}{alternative text}
    This key will appear as an option when adding attributes to your location. The text in the second braces will appear if the attribute is not defined or left blank for that location.
    #_LATT{key}{option 1|option 2|option 3|etc.}
    This key will appear as an option when adding attributes to your location. The second braces are optional and will use a select box with these values as input. If no valid value is defined, the first option is used.

    Links

    #_LOCATIONURL
    Simply prints the location URL. You can use this placeholder to build your own customised links.
    #_LOCATIONLINK
    Displays the location name with a link to the location page.
    #_EDITLOCATIONLINK
    Inserts a link to the admin or buddypress (if activated) edit location page, only if a user is logged in and is allowed to edit the location.
    #_EDITLOCATIONURL
    Inserts a url to the admin or buddypress (if activated) edit location page, only if a user is logged in and is allowed to edit the location.

    Related Events

    You can show lists of other events that are being held at this location. The formatting of the list is the same as a normal events list.

    #_LOCATIONPASTEVENTS
    Will show a list of all past events at this location.
    #_LOCATIONNEXTEVENTS
    Will show a list of all future events at this location.
    #_LOCATIONALLEVENTS
    Will show a list of all events at this location.
    #_LOCATIONNEXTEVENT
    Will show a link to the next event at this location, or the no events message.

    Marqueurs relatifs aux réservations
    Booking Person Information

    When a specific booking is displayed (on screen and on email), you can use these placeholders to show specific information about the booking. Event and Location placeholders are also available in these cases.

    #_BOOKINGID
    The unique ID of this booking, useful if you are making your own customizations to this plugin.
    #_BOOKINGNAME
    Name of person who made the booking.
    #_BOOKINGEMAIL
    Email of person who made the booking.
    #_BOOKINGPHONE
    Phone number of person who made the booking.
    #_BOOKINGSPACES
    Number of spaces the person has booked.
    #_BOOKINGCOMMENT
    Any specific comments made by the person who made the booking.
    #_BOOKINGTICKETNAME
    Name of the ticket booked. Useful in single ticket mode, if multiple tickets are booked a random ticket is used.
    #_BOOKINGTICKETDESCRIPTION
    Description of the ticket booked. Useful in single ticket mode, if multiple tickets are booked a random ticket is used.
    #_BOOKINGTICKETPRICE
    Booked ticket price with currency symbol (e.g. $ 10.00). Useful in single ticket mode, if multiple tickets are booked a random ticket is used.
    #_BOOKINGTICKETS
    A list of booked tickets. You can modify this by using template files and modifying templates/emails/bookingtickets.php
    #_BOOKINGFORMCUSTOM{field_id}
    (pro only) Shows booking form custom fields. The field_id value must match that of your custom booking form field.
    #_BOOKINGFORMCUSTOMREG{field_id}
    (pro only) Shows booking form custom fields that are used for guest user registration. The field_id value must match that of your custom booking form field.
    #_BOOKINGFORMCUSTOMFIELDS
    (pro only) Generates a list of booking form custom fields that are used in the booking.

    Pricing Information

    #_BOOKINGPRICE
    Displays booking total price (tax inclusion depends on your booking settings).
    #_BOOKINGPRICETAX
    Displays booking total tax.
    #_BOOKINGPRICEWITHOUTTAX
    Displays booking total without tax.
    #_BOOKINGPRICEWITHTAX
    Displays booking total with tax.

    Ticket Information

    #_BOOKINGTICKETS
    Shows a breakdown of tickets and pricing, defined in the emails/bookingtickets.php template. (See Using Template Files for more information)
    #_BOOKINGTICKETDESCRIPTION
    Shows the description of the first ticket booked (useful in single ticket mode/events).
    #_BOOKINGTICKETPRICE
    Shows the price of the first ticket booked, tax inclusion depending on your booking settings (useful in single ticket mode/events).
    #_BOOKINGTICKETTAX
    Shows the tax of the first ticket booked (useful in single ticket mode/events).
    #_BOOKINGTICKETPRICEWITHTAX
    Shows the price including tax of the first ticket booked (useful in single ticket mode/events).
    #_BOOKINGTICKETPRICEWITHOUTTAX
    Shows the price excluding tax of the first ticket booked (useful in single ticket mode/events).

    Links

    People are able to manage their bookings. Below are some placeholder which automatically provides correctly formatted urls

    #_BOOKINGLISTURL
    URL to page showing that users booked events.

    Gateway-Specific Information

    #_BOOKINGTXNID
    Online Payments Only – Prints the transaction ID of this booking if available.

    #891732
    lorenzolamas
    Participant
    Maître WordPress
    3229 contributions

    Alors ca vient pt etre de la.

    Mets wordpress a jour, ca devrait fonctionner.

    #891733
    sylvainbr
    Membre
    Chevalier WordPress
    239 contributions

    Merci du conseil.
    Je suis maintenant en Version 3.5.1 et le dysfonctionnement est toujours là.

    #891734
    lorenzolamas
    Participant
    Maître WordPress
    3229 contributions

    Essaye de désactiver les autres plugins.
    Le plugin Event manager est très complexe et très lourd, il se peut qu’il y ait un conflit quelconque avec un autre plugin.

    #891735
    sylvainbr
    Membre
    Chevalier WordPress
    239 contributions

    J’ai désactivé les autres plugins et c’est toujours la même chanson.

    #891736
    sylvainbr
    Membre
    Chevalier WordPress
    239 contributions

    J’ai mis à jour le plugin Events Manager en Version 5.3.7 et 5.3.9.
    Et c’est toujours pareil.

    Ce plugin est actuellement en versionn 5.3.7 (une bonne compatibilité avec WordPress 3.5.1 est marqué avec lesite de l’éditeur du plugin)
    Il y a que les date au format 24 heures qui fonctionnel, au format 12h00 le marqueur (variable) n’est pas reconnu.

    Je suis déjà à 128méga de mémoire et j’en utilise que 43%.
    Lors de la désactivation de tous les autres plugin c’était toujours pareil.

    Est-ce un problème de manque de mémoire quand même?

    #891737
    sylvainbr
    Membre
    Chevalier WordPress
    239 contributions

    je viens de passer le PHP à 256Mo et toujours certains marqueurs ne sont pas reconnus.
    Surtout celui qui montre le détail d’un évènement, et c’est très gênant.
    l’affichage du lieu par l’intermédiaire d’une carte Google l’est aussi, mais moins quand même.

    #891738
    sylvainbr
    Membre
    Chevalier WordPress
    239 contributions

    Je viens de panser à un truque. Je vais devoir rétrograder WordPress et certains plugins aussi pour avoir une version stable.
    C’est peu con mais finalement je ne vois pas d’autres solution.

    Ou alors reconstruire le site en local pour voir et faire des essais sans perturber le site.

    Dite moi ce que vous en pensez.

    Merci

10 sujets de 1 à 10 (sur un total de 10)
  • Vous devez être connecté pour répondre à ce sujet.