Peter
Forum Replies Created
-
Sorry about that, and thanks for pointing that out. It was a bad oversight on my part. The upgrade code included the proper column creation code but as you’ve pointed out, the code for a fresh install was missing that. It has now been fixed, so anybody experiencing the problem on a fresh install should delete the plugin, re-download it, and re-install it.
There are many approaches, some outlined here:
http://www.theblog.ca/wplogin-redirect#comment-11089Thanks all for pointing that out. I’ve done some code cleanup which should remove those notices in version 2.1.1 of the plugin.
Forum: Plugins
In reply to: [LoginWP (Formerly Peter's Login Redirect)] Redirecting on first time loginThis feature has been requested in the past. The issue was that there is no flag in WordPress that says something like “hasn’t logged in yet”. So some other solutions check the registration time and just show a message or redirect to a welcome page within, say, the first 48 hours of registration. You can beef up that solution by adding a cookie on the user’s computer after the first login, essentially making it so that it only displays the first time.
I won’t be adding this feature in the short-term, but you could build this feature yourself by writing code that extends the plugin (see http://wordpress.org/extend/plugins/peters-login-redirect/other_notes/ for documentation) and share it back to the community!
Forum: Plugins
In reply to: [Peter's Post Notes] [Plugin: Peter's Post Notes] Custom Post Types support?Near the top of the plugin file, you should see the following:
// List of post types on which the post notes should be enabled $ppn_post_types = array(); $ppn_post_types[] = 'post'; $ppn_post_types[] = 'page';You can add subsequent lines, following the “post” and “page” examples, for other post types.
Thanks for the request. I don’t think I’ll add checks for specific plugins, but perhaps just settings so that you could manually disable any of the e-mails. In the meantime, a very quick fix could be to replace this code:
// E-mail moderator(s) for pending posts if ('pending' == $pce_newstatus && 'pending' != $pce_oldstatus) {With:
$disable_pending_email = true; // E-mail moderator(s) for pending posts if ( !$disable_pending_email && 'pending' == $pce_newstatus && 'pending' != $pce_oldstatus) {Try checking for www vs non-www inconsistencies in your WordPress setup in general.
Thanks. I will wrap those strings properly in the next release.
Thanks a lot for pointing this out. I will look at it for the next release.
I’ve finally set up my PHP 4 testing environment again. There is no PHP error with the fix from a few days ago. I’d suggest downloading the plugin directly from http://downloads.wordpress.org/plugin/peters-collaboration-e-mails.zip and then manually extracting it into your plugins folder, just in case you’ve cached the earlier release that wasn’t compatible with PHP 4.
Are you on a server running PHP 4?
I’ve just removed some PHP 5 code — please try again.
Version 1.5.0 should now support custom taxonomies.
In what way? Moderators per post type? If so, plans yes, but time is another issue.
Version 1.4.0 now has two extra settings to make this easier:
// Which roles on your site can only "submit for review" // Typically you do not have to edit this unless you have custom roles and capabilities $pce_contributor_roles = array(); $pce_contributor_roles[] = 'contributor'; // Which roles on your site can approve posts // Typically you do not have to edit this unless you have custom roles and capabilities $pce_moderator_roles = array(); $pce_moderator_roles[] = 'administrator'; $pce_moderator_roles[] = 'editor';For now, you could add their e-mail addresses. Or, at about Line 309 of the plugin, you could add this to the query:
OR ' . $wpdb->usermeta . '.meta_value LIKE \'%author%\''In the future, I’ll add more efficient user fetching for the collaborator lists.