bill_baroud02
Forum Replies Created
-
That was due to Nginx misconfiguration of server_name directive.
Without this directive the licence could not be attached to the domain.Forum: Plugins
In reply to: [CMB2] Date field doesn't display the value in adminActually, for the datetime_timestamp type, the problem appears to be when converting the string date to timestamp. I’ve solved it by replacing :
$value = strtotime( $value['date'] . ' ' . $value['time'] )
with :
$format = $this->field->args['date_format'] . ' ' . $this->field->args['time_format']; $date = DateTime::createFromFormat( $format, $value['date'] . ' ' . $value['time'] ); $value = $date->getTimestamp();
in CMB2_Sanitize.php line 219
I’m not sure it’s the nicest way but it works.
Thank for ur time and this nice plugin.
Forum: Plugins
In reply to: [CMB2] Date field doesn't display the value in adminThe datepicker defaults are already properly set with the dd/mm/yy format.
I tried to set the field with a text_datetime_timestamp type and the behavior is different :
If I select 15/01/2015 from the datepicker, the timestamp saved in DB corresponds to 01/15/2015 and then the value displayed is 15/01/2015.
Forum: Plugins
In reply to: [CMB2] Date field doesn't display the value in adminHi,
it’s properly saved in d/m/Y format but transformed to m/d/Y when displayed.
Forum: Plugins
In reply to: [CMB2] Date field doesn't display the value in adminit shows nothing if the day number is upper 12 or day/month reversed if under 12.
Forum: Plugins
In reply to: [CMB2] Date field doesn't display the value in adminActually the problem seems to be linked to the date format, as the date picker use the french format d/m/Y and the date is displayed in m/d/Y format. I thinh that is why it cannot display a date like this 30/04/2015 (french format).
i added ‘date_format’ => __( ‘d/m/Y’, ‘cmb2’ ), to the the field config but it does not work better.
Forum: Plugins
In reply to: [CMB2] Date field doesn't display the value in adminI’ve changed the type of one of the field to text_date_timestamp and it resolved it.
Forum: Plugins
In reply to: [CMB2] Wysiwyg fileds can't saveIt’s perfectly working now, it was just because various fields had the same id… sorry.
thank you for your answer.
Forum: Plugins
In reply to: [Watu Quiz] BBpressis the a way to send it to you in a private way ?
Forum: Plugins
In reply to: [GD bbPress Attachments] Older version of GD bbPress AttachmentsI just saw that older versions are available on the developper tab.
Forget about that post !Forum: Plugins
In reply to: [Watu Quiz] BBpress compatibilitygreat ! good job, it works perfectly.
thank you so much.Forum: Plugins
In reply to: [Watu Quiz] BBpress compatibilityI can’t do it, im too new to wp to really understand.
Forum: Plugins
In reply to: [Watu Quiz] BBpress compatibilityyes i just saw this, i’ll try to do it.
thank u.Forum: Plugins
In reply to: [Watu Quiz] BBpress compatibilityI use bbpress-shortcodes-whitelist plugin to enable shortcodes inside bbpress topics, it works fine, i do display polls this way.
Forum: Plugins
In reply to: [Watu Quiz] BBpress compatibilitythats’s a fast answer !
let me know if you have further information please.
thanks.