kwerri
Forum Replies Created
-
Hi G,
I don’t think I have the time to rewrite the plugin, but I’m more than happy to provide help to anyone who is having a problem using it.
Unfortunately, there are a ton of lines where the plugin developer is not using the prepare function correctly.
Wherever you see the error, if the line is like this:
$rs = $wpdb->get_results( $wpdb->prepare( “Select ID from “.$wpdb->base_prefix.”users where user_status in (2,69)” ));
Then amend it so that it is now like this:
$rs = $wpdb->get_results( $wpdb->prepare( “Select ID from “.$wpdb->base_prefix.”users where user_status in (2,69)”, “” ));
Forum: Plugins
In reply to: [Registration Options for BuddyPress] diable notifications for non AdminsYou need to go to includes/admin.php and look for this function:
wds_bp_registration_options_admin_messages
Then you need to enclose the body of the code with this:
if (current_user_can('add_users'))
{
and this
}
Actually, the problem isn’t fixed; it seems there’s something wrong with the shell_exec command that does the zipping so that once it’s done, it doesn’t go on to add the sql file to the files zip file.
I think it may be a permissions issue as this works when I do the zipping manually but it doesn’t work when the zipping happens via the wp_cron job.
Fixed this – I needed to add both the define( ‘HMBKP_FILES_ONLY’, false ); and define( ‘HMBKP_DATABASE_ONLY’, false ); settings to my config file (even though I thought these were false by default).
Forum: Themes and Templates
In reply to: Adding link to author's posts on profile pageI forgot to add that I’m using BuddyPress.
In the end, I fixed the problem my updating the following files in my theme:
members/members-loop.php (in the bp_the_member() loop, to get the link in the list of members);
members/single/member-header.php (in the item-meta div);
<span class="author-posts"> <a href="<?php echo get_author_posts_url(bp_get_member_user_id()); ?>">Read all posts by <?php echo bp_member_name(); ?></a> </span>
Forum: Themes and Templates
In reply to: Adding link to author's posts on profile pageHello Michael,
I’m a bit confused here. Should I install the PJW user meta plugin first, then do the code customisation?
Forum: Plugins
In reply to: Cubepoints showing up in member listNo response yet?
Forum: Fixing WordPress
In reply to: Comment notification plugin soughtThere is a checkbox under Settings / Discussion for “Email me whenever anyone posts a comment”. Regardless of whether the comment needs moderation. That seems to address your issue.
Stvwlf,
Funnily enough, this seemed to do what I wanted even without any plugin. I thought it would email the Admin only.
Thanks a lot!
Forum: Fixing WordPress
In reply to: Comment notification plugin soughtHi Stvwlf,
Again, thanks for taking the time to look into this in detail.
Yes… you are right. When the plugin is installed and an email gets sent out to the admins to moderate a comment, it will also get sent out to the creator of that post that the comment was made on.
The problem is that my site is set up so that we only allow registered users to comment and we don’t moderate comments made by registered users unless it’s their first comment; in this case, once we approve that first post, they may make future comments without those comments needing moderation.
This means that the author of a post will not get a notification that a comment was made on his post if the maker of the comment is a registered user whose comments have been auto-approved (since this post will have been approved directly and won’t need to have an email sent to inform that it is awaiting moderation). This is the reason that I didn’t see this working.
Forum: Fixing WordPress
In reply to: Comment notification plugin soughtHi Stvwlf,
Thanks for sticking with me on this one.
I tried the plugin you suggested, and I find that while I (as an admin) get notifications when people post a comment on my posts, I find that contributors do not get notifications when people post comments on the posts that they have created.
The closest plugin to what I want is the Subscribe To Comments one, except for the weird problem that I listed in my previous post. But I would be happy if I found a plugin which did simply this (and only this):
Notified a creator of a post (whether a contributor, author or Admin) of any comments that had been made to that post by sending an email to the email address that they used to register when they signed up to the site.
I just wish it wasn’t that hard to find… ??
Forum: Fixing WordPress
In reply to: Comment notification plugin soughtThat should happen automatically. Make sure that your authors check the email address in their WordPress profiles and ask them to check the spam folders in their email systems too.
Macmanx,
Sorry – when I say ‘Author’, I mean anyone who has written a post, including contributors.
Unfortunately, contributors do not automatically get notifications when people make comments on posts that they have authored.
I tried Subscribe to Comments again, and this is what I notice:
– Let’s say I login as contributor called Conti with email address [email protected] to create a post called Posti. Then when I login as Conti and navigate to the bottom of Posti, I cannot click on any checkbox to subscribe. All I see when I go to the bottom of Posti is this – “You are subscribed to this entry. Manage your subscriptions”.
– When I login as someone else to make a comment on Posti, I do not get any notification at [email protected] even though I am allegedly subscribed to Posti. This is the crux of the problem I am having.
I thought that clicking on the ‘Manage your subscriptions’ link would help me resolve this, but this takes me to a page that says “You may not access this page without a valid key.” I have no idea how to get this ‘valid key’.
Forum: Fixing WordPress
In reply to: Comment notification plugin soughtThanks again, Stvwlf.
I know that as an Admin, I can receive notifications whenever someone posts a comment on a post.
But I’m looking for something that allows an *author* of a post to receive comments when someone makes a post on his post.
I noticed that the ‘Subscribe to Comments’ plugin would say that an Author was automatically subscribed to comments, but when I tested it, it didn’t seem to email an author when I made a comment on his post. Should it be doing that?
Forum: Fixing WordPress
In reply to: Comment notification plugin soughtHi Stvwlf,
Thanks for your response.
I looked at subscribe to comments and subscribe to comments now, and I like that they allow me to subscribe to a post that someone else made so that I get notified of comments posted to that post.
However, these plugins do not let me subscribe to a post that I make, so that I get notified of comments made to that post. Instead of seeing the checkbox at the bottom that I check to subscribe, I just see ‘You are the author of this post’. How can I subscribe to my own posts so that I can see the comments made? (I should add that I’m the Admin on the site – would this make a difference to the plugin’s behaviour?)
Also, I don’t feel comfortable about people seeing the email addresses of people who have subscribed to their posts in the ‘Manage Subscriptions’ page. How would I change this?