John Peden
Forum Replies Created
-
Forum: Plugins
In reply to: [Gravity Forms + Stripe] Activation Takes My Site DownFixed this after totally deleting all plugins and installing the latest releases…some conflicts with older versions that hadn’t been cleared out.
Forum: Reviews
In reply to: [Cookii - Free GDPR Cookie Consent] Thanks for the plugin and a requestHey there,
I’m not familiar with it. Would you be interested in this feature if I could add it in the next release of the premium version?
Thanks
Forum: Reviews
In reply to: [Cookii - Free GDPR Cookie Consent] Rip offYikes! Do you have any idea how much time and effort went into developement of this? Anyway, I agree, $9/month is pretty steep. I’ve dropped the price to just $3/month and am getting the site setup today.
If you still don’t feel that is reasonable, I’d love to know what you feel would be fair.
Forum: Plugins
In reply to: [Cookii - Free GDPR Cookie Consent] Banner not showing after installationHey man,
Apologies for the delay – still struggling on this?
I’ll mark as resolved assuming that the latest release has fixed it for you.
Forum: Plugins
In reply to: [Cookii - Free GDPR Cookie Consent] Banner disappears after refreshMassive apologies for the shit support and development on this guys. I’ve rebuilt an upgraded version of the plugin that works with the latest version of WP.
I’ll build this into the next release and patch it this week.
Forum: Plugins
In reply to: [Cookii - Free GDPR Cookie Consent] Multilanguage doesn't workHey man,
So I’ve just fixed everything but multi-language support is now a premium upgrade. If you want to fork development and build something yourself you can. I’ll be continuing to support a basic version of the plugin (for free) or a premium version at $9/month that you can download from here as of tomorrow:
Thanks
Forum: Plugins
In reply to: [Easy Webtrends] Cannot see "Tracking Code" optionI’ve just had my dev team completely overhaul the plugin and a new release will be ready next week.
Forum: Plugins
In reply to: [Cookii - Free GDPR Cookie Consent] Multilanguage doesn't workHey man – sorry, I’ve let development slip on this!
I’ll get it fixed in the next week.
Forum: Fixing WordPress
In reply to: Running A Calculation On All Users Every MonthHere’s what I came up with:
function schedule_roi_calc() { /* Get the highest user ID number */ global $wpdb; $last_user = $wpdb->get_var ( "SELECT ID from wp_users ORDER BY id DESC LIMIT 1" ); /* Check the last user's account */ $processed = get_the_author_meta( "roi_processed", $last_user ); $diff = strtotime("-3 weeks"); // get unix timestamp of three weeks agao /* Loop through users if processed value doesn't exist or last calculation took place more than three weeks ago */ if( $processed == '' || $processed <= $diff ) { // Get total number of accounts $total = count( $wpdb->get_results ( "SELECT ID from wp_users" ) ); for($i=0; $i<=$total; $i += 25) { // create start and end records with 25 LIMITS $query = "SELECT ID from wp_users LIMIT $i,25"; $accounts = $wpdb->get_results ( $query ); foreach ( $accounts as $users ) { user_roi_calculation( $users->ID ); } } } }
I’ve got 25K user accounts on this site and this timed out when I called it within the theme after 30 seconds and around 4000 users.
I’ve hooked it into wp_cron to run daily to see if it works.
Forum: Fixing WordPress
In reply to: Running A Calculation On All Users Every MonthBeen doing some reading on this Calvin and have come up with this process:
1) Run monthly using wp_cron
2) Check to see if highest user_id has process completed tag in meta data
3) If there are still accounts to process (#2 returns FALSE) use start and end records plus MySQL LIMIT to the next process 25 user IDs.
4) Update user’s account to flag as having been processed
5) If number returned <25, final batch.
I’ve not been able to piece this together yet but see no reason why it shouldn’t work ??
Forum: Fixing WordPress
In reply to: Can I Run A Single Site On Multiple Domains?I get it. Next step to figure out how the network is put together and see if I can do anything at that level?
Forum: Fixing WordPress
In reply to: Can I Run A Single Site On Multiple Domains?Hmm,
I’m not totally familiar with why their network behaves the way it does but this could be done if it was a WPMS site.
I’ve mapped multiple domains to a single site in the past and it’s worked fine.
Why can’t a single site make use of domain mapping in the same way?
Is this still a problem for you?
Did you get this fixed?
Forum: Plugins
In reply to: [Cookii - Free GDPR Cookie Consent] Cookie notification keeps popping upDid you get this fixed? I’ll patch it if not.