Search Results for 'register'
-
Search Results
-
Dear bbPress-ers!
Hello. I’m Herman.
I will greatly appreciate your assistance with a couple of problems with my forum I’ve been trying to fix for a couple of days now with no solution.I wanted to display the message “Replies not viewable to non-members” to anonymous/not-logged-in users browsing my forum. This message replaces all actual replies with the generic one above. I was able to achieve this with the code below found on this page Dezzain website. The problem though is that this message shows up everywhere a reply is posted. So if there are 20 replies, there will be 20 generic messages.
So my request for help #1: I would like the 1 reply ONLY to display the generic message, and the other replies hidden. Any chance you can help me with it please?
#2, I would like to include a link to register/login in that generic reply. I am not too familiar with php. Can anyone rewrite the message below so that it also has a url portion for “Login here” | Register”?Thanks so very much in advance.
bb_auth_reply_view( $reply_id ) { $reply_id = bbp_get_reply_id( $reply_id ); // Check if password is required if ( post_password_required( $reply_id ) ) return get_the_password_form(); $content = get_post_field( 'post_content' , $reply_id ); // first topic reply shouldn't be hiding $rep_position = bbp_get_reply_position( $reply_id ); // if user is not logged in and not the first post topic if ( !is_user_logged_in() && $rep_position > 1 ) { return "Replies only viewable for logged in users" ; } else { // return normal return $content ; } } add_filter( 'bbp_get_reply_content' , 'bb_auth_reply_view' );
Topic: Styling Issue
Hi. Testing bbPress using Penci Soledad. Installed Robin’s Style Pack, but none of the changes are being registered. I cleared caches and all. I should note that I have a dark theme on my site and the styling needs help. Any advice?
Hi very new to bbpress so if this is easy and answer obvious please forgive a newbie.
Is it possible to set a forum up so the first post in a topic is available to public view
but any replies can only be seen by those registered. The owners association I’m asking the questions for wants to do this to encourage registration and joining the association.Many thanks
NeilIām using bbPress for quite a while now.
But for the last 3 weeks, Iām getting lots of spam & suspicious registration on my website using bbPress login, like mailforspam.com and others.
The strange part is that they are not even visiting my bbPress login page and other forum topics, there is no data of them in google analytics. They directly get registered somehow.
They just not only registered but also create some spammy topics. Can you tell me why Iām suddenly run into this problem?And, What can I do to stop them?
I’m using bbPress for quite a while now.
But for the last 3 weeks, I’m getting lots of spam & suspicious registration on my website using bbPress login, like mailforspam.com and others.
The strange part is that they are not even visiting my bbPress login page and other forum topics, there is no data of them in google analytics. They directly get registered somehow.
They just not only registered but also create some spammy topics. Can you tell me why I’m suddenly run into this problem?What can I do to stop them?
Hello,
I set up the Forum page, the registration page and the password reset pages. It seemed to be working ok until I get to creating a new user as if I am someone new (in order to test it).
This is for a multi-vendor site, using WooCommerce and Dokan Multi-Vendor.
Please check out this page as an example and proceed as if you are a new user setting up their username.
After you enter the username and email and then click the register button it directs to the shop page for the site. There isn’t a place in the editor that I can see that allows me to change where the register button links to. I filled out the urls correctly in the bb press login widget.
See attached photo: https://ibb.co/N10SKLt
This is urgent as it is keeping my client from launching their site. Thank you for your help!
Registered user need to auto login after registration suceess. I am registering user using bbPress register. Can any one help me out, Thanks in advance
Wordpress 5.7.2
BBPress 2.6.6Any help would be greatly appreciated!! I am at my wits end trying to figure this out….
I would like to get people automatically redirected to a page inside the forum instead of the WP dashboard, but it is not working. Here is what I have done so far:
1. After they are accepted into the program, they are sent to our register page: https://arianegoodwin.com/curiosity-cocktails-register-here/
2. I did figure out redirect code for after they register so they see this page:
(this is the code snippet I used for this):
// Redirect Registration Page
function my_registration_page_redirect()
{
global $pagenow;// Standard Registration Redirect
if ( (strtolower($pagenow) == ‘wp-login.php’) && (strtolower($_GET[‘action’]) == ‘register’) ) {
wp_redirect( home_url(‘/register/’) );
}// Redirection after successful registration
if ( (strtolower($pagenow) == ‘wp-login.php’) && (strtolower($_GET[‘checkemail’]) == ‘registered’) ) {
wp_redirect( home_url(‘/forums/log-in/’) );
}
}add_filter( ‘init’, ‘my_registration_page_redirect’ );
3. After they click on the link in their email to create their password, they are getting sent to the WP Dashboard and I need them to go to this page instead:
I have tried using Peters Login Redirect and that has not worked. I have also tried using this code inside the Snippets, which isnāt working either:
// Send new users to a special page
function redirectOnFirstLogin( $custom_redirect_to, $redirect_to, $requested_redirect_to, $user )
{
// URL to redirect to
$redirect_url = āhttps://arianegoodwin.com/forums/curiosity-cocktails-topic-map/’;
// How many times to redirect the user
$num_redirects = 1;
// If implementing this on an existing site, this is here so that existing users donāt suddenly get the āfirst loginā treatment
// On a new site, you might remove this setting and the associated check
// Alternative approach: run a script to assign the āalready redirectedā property to all existing users
// Alternative approach: use a date-based check so that all registered users before a certain date are ignored
// 172800 seconds = 48 hours
$message_period = 172800;/*
Cookie-based solution: captures users who registered within the last n hours
The reason to set it as ālast n hoursā is so that if a user clears their cookies or logs in with a different browser,
they donāt get this same redirect treatment long after theyāre already a registered user
*/
/*$key_name = āredirect_on_first_login_ā . $user->ID;
if( strtotime( $user->user_registered ) > ( time() ā $message_period )
&& ( !isset( $_COOKIE[$key_name] ) || intval( $_COOKIE[$key_name] ) < $num_redirects )
)
{
if( isset( $_COOKIE[$key_name] ) )
{
$num_redirects = intval( $_COOKIE[$key_name] ) + 1;
}
setcookie( $key_name, $num_redirects, time() + $message_period, COOKIEPATH, COOKIE_DOMAIN );
return $redirect_url;
}
*/
/*
User meta value-based solution, stored in the database
*/
$key_name = āredirect_on_first_loginā;
// Third parameter ensures that the result is a string
$current_redirect_value = get_user_meta( $user->ID, $key_name, true );
if( strtotime( $user->user_registered ) > ( time() ā $message_period )
&& ( ā == $current_redirect_value || intval( $current_redirect_value ) < $num_redirects )
)
{
if( ā != $current_redirect_value )
{
$num_redirects = intval( $current_redirect_value ) + 1;
}
update_user_meta( $user->ID, $key_name, $num_redirects );
return $redirect_url;
}
else
{
return $custom_redirect_to;
}
}add_filter( ārul_before_userā, āredirectOnFirstLoginā, 10, 4 );
Hello
ā getting a new error (that Iāve never seen before) when trying to register a new user
“No {status} key found in the server response, Please try again in a minute.”
Theme Name Kleo (kleo)
Version 5.0.3
Author SeventhQueenbbPress Version 2.6.6 by The bbPress Contributors
bbPress – Moderation Tools Version 1.2.4 by Digital Arm
bbPress Notify (No-Spam) Version 2.16 by Vinny Alves
Better Notifications for WP Version 1.8.6 by Made with Fuel
BP Profile Search Version 5.4.2 by Andrea Tarantini
BP Registration Options Version 4.3.9 by Pluginize
BuddyPress Version 8.0.0 by The BuddyPress CommunityServer architecture Linux 5.4.0-73-generic x86_64
Web server nginx/1.15.1
PHP version 7.3.28-2+ubuntu20.04.1+deb.sury.org+1 (Supports 64bit values)
PHP SAPI fpm-fcgiDatabase
Extension mysqli
Server version 10.5.10-MariaDB-1:10.5.10+maria~bionic-log
Client version mysqlnd 5.0.12-dev – 20150407 – $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $Hello,
1.How to automatic topic approve (open) for registered user?
2.If I use default setting for moderator approval,registered user can’t see any message after openede topic like a “Waiting moderator approving”
Best regards
Hi,
I’m testing my new website and found a problem with user registration. When a new user registers (in this case myself using a different email address), the verification email isn’t being send to the user.
I, as an admin receive the email that the user x is registered.
Wondering what could cause this issue? and is there any known fix for this?
Topic: Not able to register
When I try to use the form to register, it takes me to a login screen that I made with the Colorlib Login Customizer. I can create a new user with the Colorlib Login Customizer, though. My site is at http://dancing4locations.org. Thank you.
Hello,
For some reason anything that has to do with a forgot password or registering a new user it redirects users to the wishlist page on our site. Please find the following examples:
1) Forum Register:
When you click the register button on the far right it redirects to our wishlist page.
2) Lost Password for Forum:
Click on the Lost Password link and it redirects to the wishlist page.
3) Site Admin Login Forgot Password:
https://bassinonabudget.com/wp-adminClick on Lost Password and it redirects to the wishlist page.
Can someone please advise why this could be happening and if you know how to fix it.
Hi all.
I’ve been asked to create a forum that should be visible only to members.
It should entirely hidden to the public.I understand that this can be done with bbPress for the forum, and a plugin (or two?) to keep the forum entirely out of view of the public.
I’d also like to make the registration process as smooth as possible.
A form will be presented to applicants.
Upon approval, I’d like to give successful applicants immediate forum access, without them having to register manually.
I haven’t checked yet, but I imagine that an admin should be able to create users manually and send them membership details (after which they will be prompted to create a secure password).
My questions:
* What are the best tools for create privacy?
ie, ensuring that the forum will be invisible to anyone except registered forum members?* What might I need to know about creating a membership-approval flow that matches the one I’ve described above? Apart from a form-creation plugin, will I need any other third-party tools?
* Are there any ‘gotchas’ I should be concerned about when building a hidden private forum?
Thanks.