single event add-on informations

26 views
Skip to first unread message

runthep...@gmail.com

unread,
Feb 8, 2014, 6:02:20 PM2/8/14
to myev...@googlegroups.com
Hi,
in EventON Add-on Single Event, you call some informations and they are copied in text to be published in twitter (or facebook...) so you have TITLECOUNT, PERMALINKCOUNT etc...
I need for personal use more informations like VENUE, DATE and HOUR. So I called in eventon-single-event.php some information like :
$venue = apply_filters('the_loc', $page_data->evcal_location);
$date=apply_filters('the_date', $page_data->evcal_start_date);
$hour=apply_filters('the_date', $page_data->evcal_start_time_hour);
and others...

before updating the add-on, this was working like a charm. But since an update the DATE and HOUR don't work anymore, I think something changed in EventON.

Can you tell me how I can call now the DATE and HOUR information please ?

Thanks

myEventON

unread,
Feb 9, 2014, 9:46:43 PM2/9/14
to myev...@googlegroups.com, runthep...@gmail.com
Hello there,

Thank you for your message. I can absolutely help you explain the changes. So I moved away from those meta values for saving event data to a unix time value for start and end date awhile back. Which helps reduce amount of meta data stored per event. You can find all the meta values saved under http://www.myeventon.com/documentation/event-post-meta-variables/

So you can use unix start /end time and use date( string, unix) to get date or time in the format you need. Please let me know if you need help with how to use date function, i would be more than happy to point you in the right directino.

-Best,

Ashan

runthep...@gmail.com

unread,
Feb 10, 2014, 2:28:11 AM2/10/14
to myev...@googlegroups.com, runthep...@gmail.com, myev...@googlegroups.com
Working ! Thanks a lot !
Reply all
Reply to author
Forward
0 new messages