Toutes mes réponses sur les forums
-
AuteurMessages
-
Si tu ne trouve aucun thème ou plugin qui te permet d’aboutir à ton projet, j’ai bien peur que tu doive le faire par toi même.
Et en passant par les champs personnalisé lors de la conception d’un article?
Sinon connais-tu ce thème gratuit de petite annonces:
http://wp-infinity.com/themes-wordpress-gratuits-petites-annonces/Donc j’ai bien installer le mode dans PHPBB3 en passant par le répertoire install du MOD.
Tout c’est bien passé sans erreur.j’ai supprimé le répertoire Install.
Je suis retourné dans WORDPRESS et j’ai toujours le message comme quoi le mod n’est pas installé.
malgré ce message j’ai lancé la connexion.
Le serveur a renvoyé les informations suivantes:
WP-United caught an error: /wp-admin/admin-ajax.php returned: Internal Server Error
The page output was:Aurai je fait une erreur en supprimant le répertoire install ?
Effectivement je n’avais pas compris cette petite subtilité qui à toute son importance.
Il y a une procédure automatique à cette adresse https://www.phpbb.com/mods/automod/
Mais je ne comprend pas ou il faut l’installer dans PHPBB.
A la racine?JoseKost wrote:Bonsoir,Il semble que => Vous devez installer le WP-United MOD phpBB !
Cordialement,
José Kost
Magic Text Widget : arrêtez de lutter avec le code HTML …dans les Widgets texte de WordPressEffectivement il semblerait, mais il est bien installer comme je l’ai précisé dans mon premier message.
Bonsoir,
Voici un petit lien qui en proposent:
http://mayeul.com/meilleurs-plugins-annuaire-pour-wordpress/Puissiez trouver votre bonheurs.
D’après cette dicution J’ai rentré la fonction de compteur de commentaire:
function comments_number( $zero = false, $one = false, $two = false, $three = false, $more = false, $deprecated = » ) {
global $id;
$number = get_comments_number($id);
if ( $number > 3 )
$output = str_replace(‘%’, number_format_i18n($number), ( false === $more ) ? __(‘% Comments’) : $more);
elseif ( $number == 0 )
$output = ( false === $zero ) ? __(‘No Comments’) : $zero;
elseif ( $number == 1 )
$output = ( false === $one ) ? __(‘1 Comment’) : $one;
elseif ( $number == 2 )
$output = ( false === $two ) ? __(‘2 Comments’) : $two;
elseif ( $number == 3 )
$output = (false === $three ) ? __(‘3 Comments’) : $three;
echo apply_filters(‘comments_number’, $output, $number);
}Si dans mon fichier founction.php je met le début du code comme suit:
function comments_number( $zero = false, $one = false, $two = false, $three = false, $more = false, $deprecated = » ) {j’ai l’erreur suivante:
Parse error: syntax error, unexpected $end in C:xampphtdocswp-contentthemeshostfunctions.php on line 283 (qui correspond à la dernière ligne du fichier function.php)Si dans mon fichier founction.php je met le début du code comme suit:
function comments_number( $zero = false, $one = false, $two = false, $three = false, $more = false, $deprecated = » )
{j’ai l’erreur suivante:
Fatal error: Cannot redeclare comments_number() (previously declared in C:xampphtdocswp-includescomment-template.php:573) in C:xampphtdocswp-contentthemeshostfunctions.php on line 284voici la copie de mon fichier function.php:
« true »
);
load_theme_textdomain(‘kubrick’);
if (!function_exists(‘get_previous_posts_link’)) {
function get_previous_posts_link($label)
{
ob_start();
previous_posts_link($label);
return ob_get_clean();
}
}
if (!function_exists(‘get_next_posts_link’)) {
function get_next_posts_link($label)
{
ob_start();
next_posts_link($label);
return ob_get_clean();
}
}
function art_comment($comment, $args, $depth)
{
$GLOBALS[‘comment’] = $comment; ?>
<li id= »li-comment-« >
<div id="comment-« >
<div class="Post">
<div class="Post-tl"></div>
<div class="Post-tr"><div></div></div>
<div class="Post-bl"><div></div></div>
<div class="Post-br"><div></div></div>
<div class="Post-tc"><div></div></div>
<div class="Post-bc"><div></div></div>
<div class="Post-cl"><div></div></div>
<div class="Post-cr"><div></div></div>
<div class="Post-cc"></div>
<div class="Post-body">
<div class="Post-inner article">
<div class="PostContent">
<div class="comment-author vcard">
<?php echo get_avatar($comment,$size='48',$default='’ ); ?>
<?php printf(__('<cite class="fn">%s</cite> <span class="says">says:</span>‘), get_comment_author_link()) ?>
</div>
comment_approved == ‘0’) : ?>
<em></em>
<br />
<div class="comment-meta commentmetadata"><a href="comment_ID ) ) ?> »></a></div>
<div class="reply">
$depth, ‘max_depth’ => $args[‘max_depth’]))) ?>
</div>
</div>
<div class="cleared"></div>
<?php if (is_page()) edit_post_link(__('Edit this entry.', 'kubrick'), '<p>‘, ‘</p>‘); ?>
</div>
</div>
</div>
</div>
‘<!--- BEGIN Widget -->‘,
‘before_title’ => ‘<!--- BEGIN WidgetTitle -->‘,
‘after_title’ => ‘<!--- END WidgetTitle -->‘,
‘after_widget’ => ‘<!--- END Widget -->‘
));
}
function art_normalize_widget_style_tokens($content) {
$bw = ‘<!--- BEGIN Widget -->‘;
$bwt = ‘<!--- BEGIN WidgetTitle -->‘;
$ewt = ‘<!--- END WidgetTitle -->‘;
$bwc = ‘<!--- BEGIN WidgetContent -->‘;
$ewc = ‘<!--- END WidgetContent -->‘;
$ew = ‘<!--- END Widget -->‘;
$result = »;
$startBlock = 0;
$endBlock = 0;
while (true) {
$startBlock = strpos($content, $bw, $endBlock);
if (false === $startBlock) {
$result .= substr($content, $endBlock);
break;
}
$result .= substr($content, $endBlock, $startBlock – $endBlock);
$endBlock = strpos($content, $ew, $startBlock);
if (false === $endBlock) {
$result .= substr($content, $endBlock);
break;
}
$endBlock += strlen($ew);
$widgetContent = substr($content, $startBlock, $endBlock – $startBlock);
$beginTitlePos = strpos($widgetContent, $bwt);
$endTitlePos = strpos($widgetContent, $ewt);
if ((false == $beginTitlePos) xor (false == $endTitlePos)) {
$widgetContent = str_replace($bwt, », $widgetContent);
$widgetContent = str_replace($ewt, », $widgetContent);
} else {
$beginTitleText = $beginTitlePos + strlen($bwt);
$titleContent = substr($widgetContent, $beginTitleText, $endTitlePos – $beginTitleText);
if (‘ ‘ == $titleContent) {
$widgetContent = substr($widgetContent, 0, $beginTitlePos)
. substr($widgetContent, $endTitlePos + strlen($ewt));
}
}
if (false === strpos($widgetContent, $bwt)) {
$widgetContent = str_replace($bw, $bw . $bwc, $widgetContent);
} else {
$widgetContent = str_replace($ewt, $ewt . $bwc, $widgetContent);
}
$result .= str_replace($ew, $ewc . $ew, $widgetContent);
}
return $result;
}
function art_sidebar($index = 1)
{
if (!function_exists(‘dynamic_sidebar’)) return false;
ob_start();
$success = dynamic_sidebar($index);
$content = ob_get_clean();
if (!$success) return false;
$content = art_normalize_widget_style_tokens($content);
$replaces = array(
‘<!--- BEGIN Widget -->‘ => « <div class="Block">rn <div class="Block-tl"></div>rn <div class="Block-tr"><div></div></div>rn <div class="Block-bl"><div></div></div>rn <div class="Block-br"><div></div></div>rn <div class="Block-tc"><div></div></div>rn <div class="Block-bc"><div></div></div>rn <div class="Block-cl"><div></div></div>rn <div class="Block-cr"><div></div></div>rn <div class="Block-cc"></div>rn <div class="Block-body">rn »,
‘<!--- BEGIN WidgetTitle -->‘ => « <div class="BlockHeader">rn <div class="header-tag-icon">rn <div class="BlockHeader-text">« ,
‘<!--- END WidgetTitle -->‘ => « </div>rn </div>rn <div class="l"></div>rn <div class="r"><div></div></div>rn</div>rn »,
‘<!--- BEGIN WidgetContent -->‘ => « <div class="BlockContent">rn <div class="BlockContent-body">rn »,
‘<!--- END WidgetContent -->‘ => « rn </div>rn</div>rn »,
‘<!--- END Widget -->‘ => « rn </div>rn</div>rn »
);
$bwt = ‘<!--- BEGIN WidgetTitle -->‘;
$ewt = ‘<!--- END WidgetTitle -->‘;
if ( » == $replaces[$bwt] && » == $replaces[$ewt]) {
$startTitle = 0;
$endTitle = 0;
$result = »;
while (true) {
$startTitle = strpos($content, $bwt, $endTitle);
if (false == $startTitle) {
$result .= substr($content, $endTitle);
break;
}
$result .= substr($content, $endTitle, $startTitle – $endTitle);
$endTitle = strpos($content, $ewt, $startTitle);
if (false == $endTitle) {
$result .= substr($content, $startTitle);
break;
}
$endTitle += strlen($ewt);
}
$content = $result;
}
$content = str_replace(array_keys($replaces), array_values($replaces), $content);
echo $content;
return true;
}
function art_list_pages_filter($output)
{
$output = preg_replace(‘~<li>]*)><a>]*)>([^<]*)</a>~’,
‘<li><a><span><span>$3</span></span></a>‘,
$output);
$re = ‘~<li><a ~';
$output = preg_replace($re, '<li class="$1$2"><a class="active" ', $output, 1);
$output = preg_replace($re, '<li class="$1$2"><a>post_parent)
$result[] = $page;
}
if (‘page’ == get_option(‘show_on_front’)) {
$pageOnFront = get_option(‘page_on_front’);
$pageForPosts = get_option(‘page_for_posts’);
if ($pageOnFront) {
foreach ($result as $key => $page) {
if (0 == $page->post_parent && $pageOnFront == $page->ID) {
unset($result[$key]);
break;
}
}
}
if (!$pageOnFront && $pageForPosts) {
foreach ($result as $key => $page) {
if (0 == $page->post_parent && $pageForPosts == $page->ID) {
unset($result[$key]);
break;
}
}
}
}
return $result;
}
function art_menu_items()
{
$homeMenuItemCaption = <<post_title);
$isHomeSelected = is_page($page->ID);
} elseif (!$pageOnFront && $pageForPosts) {
$page = & get_post($pageForPosts);
if (null != $page)
$homeMenuItemCaption = apply_filters(‘the_title’, $page->post_title);
}
}
if (null === $isHomeSelected)
$isHomeSelected = is_home();
if (true === $showHomeMenuItem)
echo ‘<li><a href="' . get_option('home') . '"><span><span>‘
. $homeMenuItemCaption . ‘</span></span></a></li>‘;
add_action(‘get_pages’, ‘art_header_page_list_filter’);
add_action(‘wp_list_pages’, ‘art_list_pages_filter’);
wp_list_pages(‘title_li=’);
remove_action(‘wp_list_pages’, ‘art_list_pages_filter’);
remove_action(‘get_pages’, ‘art_header_page_list_filter’);
}
add_filter(‘comments_template’, ‘legacy_comments’);
function legacy_comments($file) {
if(!function_exists(‘wp_list_comments’)) : // WP 2.7-only check
$file = TEMPLATEPATH.’/legacy.comments.php’;
endif;
return $file;
}
function comments_number( $zero = false, $one = false, $two = false, $three = false, $more = false, $deprecated = » ) {
global $id;
$number = get_comments_number($id);
if ( $number > 3 )
$output = str_replace(‘%’, number_format_i18n($number), ( false === $more ) ? __(‘% Comments’) : $more);
elseif ( $number == 0 )
$output = ( false === $zero ) ? __(‘No Comments’) : $zero;
elseif ( $number == 1 )
$output = ( false === $one ) ? __(‘1 Comment’) : $one;
elseif ( $number == 2 )
$output = ( false === $two ) ? __(‘2 Comments’) : $two;
elseif ( $number == 3 )
$output = (false === $three ) ? __(‘3 Comments’) : $three;
echo apply_filters(‘comments_number’, $output, $number);
}J’ai oublier de demander la chose suivante:
Est-il possible de rajouter un suivit des commentaires (un genre d’abonnement et désabonnement par rapport à un article).
J’ai beau comparer les fonctions similaires comprise dans des thèmes qui ont un compteur de commentaire.
J’ai du mal à me retrouver avec tous les fichiers PHP. Et je n’arrive pas à reproduire le code pour mon thème.
j’ai des erreur de programmations en suivant cette exemple:Merci d’avance pour votre aide.
6 mai 2013 à 21 h 39 min en réponse à : Marqueurs relatifs aux évènements du plugin Events Manager #891738Je 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
6 mai 2013 à 21 h 26 min en réponse à : Marqueurs relatifs aux évènements du plugin Events Manager #891737je 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.5 mai 2013 à 10 h 45 min en réponse à : Event Manager … Qui l’utilise ? Pour quelques astuces #844655Le marqueur pour afficher les images est le suivant:
#_EVENTIMAGEC’est peut être une piste pour toi.
5 mai 2013 à 9 h 53 min en réponse à : Marqueurs relatifs aux évènements du plugin Events Manager #891736J’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?
4 mai 2013 à 19 h 36 min en réponse à : Marqueurs relatifs aux évènements du plugin Events Manager #891735J’ai désactivé les autres plugins et c’est toujours la même chanson.
4 mai 2013 à 18 h 48 min en réponse à : Marqueurs relatifs aux évènements du plugin Events Manager #891733Merci du conseil.
Je suis maintenant en Version 3.5.1 et le dysfonctionnement est toujours là.4 mai 2013 à 18 h 40 min en réponse à : Marqueurs relatifs aux évènements du plugin Events Manager #891731Je 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 DetailsYou 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, regionCustom 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 InformationWhen 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.4 mai 2013 à 18 h 22 min en réponse à : Marqueurs relatifs aux évènements du plugin Events Manager #891730J’avais oublié de vous dire que ma version de WordPress et la 3.3.2.
-
AuteurMessages