Forum Replies Created
-
AuthorPosts
-
Mathieu
ParticipantOk nevermind, it looks like it is now resolved with the updated. I hope it won’t happen again π
Thanks !Mathieu
ParticipantHi, thanks for your support.
This is the system info :
url
http://culturplus.com
install keysevents-calendar-pro = ( π )
events-community = ( π )WordPress version
3.7.1
PHP version
5.3.3-7+squeeze17
pluginsThe Events Calendar PRO version 3.2 by Modern Tribe, Inc.(http://m.tri.be/20)
The Events Calendar: Community Events version 3.2 by Modern Tribe, Inc.(http://m.tri.be/21)
The Events Calendar version 3.2 by Modern Tribe, Inc.(http://m.tri.be/1x)network plugins
–
mu plugins
–
theme
CulturPlus Events
multisite
–
settingsrecurring_events_are_hidden = exposed
tribeEventsTemplate =
tribeEventsBeforeHTML =
tribeEventsAfterHTML =
previous_ecp_versions =Array
(
[0] => 0
[1] => 3.1
)latest_ecp_version = 3.2
welcome_notice = 1
donate-link =
postsPerPage = 10
liveFiltersUpdate = 1
showComments = 1
showEventsInMainLoop =
eventsSlug = evenements
singleEventSlug = evenement
multiDayCutoff = 12:00
defaultCurrencySymbol = β¬
embedGoogleMaps = 1
embedGoogleMapsZoom = 10
debugEvents =
disable_metabox_custom_fields = show
hideSubsequentRecurrencesDefault =
userToggleSubsequentRecurrences =
geoloc_default_geofence = 25
geoloc_default_unit = kms
stylesheetOption = tribe
tribeEnableViews =Array
(
[0] => upcoming
[1] => month
[2] => day
[3] => map
[4] => photo
)viewOption = month
tribeDisableTribeBar =
hideLocationSearch =
hideRelatedEvents =
monthEventAmount = 3
defaultValueReplace =
eventsDefaultOrganizerID = 0
eventsDefaultVenueID = 0
eventsDefaultAddress =
eventsDefaultCity =
eventsDefaultState =
eventsDefaultProvince =
eventsDefaultZip =
defaultCountry =Array
(
[0] => FR
[1] => France
)eventsDefaultPhone =
tribeEventsCountries = FR, FranceAnd yes, I’ve tried with a default theme too.
Mathieu
ParticipantThanks, but last one problem is that we have to use WP_query and we canβt use tribe_get_events (which was pretty useful because of the link it made with venues and organizer)β¦ So if someone has an idea to use both π
Mathieu
ParticipantThanks, but last one problem is that we have to use WP_query and we can’t use tribe_get_events (which was pretty useful because of the link it made with venues and organizer)… So if someone has an idea to use both π
Mathieu
ParticipantSure there isn’t, but there are alternatives π
What i have done is first add a custom field to my events, where i duplicate the city event.
Now you can make a function using this query to get the events by city:
$querystr = "
SELECT wposts.*
FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta
WHERE wposts.ID = wpostmeta.post_id
AND wpostmeta.meta_key = 'my_custom_field_city'
AND wposts.post_type = 'tribe_events'
AND wpostmeta.meta_value = '". $thesearchcity."'
ORDER BY wpostmeta.meta_value DESC
";
An easy way to do that is the use tribe plugin Advanced Post Manager to add this custom field.
If you haven’t create any custom field USING THAT PLUGIN, then replace “my_custom_field_city” in the code by “_ecp_custom_1”.Hope it helps π
Mathieu
ParticipantThanks!
So if i understand, for the venue/organizer part, if an orga like:
‘Organizer’ => array(‘Organizer’ => ‘Jonah West’,
‘Email’ => ‘[email protected]’
)
already exists in the db, and that i had another event with the exactly same data, the event will be duplicated right?Thanks again!
Mathieu
ParticipantHi !
Maybe a function that could list the nearest events or venues could be really useful and probably not hard to implement.
I’m currently working on it, but if it’s in your list, i will wait a little longer π -
AuthorPosts
