I need to add a button to bbPress instance of the teeny MCE.
I’ve used the following code to test how my mce plugin work:
// add new buttons
add_filter('mce_buttons', 'myplugin_register_buttons');
function myplugin_register_buttons($buttons) {
array_push($buttons, 'separator', 'myplugin');
return $buttons;
}
// Load the TinyMCE plugin : editor_plugin.js (wp2.5)
add_filter('mce_external_plugins', 'myplugin_register_tinymce_javascript');
function myplugin_register_tinymce_javascript($plugin_array) {
$plugin_array['myplugin'] = plugins_url('/js/tinymce-plugin.js',__FILE__);
return $plugin_array;
}
This works like it should on the admin side.
I can’t wrap my head around how to get the same principle to work for bbPress instance of teeny mce. Which filter/action do I need to use and where? I’ve tried using the teeny_mce_buttons filter without any luck.
WP 4.2.4, bbPress 2.5.8
Step by step might be this
You copy the loop-single-reply.php file in your child theme in a folder called bbpress.
when you look at the code of theme template in your code editor, you will see an tag called
<?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
This peice of code has attributes to display your avatar and user role. You can place similar code around each other to reorder it to the layout you want.
For more information about cusotmizing the reply author link see here.
bbp_reply_author_link
Also I think you can reorder the reply content to show up first with CSS and just switch it around in the template file.
Since you found out it is your theme, you may need to contact your theme author especially if you are using a paid theme. There might be conflicting code in the theme.
If bbPress worked out of the box before, but doesn’t anymore.
Did you add custom bbPress templates??
Did you add any code to your functions.php file in a child theme??
try some Plugin/Theme troubleshooting
Troubleshooting
You can try increasing memory and see if that works, but only try it after you seen it is not another plugin or your current theme causing the issue and you have also tried some of the additional solutions listed.
Blank Pages
Funny thing is that bbPress has listed at least 6 German languages, maybe the one you would want needs to be the German → German (Formal)??
German
Swiss German
German (Switzerland)
German → German (Formal)
Swiss German → Swiss German (Formal)
German (Switzerland) → German (Switzerland) Informal
Hi,
This might be helpful:
Forum visibility:
Public – Anyone can see these forums
Private – Only logged in registered users with a forum role can see these forums
Hidden: Only Moderators/keymasters can see these forums
This is from the step by step guide:
Step by step guide to setting up a bbPress forum – Part 1
WP version: 4.2.2
bbPress version: 2.5.8
Our forums have not been displaying topics or posts for a while. Theoretically, they are viewable to the public, and the number of posts and topics is displayed. Registered users can even add comments, but they will also not be displayed.
We have checked with Twenty Twelve and Fifteen, and the problem disappears and the threads appear as normal.
Here is a link to a forum with threads.
General LSAT Discussion
Hi
I’m very new to WordPress, bbpress and php. I am currently working on a project and am finding it very difficult to find which file I need to change. I would like to re-arrange the order that author details are displayed in replies but cannot find where this is.
I would like the text to appear first and the avatar after and maybe remove the name and role.
I am using wordpress-4.2.2 and bbpress.2.5.7
Any help appreciated
Pamela
Hello World!
I am setting up a bbpress site that is going to have 70 categories with 26 forums
in each category.
Category 1
Forum 1
Forum 2
Forum 3
etc…26
is there a quick way to create these.
Using the Add Forum links will take me forever..
Any suggestions would be great?
I did it I did it. BBPress now works on my intranet. I had to add more memory to my wordpress. Now it works. Nice wanted BBpress for my forum and now I have it.
I’m using descending post order (newest replies first with plugin bbpress – sort topic replies) but would like recently edited replies of some forum also to go first.
Any tips on how to get this to work? Or is there a plugin that allows user to push their replies to the top?
No, I clicked, let it run and it never finished. I messed about for a couple hours after I wrote this and eventually got it to work by resetting the language to English, resetting forum, deleting bbPress and install/importing all over again with the default language. Don’t know if it’s a language files issue, but at least it worked for me.
I’m looking for a solution to moderate new subscribers, preferably in a way that regardless of whether it’s a comment on the WordPress side of things or a topic or reply on the bbPress side, once a new subscriber’s first post is approved, that user is allowed to post comments, threads and replies freely (unless caught by Akismet).
Has someone here faced the same challenge and successfully implemented a solution that works well and is a pleasant user experience for visitors?
The bbPress Moderation plugin should in theory be the answer to this, but it appears to no longer be maintained, I couldn’t get it to work on my website (it moderates all posts for me, even for a user whose posts have already been approved), and based on the plugin’s support section it doesn’t really seem to work optimally anyway. Which is a pity.
Another approach that I have been thinking about is making a new subscriber’s default user role something else than Subscriber, and never displaying comments, posts or threads written by a user with that user role (or displaying a “waiting for moderation” text instead of the post) until the user’s role has been updated to Subscriber. So, moderate a user rather than the content. I’m just not entirely sure how to implement this. Modifying the theme to accomplish it should not be difficult, but how about dealing with RSS, email notifications, etc. so that posts by these users don’t show in them? It seems that many things could go wrong and not play nicely with other plugins.
At the WordPress side, things work flawlessly spam-free with anonymous comments disabled, a custom question in the registration form (stops most spam bots), a mandatory e-mail confirmation for new subscribers, auto-moderation of the first comment (stops manual spammers) and Akismet (which doesn’t really have anything to do at the end). On the bbPress side, I’m only missing the moderation of a user’s first comment, which is letting through some spam.
Any ideas or experiences about a solution to this particular problem?
I think it is pretty much when 2.6 is done it gets released.
I think the version you want to revert to would be fine.
The import being stuck could be normal, or there could be a post causing all the hold up.
Import Troubleshooting
Thanks very much for your reply and for the info, do you know approximately when that release would likely be?
I have tried with various versions on phpbb and was getting the same error, so I thought it may have been that bbpress didn’t support 3.0.x so that’s why I actually updated. I can revert back my version.
However I have tried with the 3.0.14 and with earlier versions and was getting this same problem. The status just sits on “Starting Conversion” and never moves or gives me anymore information.
Would you know what this could be causing this or where I should be looking to find out what is stopping the process from starting?
(I left it run for 5 hours the other day)
I can convert back to the old version of phpbb if needed.
Thanks in advance.
Did you try to see if it was another plugin, possibly causing the issue??
Troubleshooting
THis is all the CSS you need.
.bbpress .post-section {
margin: 0 2% 20px;
width: 96%;
}
.bbpress #content-main {
width: 100%;
margin-right: 0;
}
@media screen and (max-width: 1002px) and (min-width: 768px)
.bbpress #content-main-inner {
margin-right: 0;
}
To remove the sidebar you have to follow this guide and remove the sidebar PHP code.
Getting Started in Modifying the Main bbPress Template
I will keep this in noted and list this as possible feature requests that might help bbPress users.
Many Thanks. User Switching plugin solved my issue.
There should be solution to this problem and it should be built in bbpress plugin. Please inform core team about it.
I have added this code to my css editor:
.bbpress .post-section {
margin: 0 2% 20px;
width: 96%;
}
.bbpress #content-main {
width: 100%;
margin-right: 0;
}
But the left sidebar still shows up below the forum.
http://bit.ly/1NQj9fO NSFW
Please try to understand the situation. I have demoted him. He is angry naturally. He can unsubscribe himself but i don’t trust him now. How shall i know he is unsubscribed or not?
There are email notification settings in Profile but they are only related to buddypress.
I checked in dashboard as well but could not find any settings that will let me unsubscribe a user to a forum or topic.
It is related to bbpress.
Plugin you have shared does not even works for topics. I can unsubscribe only myself with it.
I am using latest bbpress Version 2.5.8
I cannot duplicate the issue you are experiencing.
I renamed my admin user
changed the user ID to something besides 1
And also changed my database table prefix.
I then installed bbPress and saw the About Page fine.
I also went to Tools > Forums then went to Repair Forums and still see no error.
No new menu is added neither in the admin panel, so I have no way to use it, activate it or see it.
This is forum bbPress menu items like Forums, Topics, and Replies right?? This is not just the About Page and the Repair FOrums page??
The about Page can be accessed by going to the plugin in your plugin list and hitting the About link, and the Repair Forums Page can be accessed by going to Tools > Forums then went to Repair Forums.
I tried several database changes as mentioned in the forum, but nothing worked.
Well just so you know code in topics more than 2-3 years might be for the old standalone version of bbPress which might be useless and may break your site even.
Not sure about forum subscriptions or if this would work with group forums, but it might be worth a try.
Install this plugin, put the widget into your sidebar, and go to each topic and remove the users subscriptions manually.
https://github.com/easydigitaldownloads/bbPress-Topic-Subscribers
Other than this plugin for topic subscritptions, I do not know what else to recommend right now.
If group admin ban a user, Ideally banned user should be automatically unsubscribed to group forum. But according to my tests new notifications are still sent by bbpress plugin to banned or removed users.
Will keep a note of this, because this is expected if you ban a user. Maybe bbPress or BuddyPress could add this in the future.