Search Results for 'bbpress'
-
Search Results
-
I imported a forum from vbulletin to bbpress. The Topis are all important and if I go to “View” from the administration I see them correctly and they also have the right category but if I go to see the forum category no Topics is displayed.
How can I do?
Thank youHi there,
There is a setting in “Settings | Discussion”, Whereby you can set the amount of links a forum user can insert in the forum post:
“Hold a comment in the queue if it contains n or more links”.
I had set it to 2. I also have the plugin: “Image Upload for BBPress” installed, to enable users to upload images.
Unfortunately, when a user adds now e.g. 2 or more images, the post gets held for moderation. The same happens if the user enters one image and one hyperlink.
This is not the desired effect.
Can I report this as a bug plz?
kind regards
DanielHi, i’ve searched a lot but i didn’t find any answer. On bbpress website i’ve built 2 differnt type of forum, 1 is private and 1 is public. Now i need to deny access only to public forum to a certain wp user role (already set).
I think i have two ways, but how to do them?
1. Turn public forum to a private forum and automatically assign to a every new-subscriber the access to this forum, so i can exclude user assign them a different role.
2. Block the access only to public forum to a certain role (i’ve tried with many plugins as content control or user access registration but it seems that doesn’t work.)Any suggestions? Even php code to implement for me would be ok. Thanks.
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 );
Dear community,
if I want to delete a topic or a post by clicking on “Recycle Bin”, it is no longer possible to restore the topic/post because the “marked” object has already been removed from the database.
If I click on “Delete” again, the page is reloaded and I see all the topics that I had deleted. After reloading the page, these posts have disappeared.I use the bbpress version 2.6.6. The wordpress version is 5.7.2. I am using the Avada theme. The forum is password secured, so it is not possible for me to share a link here.
Thank your very much if you know how to fix this issue.
Kind regards
MarcoI’m wanting to create conditional logic that responds to whether a user is logged in to bbpress.
Googling helped me to find these two functions:
bb_current_user_can()
bb_is_user_logged_in()However, when I use them, I get the error “Call to undefined function bb)…”.
This happens even when I tie my containing function to the hook ‘plugins_loaded’, which I believe fires after all activated plugins have loaded.
(I first tried to use the hook ‘wp’)
So I’m just double-checking…
Should I be able to use either of those two functions to test if a user requesting a resource is a logged-in bbpress user?
I’m not sure if this is an issue with bbPress or BuddyPress; forgive me if I’m posting this in the wrong place. I recently added BuddyPress to my installation which already had bbPress, and I see that when a BuddyPress group has a forum, it’s added to the list of forums like the bbPress ones. Awesome!
However, if I change the description of the BuddyPress group, the bbPress forum list still shows the old description. If I go to Forums > All Forums, I can edit the description which updates the description on the forums list. Is this a bug, or are you supposed to have to update it in two places? Is it allowing for some users to have a different description in bbPress vs BuddyPress?
bbPress: 2.6.6
BuddyPress: 8.0.0
Wordpress: 5.7.2
Site (though most of the forums are private): https://antiochfc.org/forumsI am running BBpress with the Highend theme. I have set up the forums and they look great, but the “subscribe” button is missing. “Allow users to subscribe to forums and topics” is checked in the settings. I assume it’s a theme conflict, but without the forum subscribe button, the functionality for our users is crippled. Is there any way to correct this? Thanks!
Wordpress 5.7.2
bbpress 2.6.6I’ve done something, but I don’t know what? I think the slugs for the ‘forum’ page may have had a conflict (there was a warning message, but I changed the names), and I think the tabs went missing after I rebuilt the tables, but the tabs have totally disappeared now, and I don’t know how to get them back. Its a backend issue, as its not affecting the front end – you can still get to the forum page
I uninstalled and deleted/reinstalled bbpress, and it hasn’t brought the tabs back.
I’m really worried that if I delete the Buddypress plugin, I will lose my settings and customer lists of Participants. Any advice would be very much appreciated.
bbPress Version 2.6.6
Buddypress Version 8.0.0
Wordpress the latest
FORUM HERE