Aaron Axelsen
Forum Replies Created
-
There are 3 areas of code that you will need to change if you wish to use a custom taxonomy instead of the default category:.
In the examples below I will use ‘mycat’ as the slug for my custom taxonomy.
In the “expirationdate_delete_expired_posts” function find
wp_update_post(array('ID' => $a->post_id, 'post_category' => $cat[0]));and replace with
$terms = array_map('intval', $cat[0]); wp_set_object_terms($a->post_id,$terms,'mycat',false);In the “expirationdate_meta_box” function find
wp_terms_checklist(0, array( 'taxonomy' => 'category', 'walker' => $walker, 'selected_cats' => $categories, 'checked_ontop' => false ) );and replace it with
wp_terms_checklist(0, array( 'taxonomy' => 'mycat', 'walker' => $walker, 'selected_cats' => $categories, 'checked_ontop' => false ) );In the “postExpiratorMenuGeneral” function find
wp_terms_checklist(0, array( 'taxonomy' => 'category', 'walker' => $walker, 'selected_cats' => $categories, 'checked_ontop' => false ) );and replace it with
wp_terms_checklist(0, array( 'taxonomy' => 'mycat', 'walker' => $walker, 'selected_cats' => $categories, 'checked_ontop' => false ) );That should do the trick – or at least it did for me in my testing on 3.3.2
I tested this on 3.3.2 and did not have any issues – possibly other plugin conflicts?
Also – just for kicks, go to the post expirator setting page and just click save to make sure its registering all of the default values there. And it wouldn’t her to run the reset cron schedules option on the upgrade tab
Since you are having this issue with more than 1 plugin – I would try just one at a time, and verify that your wordpress install is correctly setup.
The issue fixed in 1.5.3 may have corrected this for you – give it another go!
you can choose what page it goes to – just put the page ID in the fan page ID area.
When you authorize the app with facebook, it has permission to post to ALL pages you are an admin of, not just a specific page.
I don’t know much about that facebook plugin, I typically use:
http://wordpress.org/extend/plugins/simple-facebook-connect/
I have never had any conflicts or issues with that plugin.
When the post expires, it does change the status to draft which I suppose could trigger the other plugin to re-publish if it is not coded correctly to only allow the page to be published to facebook once.
As for the schedule post issues, it sounds like you may be having some cron issues on your system, since that uses the same infrastructure as the post expirator to publish the post.
did you specifically try hitting the “upgrade” link and resetting the cron schedules in the settings area?
Thats what I thought, but I just wanted to be certain. Thats too bad. Facebook also does not allow creation of generic accounts for such purposes either. So, it seems like there really seems like I may be SOL
Are you talking about the month drop down when setting the expiration date or are you referring to some other area?
The month drop down is currently programatically generated, which doesn’t seem to like localization. I can address this in a future release.
If you can provide a link to the code I can take a look and see – feel free to just dump it into pastebin.com
On the post expirator settings page, go to the “upgrade” link and try resetting the cron schedules.
Great – glad you got it working!
I was able to reproduce this and have a fix. I’ll be rolling out 1.5.2 later today here.
Can you let me know what your timezone settings are on your install? I will see what I can reproduce.
Should be fixed in 1.5 – the box now defaults to the side