your best bet would be to ask the moderation plugin author, as hooking to his code would be the best way.
I don’t know this plugin, so sorry cannot directly help – sorry
#1 is related to your theme I reckon. Try as a test switching to a default theme such as twentytwelve and see if it disappears. If it foes come back and we’ll try to help further.
#2 see https://codex.bbpress.org/bbpress-styling-crib/
Hello,
I do like to know how I am able to display the total amount of replies and topics a member created on my WordPress website. There is a (text) sidebar present where the statistics are displayed of a certain user. Is it possible to display the amount of forum topics and replies a certain user has created?
Thanks
Hi,
I have followed the guide http://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ and have tried both method 1 and 2 ([bbp-forum-index]) but I only get some text on my forum start page http://sfithailand.se/forums/ (same on both methods)?
Permalink is set to post name
The actual post looks fine I think http://sfithailand.se/forums/topic/bra-hemsidor-for-foretagande-i-thailand/
But my forum url looks distorted even though the output looks ok? http://sfithailand.se/forums/forum/byrakrati-och-myndigheter/
Forum root is using slug /forums/ and forum slug is /forum/ Why do I need both?
Guess i have done something wrong?
For those who shared what plugins they have activated in their installations, following shows the top ten plugins which are either bbPress-specific or those with expressed support for bbPress.
a) GD bbPress Attachments
b) GD bbPress Tools
c) bbPress Enable TinyMCE Visual Tab
d) BuddyPress
e) Buddy-bbPress Support Topic
f) Custom private code
g) bbPress – Private Replies
h) bbPress Stay Checked
i) bbPress Topics for Posts
j) bbPress – Mark As Read
2014 bbPress Survey Results
i use three of these ten plugins
Hi Robin. Finally getting around to posting the error I see when trying to use two input parameters for a shortcode:
Warning: Illegal string offset 'id2' in /mysite/wp-content/plugins/recent-books-discussed/recent-books-discussed.php on line 33
I should probably start a different thread in the forums on this?
For anyone having similar issues follow the steps on this link to fix the issue.
https://codex.bbpress.org/theme-compatibility/
From my experience this worked best
But requires an account from a website
only works for 2000 users only , to have more than that you would have to pay for a premium version of the service
https://wordpress.org/plugins/oa-social-login/
This didnt really work for me , and is also a free/premium service
requires an account to their website also , and is limited on users that can use the social login feature.
https://wordpress.org/plugins/loginradius-for-wordpress/
I tried this plugin before it was called super socializer
and it didnt work at all on my site
https://wordpress.org/plugins/super-socializer/
I havent really gotten into trying all the social login plugins on codecanyon.
other than my opinion , do a google search try to find other peoples opinions on the best social login plugin , and make a very decisive decision on your plugin choice.
Hi there,
I have a WP website with sub-domains (not multisite). For some reason bbPress redirects all logged-in subscriber users to the main domain when they visit homepage. It doesn’t happen with guests and admins. The only solution I could come up with was to
remove_all_filters('bbp_template_redirect');
when the homepage is being requested. Have I made a security breach? Is there a better way to solve it? Also I don’t quite understand why bbPress needs to interfere with my homepage.
Thank you for the quick, helpful reply. Sorry I didn’t get back to you sooner.
I would like to count each subscribed forum and subscribed/favorite topic but not every topic within a subscribed forum, though with a few technical exceptions.
In my case, WP__bbp_subscriptions and WP__bbp_favorites only output topics, not forums or the topics of a subscribed forum.
Fortunately, I found three functions that provide either subscribed forum ids or subscribed/favorite topic ids separately, based on a user id:
bbp_get_user_subscribed_topic_ids()
bbp_get_user_subscribed_forum_ids()
bbp_get_user_favorites_topic_ids()
Here is my solution in the form of two custom functions. The above functions obviously made it all very simple:
// display bbPress subscription count
function user_subscriptions_count( $user_id = null ) {
$topic_count = count(bbp_get_user_subscribed_topic_ids($user_id));
$forum_count = count(bbp_get_user_subscribed_forum_ids($user_id));
echo $forum_count + $topic_count ;
}
// display bbpress favorites count
function user_favorites_count( $user_id = null ) {
echo count(bbp_get_user_favorites_topic_ids($user_id));
}
I do realize that a user’s subscribed forums and topics are usually private, but I prefer to check for permissions outside functions.
Thanks for the help, I hope this might be useful for someone in the future.
Hi all,
We are working on a forum in BB Press but wish to have the following:
1) Permit forum users to reply to an email (e.g. to their yahoo or gmail account) to respond to a post rather than logging in and posting on site.
2) Send new forum applications (registrations) to the moderator to either approve or disapprove
3) Permit forum users to post pictures e.g. .jpgs
We have been told that 3) is possible via a plugin: http://wordpress.org/plugins/gd-bbpress-attachments/
Can you assist?
Regards,
Simon
P.S.
Software is out there that can do 2) but not BB press
E.g. http://codecanyon.net/item/user-profiles-made-easy-wordpress-plugin/4109874
See User Profile Approvals allows admin to manually approve users before they login (New Feature)
It can be done, you would start with
wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.php
see https://codex.bbpress.org/amending-bbpress-templates/
remove the number – that’s also on loop single reply – see my response on
[Resolved] how to remove the author box on left page post ?
take out line 27 on loop single reply
change word
put the following into your functions file
//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == 'reply' ) {
$translated_text = 'new text';
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
and just change ‘new text’ to whatever you want it to say
see
Functions files and child themes – explained !
bbpress has a number of converters, including phpbb
https://codex.bbpress.org/import-forums/phpbb/
suggest you create a test site and give it a go. That will tell you if you need to get back to a vanilla version first.
https://codex.bbpress.org/creating-a-test-site/
to convert, just go into dashboard>tools>forums>import forums
Stephen Edgar is the bbpress converter guru, and if you hit difficulties I’d suggest you post a new thread, and I’m sure he’ll help.
sorry, you need to put it at the end of your functions file
Functions files and child themes – explained !
Sorry Robin, where would I add that shortcode?
ok, interestingly (or not !) the forum code uses this shortcode.
Ok so plan b !
I’ve cut a quick new shortcode that looks for content-single-topicb.php
you can download it from my site
Topic shortcode
use the shortcode
[display-topic-special id=$topic_id]
It should work for just the shortcode, but let me test on my site
You have done it correctly and it works !
If you log out, you’ll see a login on your forum page. It doesn’t appear if you are logged in, as it is not needed then.
if you want register and lost pasword as well, then use
//add login to top of index
function index_login () {
if (!is_user_logged_in() ) {
echo do_shortcode(‘[bbp-login]‘);
echo do_shortcode(‘[bbp-register]‘);
echo do_shortcode(‘[bbp-lost-pass]‘);
}
}
add_action (‘bbp_template_before_forums_index’, ‘index_login’ ) ;
The modification does not limit to just the shortcode inclusion of the topic but on the forum as well. I thought it would have isolated but the changes seem to follow even on the default forum view?
you should be more specific next time so i could give you what you wanted
copy loop-replies.php from your bbpress plugin to a child theme folder named bbpress, if you havent created one create one
more information on this
https://codex.bbpress.org/theme-compatibility/step-by-step-guide-to-creating-a-custom-bbpress-theme/
remove this entire code inside of your loop-replies.php in your child theme
<li class="bbp-header">
<div class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></div><!-- .bbp-reply-author -->
<div class="bbp-reply-content">
<?php if ( !bbp_show_lead_topic() ) : ?>
<?php _e( 'Posts', 'bbpress' ); ?>
<?php bbp_topic_subscription_link(); ?>
<?php bbp_user_favorites_link(); ?>
<?php else : ?>
<?php _e( 'Replies', 'bbpress' ); ?>
<?php endif; ?>
</div><!-- .bbp-reply-content -->
</li><!-- .bbp-header -->
if you want to keep the favorite and subscribe links just place this code anywhere where you want to put them
<?php bbp_topic_subscription_link(); ?>
<?php bbp_user_favorites_link(); ?>
hi Robkk thank you for your reply
the problem is my forum page header also removed after this code
http://ww.168nyc.com/wp-content/uploads/2014/07/help5-1024×640.jpg
just use
li.bbp-header {
display: none;
}
my topic that you posted on was about a plugin , and what it adds to a site.
so if you just want to hide the li.bbp-header just use that code above.
delete the other code with .post in it