Hi Stephen
I saw you are very helpful on the forum, but unfortunately I don’t comprehend most of your proposed solutions.
I temporarily solved the problem by copying the functions:
- bbp_user_subscribe_link
- bbp_get_user_subscribe_link
to my theme. Funny enough, even when I deleted the “|” from both functions it still appeared.
But I noticed that the AJAX was triggered by $wrap = true in bbp_user_subscribe_link so I changed it to false and now I get what I want. I will wait patiently for the AJAX when it has more ammonia.
Cheers
Mike
I suggest you have a read of some of the docs, most of what you are asking about is in the docs.
For example you can use shortcodes and widgets for login and register actions:
https://codex.bbpress.org/shortcodes/ https://codex.bbpress.org/widgets/
The majority of bbPress actions including moderation can all be performed in the ‘front end’ and only some specific actions (configuration and settings) are required to be performed in the WordPress dashboard (back-end).
https://codex.bbpress.org/getting-started-with-bbpress/
Codex
Ask and you shall rec… Oh wait… This is kind of goals of the bbPress and BuddyPress codex’s, just like WordPress’. Have you seen the new WordPress developer reference that was launched a couple of days ago?
Reference
Do you think that will be useful? I presume by your statement you’d like a forum topic associated with each item… Maybe bbPress and BuddyPress will get there own versions of this reference đ
Add this code to your `themes functions.php file:
add_filter( 'bbp_after_get_the_content_parse_args', 'ntwb_bbp_enable_visual_editor' );
function ntwb_bbp_enable_visual_editor( $args = array() ) {
$args['quicktags'] = array( 'buttons' => 'strong,em,block,del,ins,ul,ol,li,code,close' );
return $args;
}
I have removed the default link and img items from the list so they do not show.
Thanks, Stephen, this is an excellent start! Really appreciate it.
Some days, I really wish developers would expose everything in a neatly correlated database with generous descriptions, perhaps even with forum entries that relate to those individual code items and descriptions, plus code examples… What a beautiful world that would be!
Anyways, enough dreaming… I’ll take a look at what you suggested.
This has nothing to do with bbPress per se, if you have added Thank you in advance those terms to ‘Comment Moderation’ or ‘Comment Blacklist’ in Settings -> Discussion then you should remove them this also includes if you have the term van then because ‘advance’ includes ‘van’ it will be blocked.
See this for more details: https://codex.wordpress.org/Combating_Comment_Spam#Comment_Blacklist
Hi
I am trying to use bbp_topic_subscription_link with a genericon icon.
No problem displaying the icons on browser load, but as Ajax is being used the reverse genericon on a click, the icon is not reversed on the this click. Instead a “|” is displayed even though I have set the array to not display that. I have tried loading the icons through the subscribe/unsubscribe settings, and via an “if” with the conditional tag, ‘bbp_is_user_subscribed_to_topic()’ in “before” with separate subscribe and unsubscribe statements.
Example 1
<span class="my-class"><?php bbp_topic_subscription_link(array('unsubscribe'=> '<i class="genericon genericon-unsubscribe"></i>Unsubscribe','subscribe'=> '<i class="genericon genericon-subscribe"></i>Subscribe','before' => ' ')); ?></span>
Example 2
<?php
if (bbp_is_user_subscribed_to_topic())
{ ?>
<span class="my-class"><?php bbp_topic_subscription_link(array('unsubscribe'=> '<i class="genericon genericon-unsubscribe"></i>Unsubscribe')); ?></span>
<?php }
else
{ ?>
<span class="my-class"><?php bbp_topic_subscription_link(array('subscribe'=> '<i class="genericon genericon-subscribe"></i>Subscribe')); ?></span>
<?php }
Cheers
Mike
See my test:
<a href="https://www.dropbox.com/s/kkeoj8bqrs0jok5/Topic.png" title="bbcode" target="_blank"></a>
nothing appears

once again: I want to disable only 2 dysfunktional bbcodes – e. g. link and img. This buttons works also not in this forum – try it! It’s a bug!
I make no sense to frustrate user.
Participants can create topics by default:
See the default capabilities here https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
If you uncheck the setting as mentioned above:

You will no longer see the ‘BBCode’ buttons:

Turn off define('WP_DEBUG', true); in your wp-config.php file, this is a known issue.
More info on this:
https://bbpress.trac.wordpress.org/ticket/2309 https://core.trac.wordpress.org/ticket/24169
Double check your database settings, it looks like you are using phpbb for the table prefix, most likely this needs to be phpbb_.
You can check these settings by opening your phpBB config.php file and get the settings from that file:
eg.
$dbname = 'db_name';
$dbuser = 'db_user';
$dbpasswd = '1234';
$table_prefix = 'phpbb_';
Edit: PS, I did not get an email that there was a reply on this, and itâs definitely checkedâŚ
Firstly, did you get this reply?
And Iâm a little confused: doesnât bbPress have itâs own editor thatâs separate from WordPress? I have an awesome editor for WordPress, but it doesnât show up for bbPress.
My bad, Yes and no, bbPress can use WordPress’ editor if you enable TinyMCE as detailed here, that is the same editor you see in the backend of WordPress to create posts, pages tec.
The original links I posted are for adding custom themes for TinyMCE.
If you are not using TinyMCE you can edit bbPress CSS in the ‘/* =TinyMCE in themes’ section around line #714.
Ok, so ignore the above, I have found and hit the same wall you have with the ‘editor buttons’, I’m not sure if this has changed with WordPress 3.9 and TinyMCE 4 but I can’t override these either without some serious hacky code.
I’ll create a bbPress and/or WordPress ticket/s in trac so this can be done without quite so much effort. I’ve been messing about for the past hour trying to get the numerous combinations of ‘editor styles’ to work and am now walking away to go ask the experts đ

Hi,
I have a forum where my users need to be able to have the option to view in two languages. I have added the necessary language files and when any language is defined, it works fine.
But I need users to be able to choose language of their choice. Is there any way to do it?
I did find a plugin,
bbpress language switcher
and an updated version of it.
bbpress language switcher updated
but it does not work for current version of bbpress. I tried to update it but there are too many functions that I am not familiar with.
Is there some other similar plugins?
On a related note, how is the language options provided in this page? (under the subpages heading)
bbpress in your language
Dear tharsheblows, I know this function, but I will only deactivate 2 or 3 bbcodes – e. g. “img”.
This bbcode does not work.
https://www.dropbox.com/s/kkeoj8bqrs0jok5/Topic.png
Ive searched everywhere and tried everything I found to redirect the BBPress profile and before I will give up I thought to make a request in this forum.
Ive tried this in the .htaccess with no success:
RewriteEngine on
RewriteRule ^forums/users/(.*)/?$ http://www.mysite.com/dashboard/listings/$1 [L,R=301]
Ive tried the Redirection WP plugin and its redirecting the forums/users/(.*)/ where I want but it is also redirecting http://www.mysite.com/forums/users/favorites/ and all the profile links and I DO NOT want this since my idea is to redirect the BBPress profile into a main profile and link the favorites and the topics started from there.
Ive also found this code but I cant get it to work:
add_action(âbb_initâ, âprofile_redirectâ);
function profile_redirect() {
if (is_bb_profile() && $_GET != âeditâ && $_GET != âfavoritesâ) {
$user = bb_get_user($_GET);
if ($user) wp_redirect(âhttp://www.example.com/members/â . $user->user_nicename);
}
}
Please help me to do this and I am willing to pay up to $100 for a working solution but I need it as soon as possible.
To change the user profile url, you can use this – it will build a link to the /profile/username and return that in the bbp_get_user_profile_url function in includes/users/template.php :
add_filter('bbp_pre_get_user_profile_url', 'mjj_profile_link');
function mjj_profile_link( $user_id ){
$user_info = get_userdata( $user_id );
$user_nicename = $user_info -> user_nicename;
return '/profile/' . $user_nicename;
}
This would go in your functions.php file or bbpress-functions.php if you’re using that. Never modify those files in the admin area, only do them if you have ftp access and can undo anything that goes wrong!
I was able to figure out how to do something similar, though not exactly what you need. I added the lines
<?php
$id = bbp_get_user_id();
header('Location: ../profile/?user='.$id);
?>
to the top of user-details.php. My project loads to a profile page with a GET request, but if you could find the function that returns the desired username you can redirect to any page you want. It’s a dirty fix but it works well for me.
Thanks for the code! I just modified it by commenting out the add user contacts section and using the Register Plus Redux field (which requires users to pick a school upon registration).
I then added code to echo a hyperlink. For each new school I will add new hyperlink code. So far it seems to be working!
function clb_school_replies_author() {
echo get_user_meta(bbp_get_reply_author_id(), 'rpr_testfield', true);
if (get_user_meta(bbp_get_reply_author_id(), 'rpr_testfield', true) == 'school1')
echo nl2br ("\n<a href=http://www.school1.edu target=_blank>School 1 Web Page</a>");
if (get_user_meta(bbp_get_reply_author_id(), 'rpr_testfield', true) == 'school2')
echo nl2br ("\n<a href=http://www.school2.edu target=_blank>School 2 Web Page</a>");
@slprof
If you want to try just the latest reply, then try
function change_reply_order() {
$args['order'] = 'DESC';
$args['posts_per_page'] = '1';
return $args;
}
add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
But I suspect it will have some weird effects on the site, and of course you’ll never see anything but the latest post, so if pupil a posts and a minute laters pupil b, then you’ll never see pupil a’s.
or do you mean that for each topic, pupil a would be pupil a’s reply, pupil b would see pupils b’s reply etc.?
@slprof
Try putting this in your functions file
function change_reply_order() {
$args['order'] = 'DESC';
return $args;
}
add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
I haven’t tested, so come back if it doesn’t work, it should do topic then replies with latest at top
I mean the bbcodes above the forum editor. Is it not possible to delete individual buttons.
https://www.dropbox.com/s/kkeoj8bqrs0jok5/Topic.png
No effect, if I comment out line 109
Many thanks
bbpress largely picks up on your wordpress theme, use any of thevdefault ones and you’ll get a great look.
I use twentyten very successfully.
and look at the set up guides
Codex