I’m pretty happy with what I’ve managed to do with the bbpress installation on my site, rockstarwire.net/community
I have even released a plugin of my own, bbPress Advanced Statistics, which essentially adds a shortcode that displays a phpbb / vBulletin-esque “who’s online & statistics” section, you can see an example on the bottom of my site or you can check out the screenshots.
I’m optimistic about the future of bbPress, I just wish my community actually used the forum after all the work I’ve put into it!
Hello,
I have bbpress 2.5.7 on WordPress 4.2.2. (http://apofasismenoi.gr/forums/)
I have 10 forums. On 9 of them i want the members to post topics or replies freely.
On one of the forums i want when a member creates a topic or posts a reply not to be public. I want it to be on pending and only keymaster will be able to change the status to public.
I have seen the plugin bbPress Moderation though i am not sure it can cover my needs. But the issue is that it has more than 1 year to update and its compatable till 3.6.1
Any help is welcome,
atsouf
@robkk
thank you for your answer, I already had this in mind, but this would always uppercase the first letter of every name. Is there also a way for the forum, to recognize any capital letter that has been written? For example look at my name in this forum. This is also bbPress, right? So it should work in some way.
thanks for the typo, I’ll fix that on next release.
both bbpress and wordpress add the ‘Private’ heading, hence why it appears twice. My style plugin removes both, which is not what you want, but what it does !
I’ll take a further look if I get some time
I am just a humble bbpress user, I’m not an author of bbpress, so
It would be nice to lose that message when you are next in that code.
ain’t gonna happen !
@ Robin W
And, on a larger note: Does bbPress, by default, isolate itself from other plugins?
Sorry but I don’t understand your question.
My apologies for not being clear.
Sorry but I don’t understand your question.
My apologies for not being clear. Let me try to explain better.
Let me try to explain better:
Does bbPress include security or “sandboxing” features that block other plugins from interacting with it? I know that some plugins intentionally block common tools (such as the shortcodes mentioned by Robkk,above). I’m not complaining about it, just looking for information so I know how to proceed.
Footnotes is a plugin that works in posts, pages, and comments. It does not, however, work within forum posts or comments. I’m new to bbPress (been using WP for about 15 years), so I’m just trying to learn how forum posts and comments are different from “main” posts and comments.
I am trying your bbl-style-pack plugin, as that would be easier for others to maintain should that situation arise.
The Remove Private option removes both occurrences of the PRIVATE: prefix. It also removes private forums entirely from the (bbPress) Forums List widget display when on an ordinary page (not just the prefix PRIVATE:) – but not when displaying a forum list. I suspect that this is not what was intended.
[Incidentally, the bbpStyle pack Forum Display tab has a minor typo in section 4. The tick box reads Move subscribe to rightRemove private prefix rather than Remove private prefix
What I want to achieve is to remove one occurrence of the duplicate wording in the forum display heading PRIVATE: PRIVATE: forum name. Are you able to suggest a solution for this?
Regarding the Oh bother! No topics were found here!, yes creating a topic would remove this, but I have created empty forums to guide users as to which forum to use for their potential topic. It would be nice to lose that message when you are next in that code.
thanks again
Robin… before I got your suggestion regarding rewrite rules, I had begun to suspect corruption of permissions in my forum database entires. I created a new test forum and it worked OK.
So, for each empty forum I deleted it and created a new one. For each forum with topics, I created a new one, i.e. Forum A new, reassigned the topics from Forum A to Forum A new, deleted Forum A and then renamed Formum A new to Forum A.
This has cleared my problem and I can now view the forum topics as Testuser2.
How the problem arose, I do not know. There have been WordPress or bbPress updates recently and possibly something did not upgrade properly.
There remain two issues:
The keyword PRIVATE: is shown twice in the display of the forum contents.
If the forum is empty, a blue box correctly says This forum is empty but then a yellow box says Oh bother! No topics were found here!
In the latter case, I suspect a coding error whereby the empty forum is spotted but the code still tries to display the topics.
Do I still need to reset my permalink as you suggest?
Meanwhile I shall start re-instating my plugins etc.
thanks for your support.
ok, so 3 stages
1. create the style.css entries – say you have a forum called ‘fred’ you might want to create a ‘fred’ style and have content for this eg
.fred #fixed-background { background: url(‘http://www.mysite.com/wp-content/uploads/2015/02/fredbackground.jpg’); }
2. look up the forum’s ID
go to dashboard>forums>all forums and hover over the ‘edit’
at the bottom of the screen you’ll see
http://www.mysite.com/wp-admin/post.php?post=2921&action=edit
in this case 2921 is the forum ID
3. add the style to the body class for that forum
Add this into your functions file
function rew_add_class ($classes, $bbp_classes, $wp_classes, $custom_classes ) {
//the above line pulls in the pre-existing values so we don't lose them - ie run this function using this existing $variables if they exist
//then we check is this is a forum using a bbpress function
if ( bbp_is_single_forum() ) {
$bbp_forum_id = bbp_get_forum_id();
if ($bbp_forum_id == 2922) $custom_classes[] = 'fred' ;
if ($bbp_forum_id == 2923) $custom_classes[] = 'george' ;
}
//then we check is this is a topic using a bbpress function
if ( bbp_is_single_topic() ) {
//and if so look up the forum id of that topic
$bbp_forum_id = bbp_get_topic_forum_id();
//now you will need to add lines for each forum you have and say which class class you want to use, these are just example lines. Add one for each forum
//the number is the 'page_id' (actually it's the post id !)
if ($bbp_forum_id == 2922) $custom_classes[] = 'fred' ;
if ($bbp_forum_id == 2923) $custom_classes[] = 'george' ;
}
//then this gets merges into the existing wordpress and bbpress classes
$classes = array_merge ( (array) $classes, (array) $custom_classes ) ;
Return apply_filters( 'rew_body_class', $classes, $bbp_classes, $wp_classes, $custom_classes ) ;
}
add_filter ('bbp_body_class' , 'rew_add_class') ;
install this plugin
https://wordpress.org/plugins/bbpress-genesis-extend/
try this CSS
#bbpress-forums .bbp-reply-content p,
#bbpress-forums .bbp-breadcrumb p {
font-size: 15px;
}
if you feel like just using bbPress there are these two plugins.
bbPress has a group plugin
https://wordpress.org/plugins/bbp-private-groups/
and a friends plugin
https://wordpress.org/plugins/friends-for-bbpress/
try this CSS instead.
#bbpress-forums .keymaster div.bbp-topic-content,
#bbpress-forums .keymaster div.bbp-reply-content,
#bbpress-forums .moderator div.bbp-topic-content,
#bbpress-forums .moderator div.bbp-reply-content {
background: #f8f8f8 url(images/team-member.png) top right no-repeat;
}
if you are just using the shortcode , bbPress doesnt allow shortcodes for security reasons like users pasting the [bbp-login] shortcode
since i assume this is just for admins you can use this plugin to use the shortcode.
https://wordpress.org/plugins/bbpress-do-short-codes/
try this CSS
.bbpress #content-area ul li,
.bbpress #content-area ol li {
margin-left: auto;
}
My bbpress is giving this error after activation in debug mode: Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in C:\xampp\htdocs\wordpress\wp-includes\functions.php on line 3560
Also I noticed that after activation, some ajax features on my site will no more work, for instance, if i visit the media page on the dashboard, it will load forever without giving any result.
I need urgent help please.
Thanks.
Hi,
Is used the code snippet from the codex and it worked fine.
How could I modify the code to choose a specific menu?
E.g. primary oder secondary. Actually “Edit Profil” is shown in all my menues and I just want to have it on my Primary Menu.
// Filter wp_nav_menu() to add profile link
add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
function my_nav_menu_profile_link($menu) {
if (!is_user_logged_in())
return $menu;
else
$current_user = wp_get_current_user();
$user=$current_user->user_login ;
$profilelink = '<li><a href="/forums/users/' . $user . '/edit">Edit Profile</a></li>';
$menu = $menu . $profilelink;
return $menu;
}
Layout and functionality – Examples you can use
Thanks!
Same problem here .. . all plugins except bbpress deactivated didn’t work out, also switching to twenty-twelve/twenty-fifteen didn’t work out …
Hi all!
Its a pretty noob question, but i didn’t find anything related to my issue…
I added a quicktag to the wordpress default editor
function generico_quicktags() {
if ( wp_script_is( 'quicktags' ) ) {
?>
<script type="text/javascript">
QTags.addButton(
'pov_generico',
'POV (Genérico)',
'[pov-generico]',
'[/pov-generico]'
);
QTags.addButton( 'pov_generico', 'p', '<p class="fala generico">', '</p>', '', 'Fala (Personagem Genérico)', 10 );
</script>
<?php
}
}
add_action( 'admin_print_footer_scripts', 'generico_quicktags' );
But this don’t show in bbpress reply editor. How can i add this there too?
Firstly, thank you for responding.
I have disabled all plugins except BuddyPress and bbPress.
I have switched to the theme Twentyfourteen.
I still have a problem. Since simplifying as above, I have, signed in with admin rights, created a new topic in an otherwise empty private forum called ‘Domestic Water’. As that user I can read it etc.
I then log out and back in as Testuser2 who has site role of Author and Forum Role of Participant. When I select the forum ‘Domestic Water’ from the list in the side bar I get a screen as shown here.
Note that Private is repeated twice. The blue box is correct, saying there is one topic in the forum.
But I then get a yellow box “Oh bother! No topics were found here!”
Your further advice will be very much appreciated.
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
Then come back
try adding
# bbpress-forums content-area ul li {
margin-left: 0px !important;
}
to your child theme style.css
Functions files and child themes – explained !
can you provide a url to this – this doesn’t look like a standard bbpress page. Are you also running buddypress?