cocacooler
Forum Replies Created
-
Forum: Plugins
In reply to: [User Access Manager] error log msgthank you. i will let u know if i see errors
Enable No-User Booking Mode? Yes
Allow bookings with registered emails? YesI am able to check if the comment box is empty, however i am not able to check # of tickets/seats booked. i need to performe a check on this.
what is the booking mode?
the validation is not trigging.. its not working
something like this is also not working
function em_validate($result, $EM_Event){ $EM_Ticket_Booking->booking = $this; if ($this->get_bookings()->get_booked_spaces() > 1 && $_REQUEST['booking_comment'] == ''){ $EM_Event->add_error('Fill out the comments'); $result = false; } return $result; } add_filter('em_booking_validate','em_validate', 1, 2);Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] scripting questionI have almost created the validating part, however i am not able to get the number of tickets reserved.. can someone point out an solution ?
this part is not working : $_REQUEST[’em_tickets’] > 1
This is my code:
function em_validate($result, $EM_Event){ if ($_REQUEST['em_tickets'] > 1 && $_REQUEST['booking_comment'] == ''){ $EM_Event->add_error('Fill out the comments'); $result = false; } return $result; } add_filter('em_booking_validate','em_validate', 1, 2);Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] scripting questionplease see my above function
thats what i am trying to do
if ($_REQUEST['em_tickets'] > 1 && $_REQUEST['booking_comment'] == ''){but the above function is not trigging at all
function em_validate($result, $EM_Event){ if ($_REQUEST['em_tickets'] > 1 && $_REQUEST['booking_comment'] == ''){ $EM_Event->add_error('fill more names'); $result = false; } return $result; } add_filter('em_event_validate','em_validate', 1, 2);Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] scripting questioni want to validate
if em_tickets more than 1
and there is should be something in booking_commentcurrrently only email gets validated.
what i really need is to display from the top navigation bar
1) Events which are going to be held
2) Events heldit used to be here :
yes.
Im using default wordpress theme (twenty twelve) with no changes.
I am unable to build the menu structure from admin dashboard.
its not showing up in nav-menus.php
Forum: Plugins
In reply to: [Basic Google Maps Placemarks] bgmp_get-map-placemarks-individual-placemarkfunction addBGMPInfoAdresse( $placemarks ) { $newPlacemarks = array(); foreach( $placemarks as $placemark ) { $post = get_page_by_title( $placemark[ 'title' ], 'OBJECT', 'bgmp' ); $placemark[ 'details' ] .= $placemark[ 'latitude' ]; $newPlacemarks[] = $placemark; } return $newPlacemarks; } add_filter( 'bgmp_get-map-placemarks-return', 'addBGMPInfoAdresse' );i can get latitude and other attributes, how do u get the content ?
Forum: Plugins
In reply to: [Basic Google Maps Placemarks] showing adress inside bgmp_placemarkcan u let me know where and which file is should modify ?
i saw this example and it seems straightforward.
do i need to create a new function or edit and exsisting where i just add some attributes to the filter. please advice me
[ No bumping please. ]