Forum Replies Created
-
In reply to: Topic / Reply Moderation Behavior
No, that doesn’t work because marking a post or reply for moderation does not set the errors (blacklisting words does, for example). And those happen before the post is saved.
If a user posts a topic or reply that is marked for moderation (Pending status), the post is actually created and saved, but there are two (uacceptable, in my opinion) behaviors when that happens.
If a new topic post is marked for moderation, after submit, the new topic title is displayed, along with breadcrumbs. Then there is a message that you can’t reply to this topic. That is totally mysterious and confusing behavior. The you can’t reply message seems to be triggered because a the new topic content is not displayed at that point, and sort of makes sense, but it doesn’t tell the poster that the post was marked for moderation.
When you do that with standard WP posts, the post will show to the poster, but with “Your post has been marked for moderation” or something like that. I believe the WP behavior is the same for marked for moderation comments.
As far as creating a Pending reply, then nothing at all happens. The screen refreshes, and the user thinks their reply went to never never land.
I don’t think that emailing the user that the post was marked pending for moderation is the least bit helpful. The user needs to know IMMEDIATELY in the actual interactive environment.
Because the reply screen is immediately refreshed/redirected after the “Submit”, even trying to put up a JavaScript alert doesn’t work. And trying to generate an error message doesn’t show up after the redirect.
It is possible to detect that the reply is pending after it has been saved, but I don’t see any way to pass that info along after the redirect.
This seems like a huge design oversite, seriously. As I said, before I disabled moderation, my users were generating many many attempts to resubmit the post/reply. But I think the moderation checking functionality is a good idea, but leaving the user confused is not.
In reply to: bug in 6.x – how has this not been found?Sorry – it was a plugin doing things before bbPress was fully loaded, as you suggested.
I don’t think there is a plugin or existing feature that does this.
I’m really surprised that this isn’t a common question, as it is a real huge issue that allows spammers a backdoor to register as a user to your site. Very bad. This code will redirect all login and password attempts to a static page on your site which can use the regular bbp login, register, and pass shortcodes.
You can use this custom code:
<?php // intercept the Register and Lost your password? links from the standard WP login screen define( 'REGISTRATION_URL', 'https://example.com/register'); add_filter('register_url','custom_redirect_login_register'); add_filter('lostpassword_url','custom_redirect_login_register'); function custom_redirect_login_register($reg_url) { return home_url( REGISTRATION_URL ); } /** * Redirects visitors to <code>wp-login.php?action=register</code> to * <code>site.com/registration-page-name</code> */ add_action( 'login_form_register', 'custom_catch_register' ); function custom_catch_register() { wp_redirect( home_url( REGISTRATION_URL ) ); exit(); } /* * intercept bbforum.me/wp-login.php?action=lostpassword and * bbforum.me/wp-login.php?action=retrievepassword * */ add_action( 'login_form_lostpassword', 'custom_filter_option' ); add_action( 'login_form_retrievepassword', 'custom_filter_option' ); /** * Simple wrapper around a call to add_filter to make sure we only * filter an option on the login page. */ function custom_filter_option() { wp_redirect( home_url( REGISTRATION_URL ) ); exit(); } ?>
There are articles on how do add custom code to your bbPress installation.
Note that this is an option provided with my plugin “Weaver for bbPress” which is a fully turn-key solution to creating a bbPress site. I have not created a stand alone version of this option yet.
In reply to: bbpress private messageSorry – I misread the topic as being related only to that plugin. Now it makes more sense to me. I thought you’d made a more general question. I guess I would have expected questions about a plugin to be in the general WP plugin forum, but it makes sense to be here too.
My plugin should be posted in a week or so – depends on the approval queue for plugins.
It is intended to be sort of a turn-key solution to starting a bbPress forum. Major difference from any other plugin I’ve found is that it has a bunch of pre-defined subThemes for bbPress – look a lot better than the default, will match most themes.
In reply to: bbpress private messageA message by email, or internally?
I have a new plugin called Weaver for bbPress (in the review queue at this moment) that adds an email mailto: link for moderators to the user’s Profile page. Pretty easy way to do sort of a PM.
I thought that most users would not want to expose their email address, but that could be made an option.