Forum Replies Created
-
AuthorPosts
-
Tineke
Participant$country = tribe_get_country();
if ($country==”Netherlands”) {
echo “NL” ;
} elseif ($country==”Denmark”) {
echo “DK”;
} elseif ($country==”Afghanistan”) {
echo “AF”;
} elseif ($country==”Denmark”) {
echo “DK”;
} elseif ($country==”Argentina”) {
echo “AR”;
} elseif ($country==”Australia”) {
echo “AU”;
} elseif ($country==”Austria”) {
echo “AT”;
} elseif ($country==”Belgium”) {
echo “BE”;
} elseif ($country==”Brazil”) {
echo “BR”;
} elseif ($country==”Bulgaria”) {
echo “BG”;
} elseif ($country==”Canada”) {
echo “CA”;
} elseif ($country==”Chile”) {
echo “CL”;
} elseif ($country==”China”) {
echo “CN”;
} elseif ($country==”Colombia”) {
echo “CO”;
} elseif ($country==”Czech Republic”) {
echo “CZ”;
} elseif ($country==”Denmark”) {
echo “DK”;
} elseif ($country==”France”) {
echo “F”;
} elseif ($country==”Germany”) {
echo “DE”;
} elseif ($country==”Greece”) {
echo “GR”;
} elseif ($country==”Italy”) {
echo “IT”;
} elseif ($country==”Japan”) {
echo “JP”;
} elseif ($country==”Luxembourg”) {
echo “LU”;
} elseif ($country==”Luxembourg”) {
echo “ZA”;
} elseif ($country==”Spain”) {
echo “ES”;
} elseif ($country==”South Africa”) {
echo “LU”;
} elseif ($country==”Suriname”) {
echo “SR”;
} elseif ($country==”Sweden”) {
echo “SE”;
} elseif ($country==”Switzerland”) {
echo “CH”;
} elseif ($country==”United Arab Emirates”) {
echo “UAE”;
} elseif ($country==”United States”) {
echo “US”;
} elseif ($country==”United States”) {
echo “US”;
} elseif ($country==”Venezuela”) {
echo “VE”;
} else {
echo tribe_get_country();
}Tineke
ParticipantI just solved it with this (which is not a full list):
Tineke
ParticipantThanks Barry. But I wasn’t looking to change it everywhere. Just in list.php where I have this:
$country = tribe_get_country(); if ( !empty( $country ) ) : echo $country; endif;Tineke
ParticipantHi Jonah, Thanks for that: it worked out perfectly!
Tineke
ParticipantSame issue here. I just installed the Facebook importer and the featured image is showing up as 50×50
Tineke
ParticipantIs there any screenshot of how it looks like? I am specifically looking for an option to show attendees (preferably with RSVP option). Could this addon help me out?
Tineke
ParticipantHey Jonah,
Yes, it is checked. On Events it’s also perfectly working. Just not on Venues..Tineke
Participant@Timothy : I have accomplished it by ‘hacking’ the plugin files (which for sure is not the best way):
lib/the-events-calendar.class.php >(somewhere around line 37)
change:
‘supports’ => array(‘title’, ‘editor’),
to:
‘supports’ => array(‘title’, ‘editor’,’thumbnail’),Tineke
Participant+1 for filtering , but not just by category, also by country would be really nice
April 1, 2012 at 9:41 am in reply to: tribe_get_single_ical_link not generating correct output #17468Tineke
ParticipantSo, if I’m reading well: this issue hasn’t been resolved with the 2.0.5. update?
Tineke
ParticipantGot a similar issue:
I CAN use the iCal import button if I am an the events overview page (list).
But in the buttons in a single event don’t work:
iCal import just reloads the page (even though it put’s /ical/ behind the deeplink)
Google Calendar gives me an error 414 (The requested URL /calendar/event… is too large to process.)I tried with the default single template as well, but that didn’t help…
Tineke
ParticipantHey Rob/Wayne,
My full past-events template code can be found here:
http://pastebin.com/adA9xEZhTineke
ParticipantFound it:
$loop = new WP_Query( array( ‘post_type’ => ‘tribe_events’, ‘posts_per_page’ => 2, ‘orderby’ => ‘date’, ‘order’ => ‘ASC’, ‘paged’, ‘eventDisplay’ => ‘past’) );
Tineke
ParticipantAlso have this question
Tineke
ParticipantThe code doesn’t show, but it’s about tribe_next_event_link en tribe_previous_event_link
-
AuthorPosts
