Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter keendev

    (@keendev)

    Hi George,

    That is good to hear. Just a question, do you know if the developers will intend to fix this issue? Im asking because client requires that it is fixed so I’m debating if i should manually edit the plugin for the time being.

    Thank you

    Thread Starter keendev

    (@keendev)

    Thanks works great now!

    Thread Starter keendev

    (@keendev)

    Hi,

    Thanks for the reply. We are a using wordpress multi-site. Running version 4.2.2.

    Plugin list:
    24liveblog
    Facebook URL Linter for Posts
    Force Regenerate Thumbnails
    Formidable
    Implied Cookie Consent
    Join My Multisite
    Meta Box
    NextScripts: Social Networks Auto-Poster
    Social Sharing Toolkit
    User Role Editor
    User Switching
    W3 Total Cache
    WordPress Popular Posts
    WordPress SEO
    WordPress SEO News
    WP-PageNavi
    wpMandrill

    We have a couple of internal plugins as well.

    Thread Starter keendev

    (@keendev)

    Ok so i took a buzz and tried to tackle this myself.

    Step 1:

    add_filter('w3tc_cdn_update_attachment', 'pending_images_to_queue', 10, 1);
    add_filter('w3tc_cdn_update_attachment_metadata', 'pending_images_to_queue', 10, 1);
    
    function pending_images_to_queue($files) {
    
    	$w3plugin_cdnCommon = new W3_Plugin_CdnCommon();
    
    	foreach ($files as $file) {
    
    		$w3plugin_cdnCommon->queue_add($file['local_path'], $file['remote_path'], '1', '');
    
    	}
    
    	return array();
    
    }

    Step 2: (Create Cron which will handle the uploading)

    <?php
    define('WP_USE_THEMES', false);
    require('wp-blog-header.php');
    
    set_time_limit(600);
    
    $w3_plugin_cdn_normal = w3_instance('W3_Plugin_Cdn');
    $n = $w3_plugin_cdn_normal->cron_queue_process();
    
    echo  sprintf(__('Number of processed queue items: %d', 'w3-total-cache'), $n);
    
    ?>

    If I could get a developer to let me know what they think that would be appreciated.

    Thread Starter keendev

    (@keendev)

    Thanks bcworkz,

    I’ve decided to go along with the taxonomy approach. Seems like the best approach, unfortunately it doesn’t allow adding custom fields through actions and filters since its much cleaner then injecting via jquery.

    Either way thanks for taking the time to look into this, it is much appreciated.

    I noticed you linked someone suffering from the same issue to this topic, I could be wrong though. Sorry about that.

    Thanks for the timely support though.

    Hi I am still getting this error:

    Array ( [pgID] => [isPosted] => 0 [pDate] => 2014-02-14 15:35:15 [Error] => [ERROR] This link could not be posted.
    )

    I have Version 3.2.3 of plugin.
    Wordpress 3.6

    is wordpress 3.6 the issue here? We have a fair bit of work to get the website to be 100% functional on 3.8.1 so i’d appreciate if its possible for the plugin to work good on 3.6 If not then not to worry 🙂

    What do you think NextScripts?

    Wow, great way to totally ruin a plugin.

    Hi guys,

    I have seemed to fix the issue please do the following and let me know if it works for you.

    I believe the issue stems from the following:

    If you delete a category it remains in the cached options of categories a user can post to. Now since Restrict Categories will loop through all these categories and try find the ID a deleted category will return no id cause the query to mess up. This could be something inside 3.5 causing the issue.

    So do the following:

    Find:
    $this->cat_list .= $term_id . ',';

    Above Add:
    if ( !empty( $term_id ) )

    You will need to perform this twice. The lines associated with these edits is 461 and 484.

    Please let me know what happens 🙂

    Thread Starter keendev

    (@keendev)

    Hi guys,

    I have seemed to fix the issue please do the following and let me know if it works for you.

    I believe the issue stems from the following:

    If you delete a category it remains in the cached options of categories a user can post to. Now since Restrict Categories will loop through all these categories and try find the ID a deleted category will return no id cause the query to mess up. This could be something inside 3.5 causing the issue.

    So do the following:

    Find:
    $this->cat_list .= $term_id . ‘,’;

    Above Add:
    if ( !empty( $term_id ) )

    You will need to perform this twice. The lines associated with these edits is 461 and 484.

    Please let me know what happens 🙂

    Hi guys,

    I have seemed to fix the issue please do the following and let me know if it works for you.

    I believe the issue stems from the following:

    If you delete a category it remains in the cached options of categories a user can post to. Now since Restrict Categories will loop through all these categories and try find the ID a deleted category will return no id cause the query to mess up. This could be something inside 3.5 causing the issue.

    So do the following:

    Find:
    $this->cat_list .= $term_id . ',';

    Above Add:
    if ( !empty( $term_id ) )

    You will need to perform this twice. The lines associated with these edits is 461 and 484.

    Please let me know what happens 🙂

    Thread Starter keendev

    (@keendev)

    However this has disabled it sitewide. Upon further investigation.

    Now if is visit:

    post-new.php

    it will not run the plugin at all, since post_type is not set. Though if i do:

    post-new.php?post_type=post, it works as expected and blogs out categories.

    I tried to get it to check if the currently edited post is a post type other then ‘post’ however the global $post variable is not available at init.

    So it seems as though the issue stands on post-new.php & for custom taxonomies.

    Regards

Viewing 12 replies - 1 through 12 (of 12 total)