Hello all, I managed to completely customize bbPress, but I have something I can not change, nor with legacy functions of my theme, nor with my child css3 theme: the font ( fat size and color) in the response area
<div id="wp-bbp_reply_content-editor-container" class="wp-editor-container">
<div id="qt_bbp_reply_content_toolbar" class="quicktags-toolbar">
<textarea id="bbp_reply_content" class="bbp-the-content wp-editor-area" name="bbp_reply_content" cols="40" tabindex="103" rows="12"></textarea>
</div>
Someone can it help me?
Vous aurez deviné, je suis Français! 6Merci beaucoup!” 🙂
I have done a lot of investigation on this. Following some other dicssussion it seems a confused area.
Hidden Groups and Forums not showing for members of them
Basically giving the role to the subscriber to read private/hidden forums, will them show the private and hidden group forums onto their profile.
This does however give the user to view all groups on bbpress site during the edit topic stage. Maybe direct url access too?
Any private forums on the site are also no longer private.
Seems strange that it isn’t default to show a user their topics / subscriptions ect from their groups on their profile. Is there any reason for this? I’m pretty sure it is just a query that is missing to include these from hidden and private groups…
i think this plugin will help you to hide the top bar https://wordpress.org/plugins/wp-admin-no-show/ and about the size try this code
bbpress-forums .bbp-topic-content p,
bbpress-forums .bbp-reply-content p {
font-size: 12px; /* enter the size u want */
}
how is this related to bbpress?
without seeing the site it is impossible to say
can only suggest
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 twentyfifteen, and see if this fixes.
Here is the message I receive from a forum member:
i”ve been trying to post a response for days now… have tried many times to reply, but when I hit submit, nothing happens. Tried another forum topic, nothing is showing up. I’ve looked all over the site for any ways to get help…and hope i don’t need to start dealing with WordPress. I’ve also tried logging out, but it won’t let me do that either. I’ve checked in my profile to see if i could change anything. The whole thing just doesn’t seem to be working at all for me. Talk about frustration! I was SOOOOo looking forward to connecting with everyone on the forums.now the site won’t load for me at all. Can you help?
Another member reported a similar issue, so I’m guessing there are others who just didn’t bother to message me. I’ve already tried to disable Askimet and that didn’t work. I also had a member whitelisted by my host, which also didn’t make a difference.
Wondering if anyone’s had trouble with Paid MembershipsPro and bbPress together? Could that be it?
This is the forum: http://introvertspring.com/infj-forum-2/
It is private, so you have to signup to enter.
Wordpress 4.5.2
bbpress 2.5.9
Hi!
JJJ- I meant to bug you about this at WCCHI but decided not to be that guy 😉
I have registered a custom view, it’s an extension on Pippin’s unread posts plugin to have a view for your unread posts. It works great for admins and anyone Moderator and above, but for normal forum users it just displays every single post in the forum. I have spend like 15 hours beating my head against the wall trying to debug this and I can’t find anywhere that it would be limited (not in the role parameter of the hook). How I’m creating it is the same as in every other plugin I’ve checked and even looking through bbpress core I can’t find anything…outputting the query vars right up until the topic display outputs the correct array. So no idea what’s going on.
halp.
Hi all:
I’m using wordpress 4.5.; bbpress 2.5.9.
I learned that when user reply to a topic, their forum role display right next to their profile image. Is it anyway I can move the forum role beneath the profile image instead next to it?
Your help is greatly appreciated.
Hi ,
I have a membership portal where I want to have forums for which I installed learndash/bbpress/lerndash-bbpress integration plugin. All the plugin has been installed but Forum tab in not show in the sidebar of dashboard. I contacted learndash support and according to them it is because of plugin conflict. Could you please let me know the possible scenarios when this issue occur and how to cope up with same.
I am also using memberium on my site for content protection
hi all,
I just wanted to share an update on my mission to migrate from PHPBB to BBPress.
In version 2.5.8 I had the problem with the wrong authors (fixed with some additional db query).
Now in 2.5.9 I cannot even complete the migration.
I know that when I get the dashes (“——“) it means I lost the connection and I have to start the conversion again that would resume supposedly from where it stopped.
That was true for 2.5.8 but in 2.5.9 I’ve tried 5 times already and when I get the dashes and try to resume, I get a message that says that there are no more replies to convert (which is not true).
Any idea on how I can correctly resume the process?
Just FYI, it takes 2 full days of processing to convert about 370K replies.
I would appreciate If anybody can tell me how can I improve this performance (I’ve full control on the machine).
Thanks,
Gio
Sure. I copied the function bbp_buddypress_add_notification() in bbpress > includes > extend > buddypress > notifications.php, pasted it right below itself, made the modifications, and changed the name of the function to bbp_buddypress_add_notification_for_participants.
function bbp_buddypress_add_notification_for_participants( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $author_id = 0, $is_edit = false, $reply_to = 0 ) {
$current_topic_id = bbp_get_topic_id();
$ids_of_subs = bbp_get_topic_subscribers($current_topic_id);
foreach ($ids_of_subs as $sub_id) {
$topic_author_id = $sub_id;
// Bail if somehow this is hooked to an edit action
if ( !empty( $is_edit ) ) {
return;
}
// global $bp;
// Get autohr information
// $topic_author_id = bp_loggedin_user_id();
$secondary_item_id = $author_id;
// Hierarchical replies
if ( !empty( $reply_to ) ) {
$reply_to_item_id = bbp_get_topic_author_id( $reply_to );
}
// Get some reply information
$args = array(
'user_id' => $topic_author_id,
'item_id' => $topic_id,
'component_name' => bbp_get_component_name(),
'component_action' => 'bbp_new_reply',
'date_notified' => get_post( $reply_id )->post_date,
);
bp_notifications_add_notification( $args );
// Notify the topic author if not the current reply author
if ( $author_id !== $topic_author_id ) {
$args['secondary_item_id'] = $secondary_item_id ;
bp_notifications_add_notification( $args );
}
// Notify the immediate reply author if not the current reply author
if ( !empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {
$args['secondary_item_id'] = $reply_to_item_id ;
bp_notifications_add_notification( $args );
}
}
}
add_action( 'bbp_new_reply', 'bbp_buddypress_add_notification_for_participants', 10, 7 );
Sorry for the late reply. I was on 2.5.8 and had no luck. I tried 2.59 and it just worked! Awesome, really liking bbpress so far!
Hello, really loving bbpress and just trying to solve some issues for my first project.
I successfully imported my SMF data in v 2.5.9, and now I need to restrict data based on roles. I see that I can make a forum Public/Private/Hidden, but how could I make a specific forum available only to say an admin? Is there something that I am missing, or a plugin that I could use?
Hi.
I used to be able to see that a reply had been edited and was able to see what those edits where, but now I can’t.
For example if someone changes a reply I can’t find where to see what they originally typed before they edited it…
Can you help please?
After create a new topic, the topic page can not be displayed.
This is somewhat embarrassing, isn’t it?
It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.
The only possible solution (when I test) is to ask admin to post it, I tried to change the user role
as admin, and bbpress role as keymaster, still did not work, any advice, thanks.
From the Popup Maker author, via https://wordpress.org/support/topic/issue-with-bbpress-plugin?replies=8#post-8381778
From the looks of that error it appears that bbPress is actually the culprit here. Looks like they are applying a filter to all queries of every post type, and for whatever reason the data they are looking for is empty. Basically they are missing what we call a sanity check (making sure data matches the type we expect. In this case calling in_array without making sure that the data is actually an array. Likely the error is common( not just with popup maker but potentially other custom post types), but your only seeing it because your site because you have WP_DEBUG enabled and WP_DEBUG_DISPLAY turned on. Without those on the error would be logged but page load just fine.
I have not seen this before, but am happy to investigate.
Is this an existing install of bbPress or a new one? IE Can I easily duplicate the problem simply by enabling both or could it be that you have 1000s of topics and replies which for whatever reason is leading to issues.
Greetings,
I made some languages tweaks in my bbpress-fr_FR.mo and bbpress-fr_FR.po files to make sure that when the forums are browse on mobile (portrait), then the strings ‘Participants‘ and ‘Articles‘ would not overlap (horizontally) each other. I translated those to short and sweet: ‘Voix‘ and ‘Posts‘
I used to edit the French language file with Loco Translator but now, for some reason I don’t understand, Trying to save the translation generates an “ERROR: Forbidden”
Also every time you upgrade bbpress language files and that I upgrade some plugins, the languages files are forced in and my French custom file gets overwritten. That is starting to be irritating. A chance I have a backup, but… this should not be the default behaviour. Isn’t it?
Please note, I found this “Error: Forbidden” problem with some other plugins where the .pot file had a missing language header.
Ref.:
https://wordpress.org/support/topic/error-forbidden-8
Kind Regards,
Yves
If you look at a javascript debugger are you getting a console error that reads something like “Failed to execute ‘insertBefore’ on ‘Node’” (I can’t remember the exact text)?
If not then it’s probably a different issue than what I was dealing with.
If you’re getting that error, it’s because a function in bbPress is trying to move the TinyMCE editor. Since the above code is an overwrite of the addReply.moveForm function, it needs to be loaded after the bbPress script. Because my example is using jquery you might need to make sure it’s in the right place for that. I’m not sure, you might need to change the $ to ‘jQuery’. Or write the code to use vanilla javascript. I have my .js file set up for jquery, following the Twentysixteen theme: everything is between:
( function($) {
$(document).ready(function() {
// all the javascript goes here...
})
})
Hi,
We had an old website (old.wattlet.fr/forums) with an existing forum. I’ve tried to import it to our new website http://www.wattlet.fr/forums. The bbpress version on the old website has been updated to 2.5.9. I’ve used the import feature under tools/forum, but surprisingly there are no options to select bbpress 2 from the dropdown list. I just see bbpress1.This selection doesn’t use the same table. Currently it is using wp_posts tables. Did I miss something? What I’m trying to do seems to be so simple !
Luc
Our website is currently down.
However, I have been using WordPress 4.5 with BBPress 2.5.8.
I do not want my forum to be accessible to the public or through Google searches.
Our website was developed to have usernames and passwords to access a log-in area where the forum is held.
The settings for the forum were set as:
Status: Open
Visibility: Public
We’ve since found out that topics can be found on Google with these settings. Our web developer says that the settings don’t matter.
So, my question is: How do we create a forum that is not accessible to the public/Google?
Hello everyone,
I’m new to bbPress so it’s all learning curve here.
I’ve been asked to show a search feature for forum posts, and it seems that bbPress will do this, but I can’t figure out how to turn it on.
This page here implies that it should be appearing at the top of the page, but that’s not happening on my development site.
Search
Is there some way to turn search on? What am I missing?
@maketheest – sounds like the error coming from the bbPress code, which uses “insertBefore”. Make sure the overwrite is being called *after* the bbPress javascript. Or try clearing your browser cache. Also make sure all the divs & textarea is named the same as my js – or change accordingly.
The heart of it is that the TinyMCE editor doesn’t like being moved around in the DOM, which is what the bbPress function is trying to do. You need to remove it first, then re-initialize it after moving the container. The last piece is to put the parentId, which is passed by the function, into the hidden field (should have the id of bbp_reply_to) that accompanies the editor.
Well, I hacked the function bbp_buddypress_add_notification() in bbpress > includes > extend > buddypress > notifications.php which calls bp_notifications_add_notification( $args );
I also found bbp_get_topic_subscribers($topic_id) which I used to get the ids of users who have subscribed to a topic (not sure if there’s another better way of getting all the ids of users who are part of a topic).
I plugged those ids into the $args for the previous function with a foreach loop, and I was surprised to get anything back.
Each user gets a notification (as far as I can tell) when anyone replies to the topic, but they also get extra notifications (from themselves and other users) from one reply. I’ll keep playing around with it.