Send email on new comment when no admin approval needed?
mmm, well Comments Notifier (WordPress Plugin) did the trick
mmm, well Comments Notifier (WordPress Plugin) did the trick
Would you consider using a specific category or tag to use on posts that require notification? If so, you could use Peter’s Collaboration E-mails plugin which can automatically notify you (or other specific users) when a post is set to Pending, Scheduled, or Published. In the plugin settings, you can define specific categories, post tags, … Read more
This should be visible by default on your WP admin dashboard under “recent comments”. is there something else you’re looking for it to do?
Here are a couple of things: You’re mixing ‘ and ” in a very bad way! You’re echoing inside a string. Don’t do that. You’re silencing any errors on the wp_mail function, so if WordPress is giving you an error you’ll never see it! First, fix your ‘ and ” problem. Your $subject definition should … Read more
Assuming that you are talking about the WP Toolbar, not the BuddyBar. (The basics of doing this for the BuddyBar are the same at the BP level, but the details of rendering the content are different.) It will be instructive to look at how BP itself builds its Notifications dropdown, in bp_members_admin_bar_notifications_menu() (bp-members/bp-members-adminbar.php). It uses … Read more
What you’re looking for is a combination of KB New Posts, which shows visitors posts that they have not yet read Smart Unread Comments and some notification bar system, one of these four may make a good choice Of course you will have to couple them yourself to suit your needs and requirements. As far … Read more
You could add a dashboard widget that grabs a feed.
You can show admin notices via the admin_notices action. You can display it for a specific user by checking the contents of the global $current_user: function wpa80367_admin_notice() { global $current_user; if ( ‘someusername’ == $current_user->user_login ): echo ‘<div class=”updated”><p>’; echo ‘This is an admin notice just for you, someusername.’; echo ‘</p></div>’; endif; } add_action( ‘admin_notices’, … Read more
First you need to setup component for this: function notifier_setup_globals() { global $bp, $current_blog; $bp->notifier = new stdClass(); $bp->notifier->id = ‘notifier’; $bp->notifier->slug = ‘notifier’; $bp->notifier->notification_callback = ‘bp_notifier_format_notifications’;//this is a function which gets notifications $bp->active_components[$bp->notifier->id] = $bp->notifier->id; do_action( ‘notifier_setup_globals’ ); } add_action( ‘bp_setup_globals’, ‘notifier_setup_globals’ ); To add notifications call something like this inside your action: bp_core_add_notification( … Read more
For the arguments, check the source: $notify_message = apply_filters( ‘comment_notification_text’, $notify_message, $comment_id ); You have two parameters. The first is the notification text itself, prior modification by your filter. It is constructed earlier in the same function and is different for comments, trackbacks, and pingbacks. The second parameter, as you might guess from the name, … Read more