Manu-PB
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] compatibility with testimonials widget pluginBoth free versions
Forum: Plugins
In reply to: [Polylang] compatibility with testimonials widget pluginIt is not a widget : it is a shortcode [testimonials_slider] included in a post.
I do not know if there is a language option ?Forum: Plugins
In reply to: [Events Made Easy Frontend Submit] Date picker not active ?@notdifficult
Thanks for tip.
Since v1.08 everything is back OKForum: Plugins
In reply to: [Events Made Easy Frontend Submit] Date picker not active ?Further more, if you enter a date, the today date is saved.
Hi James,
Unfortunately, since this was an urgent matter for a customer, I moved to another plugin.
BestThanks,
Could you please tell me where is stored the information about already published posts in the data base ?Forum: Fixing WordPress
In reply to: Edit user without email (empty_email error)I got it!
The answer is in the WP_error class description.add_action( 'user_profile_update_errors', 'remove_empty_email_error' ); function remove_empty_email_error( $arg ) { $arg->remove('empty_email'); }
Enjoy!
Forum: Fixing WordPress
In reply to: Edit user without email (empty_email error)[Edit] Now the $error array is set to “private”, which means that the previous hook must be changed.
I managed to detect if the [error:private] entry is empty or not :
function remove_empty_email_error( $arg ) { $errors = $arg->__get( 'errors' ); if ( $errors['empty_email'] ) ...
I can then unset ’empty_email’ from $errors, but I do not know how to unset the ’empty_email’ field in this private $arg array.
Please help!
Forum: Plugins
In reply to: [Contact Form 7] Success message doesn't show upThe same here, WP 4.1 + twentyfourteen + only CF7 active + very simple contact form (no other JS, no popup, no additional setting).
(For unknown reason, I posted already this message this morning, but is not displayed ?)
Thanks for help !Thanks for answer,
I have re-installed Nextgen and now everything is OK.Forum: Plugins
In reply to: [Events Made Easy Frontend Submit] Not registering eventMy mistake, I apologize.
In my modified form.php, I forgot the “event_name”.Please note : the default $emefs_event_data is no longer set in emefs and takes default from eme, so I had to <input type=”hidden” … > the desired values inside the form.
Forum: Plugins
In reply to: [Events Made Easy Frontend Submit] Not registering eventHi,
Yes, I have updated both EME and EMEFS
How can I check the webserver log files for possible errors?
BestForum: Plugins
In reply to: [Events Made Easy Frontend Submit] enforce event locationYes !
The correct syntax is :
<input type="hidden" id="event_location" name="event[event_location]" value='your-event-location' >
(replaces<?php EMEFS::field('event_location'); ?>
)Note : keep the <div> inside the form, since the field is required. You can hide it with
style="display:none;"
>.Hope it helps
Forum: Plugins
In reply to: [Events Made Easy Frontend Submit] Change date formatOK, awaiting an agrade.
In the meantime, here is a workaround :
in emefs.js around line 49, remplace :
jQuery("#event_start_date, #event_end_date").datepick({ dateFormat: 'yy-mm-dd' });
With
jQuery("#event_start_date, #event_end_date").datepick({ dateFormat: 'dd/mm/yyyy' });
This will print the localized date for the user.in emefs.php around line 215, replace :
$event_data['event_start_date'] = esc_attr( $event_data['event_start_date'] ) ;
with :$startdate = $event_data['event_start_date']; $startyear = substr($startdate,8,2); $startmonth = substr($startdate,3,2); $startday = substr($startdate,0,2); $event_data['event_start_date'] = $startyear.'-'.$startmonth.'-'.$startday;
This will return the date in the regular format for EMEFS.
Hope it helps
Forum: Plugins
In reply to: [Events Made Easy Frontend Submit] enforce event locationI have tried to delete the whole <div class “input”>, but this did not work since the field is required.
So how can I
– hide the input : <div class “input” type=”hidden”> ?
– set EMEFS::field(‘event_category_ids’) to ‘1’ ?
Thanks for help.