Forum Replies Created
-
AuthorPosts
-
JoanParticipant
Hi Casey,
So this is auto? There’s no way to define wich events are related?
JoanParticipantMMMMM Ok but I think that the only incompatiblity with WPML is with wootickets. TEC pro is compatible?
JoanParticipantI’ve deactivated event calendars plugins and is a little bit faster than before. But isn’t the problem.
Talking about hosting resources you are wrong. Is a dedicated server with a lot of RAM (upgraded recently) and as you can see on the stats that I linked on first post everything is right.
Here you’re the link to stats
https://dl.dropboxusercontent.com/u/8676265/server.pdf.
I still thinking that may be is an WPML issueJoanParticipantBarry it affects al the admin. Not only organizer/venue.
I’ve deactivated all the wpml plugins and it loads 5 venues in 10 seconds. But when I activate this it loads on 15 seconds.
If I deactivate all the plugins of course everything goes faster.JoanParticipantI’ve WPML and I’ve deactivated all this plugins and it still being slow. Here you are a test:
WordPress Plugin Profile Report
===========================================
Report date: 6 mayo, 2014
Theme name: Petit Explorador
Pages browsed: 1
Avg. load time: 4.6656 sec
Number of plugins: 30
Plugin impact: 79.73% of load time
Avg. plugin time: 3.7197 sec
Avg. core time: 0.5253 sec
Avg. theme time: 0.0455 sec
Avg. mem usage: 333.25 MB
Avg. ticks: 235,964
Avg. db queries : 122.00
Margin of error : 0.3751 secPlugin list:
===========================================
P3 (Plugin Performance Profiler) – 0.0055 sec – 0.15%
Adminimize – 0.2547 sec – 6.85%
Akismet – 0.0106 sec – 0.28%
Codi A Mida – 0.0006 sec – 0.02%
Contact Form 7 – 0.0289 sec – 0.78%
Cred Frontend Editor – 0.0320 sec – 0.86%
The Events Calendar PRO – 0.0295 sec – 0.79%
MailChimp Widget – 0.0110 sec – 0.29%
MailChimp – 0.0086 sec – 0.23%
Really Simple CAPTCHA – 0.0004 sec – 0.01%
Sitepress Multilingual Cms – 0.9522 sec – 25.60%
Taxonomy Images – 0.0135 sec – 0.36%
The Events Calendar – 0.0570 sec – 1.53%
Access – 0.7158 sec – 19.24%
Types – 0.0687 sec – 1.85%
Wangguard – 0.0156 sec – 0.42%
Woocommerce Gateway Redsys – 0.0014 sec – 0.04%
WooCommerce Google Analytics Integration – 0.0018 sec – 0.05%
Woocommerce Multilingual – 0.1478 sec – 3.97%
Woocommerce Views – 0.0054 sec – 0.15%
WooCommerce – 0.1122 sec – 3.02%
The Events Calendar: WooCommerce Tickets – 0.0019 sec – 0.05%
Wordpress Seo – 0.0812 sec – 2.18%
WP Views – 0.1302 sec – 3.50%
WP Pro Ad System – 0.0066 sec – 0.18%
Wpml Cms Nav – 0.0049 sec – 0.13%
Wpml Media – 0.0065 sec – 0.18%
Wpml String Translation – 1.0086 sec – 27.11%
Wpml Translation Management – 0.0050 sec – 0.13%
Empty – 0.0015 sec – 0.04%Seems a issue from WPML
JoanParticipantHi Barry,
First of all thank you for your quickly reply. I’m listing organizers and venues for 5 for each page.
JoanParticipantThank you barry. Great job!!! Great plugin!!!
JoanParticipantHope it works
JoanParticipantSorry
query( array(
‘post_type’=> ‘tribe_venue’,
‘posts_per_page’ => 24,
‘paged’ => $paged));
if ($upcoming->have_posts()) :
while ($upcoming->have_posts()) :
$upcoming->the_post();
?><a href="”>
<a href="” rel=”bookmark”>
<a href="” rel=”bookmark”>Properes activitats
num_events;?>
$upcoming ) ); // tell it which query we are paginating
endif;
wp_reset_query(); // important to reset the query
?>JoanParticipantYes of course,
function aolot_getVenueNextEvents($venue_ID)
{
global $post;
global $wp_filter;
$expos = new WP_Query();
$expos->query( array(
‘post_type’=> ‘tribe_events’,
‘eventDisplay’ => ‘upcoming’,
‘posts_per_page’ => -1,
‘meta_query’ => array(array(
‘key’ => ‘_EventVenueID’,
‘value’ => $venue_ID))
));return $expos->posts;
}JoanParticipantThank you Joanh,
I ve done some modification on my funtion to get the number of events and it works!!!
JoanParticipantI’m so sorry but if I put these gist in my theme function it returns all the venues with 55 events. May be I need to rewrite my venue query.
JoanParticipantThis reply is private.
JoanParticipantOf course! Here you are
JoanParticipantHi Jonah,
If I put this code every venue has de same number of events. In this case everyone has 47 events par venue….
-
AuthorPosts