Hi, there!
I use the latest version of bbPress. Just found a login status issue on my forum https://forum.themevan.com
Reproduce the issue:
– Access to a sub-forum page before logging in
– Log in your account
– Back to that sub-forum page
You will see the reply form still doesn’t display and this page is unlogged in status, if you refresh this page, it works fine.
How to fix this issue?
Thanks!
I also have the same problem that I do a test and the registration email is intercepted as a suspected bot. I get redirected to https://mysite.org/wp-login.php?action=register
I am using WP Mail SMTP, I and I did a check mail which worked… and I have the correct host email name in settings/general, so I don’t see why the above is happening.
untested, but this might do it
add_filter( 'bbp_get_reply_author_display_name' , 'rew_reply_change_to_login', 10 , 2 ) ;
function rew_reply_change_to_login ($author_name, $reply_id) {
// Get the author ID
$author_id = bbp_get_reply_author_id( $reply_id );
$author_name = get_the_author_meta( 'user_login', $author_id );
return $author_name ;
}
add_filter( 'bbp_get_topic_author_display_name' , 'rew_topic_change_to_login', 10 , 2 ) ;
function rew_topic_change_to_login ($author_name, $topic_id) {
// Get the author ID
$author_id = bbp_get_topic_author_id( $topic_id );
$author_name = get_the_author_meta( 'user_login', $author_id );
return $author_name ;
}
let me know
The only plugin that does what you need is my GD bbPress Toolbox Pro: https://plugins.dev4press.com/gd-bbpress-toolbox/ and if you want, I can set demo website for you to test it.
Regards,
Milan
untested but try
if ( current_user_can( 'subscriber' ) ) {
add_action('wp_before_admin_bar_render', 'rew_admin_bar_remove_wp_profile', 0);
add_action('admin_bar_menu', 'rew_add_bbp_profile', 999);
}
function rew_admin_bar_remove_wp_profile() {
global $wp_admin_bar;
/* **edit-profile is the ID** */
$wp_admin_bar->remove_menu('edit-profile');
}
function rew_add_bbp_profile($wp_admin_bar) {
$current_user = wp_get_current_user();
$user=$current_user->user_nicename ;
$user_slug = get_option( '_bbp_user_slug' ) ;
if (get_option( '_bbp_include_root' ) == true ) {
$forum_slug = get_option( '_bbp_root_slug' ) ;
$slug = $forum_slug.'/'.$user_slug.'/' ;
}
else {
$slug=$user_slug . '/' ;
}
$profilelink = '/' .$slug. $user . '/edit' ;
$wp_admin_bar->add_node( array(
'parent' => 'user-actions',
'id' => 'bbp-edit-profile',
'title' => 'Edit Profile',
'href' => $profilelink,
) );
}
OK, I am a bit confused.
I create test account and started a topic.
I immediately see that there is no status | type drop-down lists so that is good.
But I put 3 hyperlinks in the topic and hit submit and it went through the system. So why did it do this when we have said comments with over 2 links should flag for moderation?
just set yourself up a test account
so create a user called say ‘myusertest’ and give it a fictitious email account – it has to be in the correct format so say ‘abc@def.com’ and set a password
you can then log on as that user and you’ll get participant access to see.
probably – suggest you test with users of different capability if you want to be sure
This code (untested) should subscribe all current users to forum ID 3
$list = get_users();
if (empty (get_option ('rew_done')) {
foreach ($list as $user) {
$user_id = $user=>ID ;
$forum_id = 3 ;
bbp_add_user_forum_subscription( $user_id, $forum_id ) ;
}
update_option ('rew_done' , 'done' ) ;
}
Put this in your child theme’s function file – or use
https://en-gb.wordpress.org/plugins/code-snippets/ and load a page, then remove it
in style pack, I just list plugins I have found and used on client sites, and were working at the Time of testing. I can’t say if they still work, and sorry don’t have time to test regularly 🙂
Yeah, that is understandable.
In bbp style pack it lists a few other plugins. I wonder if we could indicate any that won’t work with the latest bbp build.
Also, if it is not maintained I guess there is no where to ask for help.
I understand people getting overwhelmed.
But I tend not to install plugins that say they are not supported.
Was thinking of:
bbPress Advanced Statistics
Andrew
I’d suggest you talk to your host provider, but also
It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
I tried doing this with a staging website and it would not convert. Has this importer been tested with recent editions of phpBB?
wp 2.5.4 / bpp 2.5.14
Hi everyone,
does someone have an idea how to fix this ?
the search bar is displayed correctly but the search button is not displayed at all.
The more strange thing is that for testing purpose, I installed the 2.6RC7 version on the exact same config (exept bbpress of course) and here the button appears.
Thank you for your advices.
bV
you will need to do some testing to understand how subscriptions work, but in essence if you subscribe to a forum or thread, then you receive updates to that thread that do indeed contain the content.
blah
test reply
1505
blah
Hi @lylatylor,
I went ahead and purchased the bbPress Notify (No-Spam) Digests add-on to the bbPress Notify (No-Spam) plugin by Vinny Alves. Didn’t want to pay for a plugin whilst I’m just testing my yet-to-be-launched community but since email updates are a central part of its function I wanted a plugin that was actively supported.
Hello all,
I am using BuddyPress with bbPress and I am noticing an issue when I have a forum topic with multiple pages. When I add a new reply it creates a BuddyPress activity that stores in the DB a primary_link of the type /forums/topic/topic-name/page/XX/#post-YYYY
. For example /forums/topic/test-notification-for-reply/page/2/#post-3063
The problem is that if I delete some previous replies from page 1 and this reply moves to the first page from the second page it was previously, its activity permalink (primary_link) remains the same and the activity still points to page 2 of the topic (not page 1 that is its new page).
Is there any fix for this?
as a test can you try with just bbpress and private groups, as if that is ok, add the others back until you find which one is allowing this
Hello, how i can edit topic slug, I would like it to display as below:
Now is: https://epolonia.pl/topic/teamt-dania-podatki/
But i want to display like https://epolonia.pl/forum/dania/podatki/test-topic/
Where:
forum is forum index
dania – is category forym
podatki – is subcategory forum (dania)
test-topic – is a tittle of post.
If you just want to remove it from the list then you could amend loop-single-forum.php
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend this
change it to (assuming 40250 is the fiorum id)
<?php
/**
* Forums Loop - Single Forum
*
* @package bbPress
* @subpackage Theme
*/
if ( !bbp_get_forum_id() == '40250')) {
?>
<ul id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>>
<li class="bbp-forum-info">
<?php if ( bbp_is_user_home() && bbp_is_subscriptions() ) : ?>
<span class="bbp-row-actions">
<?php do_action( 'bbp_theme_before_forum_subscription_action' ); ?>
<?php bbp_forum_subscription_link( array( 'before' => '', 'subscribe' => '+', 'unsubscribe' => '×' ) ); ?>
<?php do_action( 'bbp_theme_after_forum_subscription_action' ); ?>
</span>
<?php endif; ?>
<?php do_action( 'bbp_theme_before_forum_title' ); ?>
<a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a>
<?php do_action( 'bbp_theme_after_forum_title' ); ?>
<?php do_action( 'bbp_theme_before_forum_description' ); ?>
<div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>
<?php do_action( 'bbp_theme_after_forum_description' ); ?>
<?php do_action( 'bbp_theme_before_forum_sub_forums' ); ?>
<?php bbp_list_forums(); ?>
<?php do_action( 'bbp_theme_after_forum_sub_forums' ); ?>
<?php bbp_forum_row_actions(); ?>
</li>
<li class="bbp-forum-topic-count"><?php bbp_forum_topic_count(); ?></li>
<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count(); ?></li>
<li class="bbp-forum-freshness">
<?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
<?php bbp_forum_freshness_link(); ?>
<?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
<p class="bbp-topic-meta">
<?php do_action( 'bbp_theme_before_topic_author' ); ?>
<span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
<?php do_action( 'bbp_theme_after_topic_author' ); ?>
</p>
</li>
</ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> -->
<?php } ?>
Not tested but should work, if not then might be another bbpress plugin overwriting the template – come back
there is a fuction
bbp_delete_topic
function that you can substitute which I have not tested
Dear Robin,
I installed your suggested plugin. Added the role keymaster to the list of email recipients when a new topic or reply is created. I tested it, it works!!
Amazing. Your time to reply made a major change on the functionality of my website. Thanks a million.
Gijs
I checked the database posts table via phpmyadmin and confirmed that replies posts did not come over to bbpress. Is there a way I can fix this manually by running some manual sql code?
I’m using latest wordpress just downloaded today, and latest version of bbpress (bbPress 2.5.14).
During the conversion I only get the following error which I don’t think tied to the replies posts not coming over.
Repair any missing information: Continue
WordPress database error: [Table ‘*.*_core_tags’ doesn’t exist]
SELECT convert(core_tags.tag_meta_id USING “utf8mb4”) AS tag_meta_id,convert(core_tags.tag_text USING “utf8mb4”) AS tag_text FROM *_core_tags AS core_tags LIMIT 0, 100
No tags to convert
No super stickies to stick
can only suggest
It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back