I’m having the same issue with bbPress email notifications coming through as HTML code. I’m using the BuddyBoss theme and platform and have reached out to their support for help, but haven’t found a solution yet.
@avaiya Did you ever find a solution to this? If so, what was it?
Sorry for the confusion. I did mean that I had no access to the old database but I got the sql.gz file of the old database backup that I transferred to a new phpmyadmin that the service provider had made with a wordpress site install. I’m not sure where to continue this anymore. Should I just whipe everything and start over or try to work it out. Again sorry for the confusion. So to put it simply so there is not confusion as I know I’m not the most clear when trying to explain something. I’m making a forum site for father-in-law. He has a old forum still on that is running phpBB. I need to transfer the forum posts etc from sql.gz file to the new site. I don’t know how the transfer tool works and couldn’t find a tutorial. Also if I did get it right I have no idea how to make it show up in bbPress.
Ok yes, starting with I’m completely new to this and I need to redesign my Father in laws, forum website. This would be my first time doing this and he said that there is no hurry as he heard from my wife that I know how to code but the thing is I’m only at the basics of C# so not sure if any use here but on to the point.
So he is not able to connect to the old website host site because I dont think it really exists anymore and/or was transferred to another host service. But he has a backup from the old database that used phpBB and he is not really willing to part with everything that was stored in that forum as it contains over 10 years of garthered info on the matter which is central to the forum. So I don’t feel that copying every post would be really a good way as there are around 200k posts on it.
So I have a wordpress site setup with BBpress and have the basics and the serviceprovider has the database on phpmyadmin. I’m looking to use the backup to somehow have the posts etc showup without messing with the actual site but im ok even if it wipes the new design.
I have tried using bbPress import tool but to no avail. I have not found any info considering this. So the old site is still active but I have no access to the old database but I have the old backup. The import tool did not make much sense to me but I tried.For example I am not sure do I use the root name when typing in the database name in the import tool so I have tried to look for a deeper explanation.Also I dont know how the old posts would show up in bbPress.
I want my users in the forum to appear semi-anonymously, so they only appear with their usernames, not their real names (full name / display name), how do I change that? I don’t mind coding snippets.
Tantraforum.dk forside
WP 5.2.4
bbpress 2.5.14
theme Spacious by themegrill 1.6.6
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
very doubtful that bbpress would add this – you’d need to register a trac ticket
I dug into this a bit further
The moderation in bbpress is looking for ‘<href…’ so if you just post links ie
you post this
https://bbpress.org/forums/topic/posts-with-3-or-more-links/
not this
<a href="https://bbpress.org/forums/topic/posts-with-3-or-more-links/">some link</a>
then no check is done – it is looking for links not urls
There is some capability in the code via
$reply_content = apply_filters( 'bbp_new_reply_pre_content', $reply_content );
to take out more than 2 links, but there is not an easy way to put 3 urls into moderation
do you really mean WordPress role subscriber or bbpress role participant ?
:)Side question – do the bbPress authors actively view these forums etc.? It all seems rather quiet. Apart from your grateful efforts. I raised one of those trac tickets:
https://bbpress.trac.wordpress.org/ticket/3266#ticket
This code will change the WordPress profile to bbpress profile
add_action('wp_before_admin_bar_render', 'rew_admin_bar_remove_wp_profile', 0);
function rew_admin_bar_remove_wp_profile() {
global $wp_admin_bar;
/* **edit-profile is the ID** */
$wp_admin_bar->remove_menu('edit-profile');
}
add_action('admin_bar_menu', 'rew_add_bbp_profile', 999);
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,
) );
}
Put this in your child theme’s function file – or use
Code Snippets
yes – that’s all correct. default bbpress role assigned on first login
Understood. I know some php and know c++ and this tool looked not too much code. But then I don’t know the mechanics of BBPress and don’t really know how to debug properly except by trial and error for php.
I might just try the tool on my staging site.
I installed it on another WP site and it didn’t crash so it seems my sandbox is broken. Sorry about that.
I was not able to find the way to what I am looking for, that is, to have Subscriber’s toolbar links of Edit Profile and Dashboard to the same page, /forums/users/{username} that the bbPress login widget gives. Can this plugin do it?
Hmmm, something might be wrong with my bbPress. I need to investigate.
do you have bbpress activated ?
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
Hello,
We can’t access the replies section in bbPress in the WP Admin. We get a HTTP 500 error.
I can see these errors in the debug.log:
[25-Oct-2019 15:41:03 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/amps/public_html/wp-includes/plugin.php on line 201
[25-Oct-2019 15:41:03 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 671744 bytes) in /home/amps/public_html/wp-includes/functions.php on line 4344
The site memory is set to 512MB.
A few other posts said this was due to bbPress Private Groups but we have disabled that and still cant’ view Replies in WP Admin.
We can see the replies perfectly on the front end.
Any ideas?
There are no other messages in debug.log
Thanks,
Vicky
Hello, anybody here who is a newbie? How you optimize the use of bbpress?
For anyone who stumbles upon this, I found the solution and placed it here
Yeah, but in forums like phpBB, if you close a topic you are locking the topic. This is indicated to the user by a icon. I added some styling which I had gleaned from the internet:
#bbpress-forums .status-closed > li.bbp-topic-title > a.bbp-topic-permalink:before {
content: "[Locked]";
text-shadow: 1px 1px 0 #ffffff;
color: #ff0000;
margin-right: 5px;
font-size: 16pt !important;
}
This gives me a lock symbol but the look and feel of this symbol is not as nice as the paper clip which is visible for topics with attachments (using the GD Attachments plugin).
I don’t know if this is a bug. I was just playing around with bbPress and created a new topic. In the option list is “Pending” so I selected it. I hit submit. The topic has vanished. No where to be seen.
What happened?
I found a way to put it in a plugin 🙂
I Thought I would have to hook into ‘plugins_loaded’ like so:
add_action( 'plugins_loaded', 'bbpress_overwrite' );
function bbpress_overwrite() {
add_filter ('bbp_before_has_search_results_parse_args', 'rew_amend_search') ;
}
function rew_amend_search ($args) {
$args['post_type'] = bbp_get_topic_post_type() ;
return $args ;
}
But for some reason this was enough: ?
add_filter ('bbp_before_has_search_results_parse_args', 'rew_amend_search') ;
function rew_amend_search ($args) {
$args['post_type'] = bbp_get_topic_post_type() ;
return $args ;
}
Can I also override files in the “includes” folder (bbpress/includes/search/template.ph) in a child theme?