Skip to:
Content
Pages
Categories
Search
Top
Bottom

get logged out when clicking on latest post

Published on December 19th, 2016 by haddlyapis

If i go to the forum page www.apis.de/forum (then log in) and click on one of the two latest posts then bbpress/wordpress logs me out. If i press Ctrl + F5 then it logs back in. This does not happen when i click on a different post within the topics, but only on the two latest posts.
Please advise

stop caching for bbpress forum

Published on December 19th, 2016 by haddlyapis

Is there any way to stop caching for the forum only?

bbpress Like Button

Published on December 19th, 2016 by Jon Fergus

I’m looking for a plugin that will add a simple “like button” for topic replies, but am having no luck on that front without paying for a plugin. This one is the only one I’ve found that works, but the free version only allows 1 button per page. https://wordpress.org/plugins/likebtn-like-button/

Does anyone know of any other plugins that can accomplish this, or any other solutions involving bbpress customization?

How to display bbp_get_displayed_user_field value under users’ avatar on replies

Published on December 19th, 2016 by Soulstudio

Hi,

I’m using my code in functions.php file to store user’s location in the database and to display it on individual user profiles.

function user_profile_bbp_location_information()	{
	$location=bbp_get_displayed_user_field( 'location' ) ;
	if ( ! empty($location) ) {
		$label1 =  $rpi_options['item1_label'] ;
		echo "<p>" ;
		printf ( __( 'Location : ', 'bbpress' ));
		echo $location;
		echo"</p>" ;
	}
}
add_action ('bbp_template_after_user_profile', 'user_profile_bbp_location_information') ;

However, I would like to display this value under avatar of each user on topic posts/replies as well. I figured out I need to edit themes/childtheme/bbpress/loop-single-reply.php file but I wasn’t able to make the values appear there.

I know there is a plugin for that but I like to use childtheme + functions.php for whatever I can + I already have working code in place.

Any ideas?

Thank you!

Hide Visual Editor For a Particular Forum

Published on December 19th, 2016 by Wasca

Hi Guys

I’d like to hide the visual editor when a user is posting to a particular forum. Could some one point me to the code that helps me determine what forum is being viewed so I can then disable the visual editor at that point.

Thanks

Number of post in Subforum single lines on forum page

Published on December 18th, 2016 by woytman

Any idea on: Number of posts in subforums line

postimage

Thank you!

Changing name of Keymaster etc

Published on December 18th, 2016 by moscomoon

Hey there, so I’ve seen LOADS of posts about this and the code provided to help you create custom roles that do the same as the others.

Only issue is I don’t know HTML I am a total noob at all of this and in NO POST does it state WHERE to put the HTML code?

Custom Capabilities

This was the guide I was trying to follow and it gives me the following code:

unction add_custom_role( $bbp_roles ) {

$bbp_roles[‘my_custom_role1’] = array(
‘name’ => ‘name 1’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
);
$bbp_roles[‘my_custom_role2’] = array(
‘name’ => ‘name 2’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
);
$bbp_roles[‘my_custom_role3’] = array(
‘name’ => ‘name 3’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // the same capabilities as keymaster
);
return $bbp_roles;
}
add_filter( ‘bbp_get_dynamic_roles’, ‘add_custom_role’, 1 );

Which is fine

except it doesn’t tell me where to put it? Do I just go to Plugins>edit>bbpress/bbpress.php and stick it anywhere in that big massive box of HTML?

Remove sidebar only in topics

Published on December 18th, 2016 by mikel1980pamplona

Hello everyone!

I want to do one thing on my bbpress and I’d like to do it without plugins.
Currently my entire forum is full width. In my child theme I included the template “fullwidth-page.php” renaming it as “bbpress.php”.
It worked perfect.
My intention now is to see the sidebar in the whole forum, but in the pages of topics is full width.
I think it improves the user experience. When they see the main page of forum, with the listings of forums, or when they enter a specific forum does not bother the sidebar to see what topics exist. But I would like to remove the sidebar when the user enters a topic or will do anything in it (read it, respond, etc …)

Do you know how I can do this?

If I delete the template I made to remove the sidebar (“fullwidth-page.php” renamed as “bbpress.php”) I get the sidebar in the forum.
But what do I do next to remove the topics sidebar and everything related to them?

Thanks greetings!

Repair not working; voices/last activity

Published on December 17th, 2016 by Steveim

WP 4.7, bbPress 2.6a http://wordpress-6213-13994-191680.cloudwaysapps.com/forums/

Having converted from PHPBB 3.1.10 and run all of the repair functions I am having a few issues with things not being correctly reported.
1. All of the voices counts are set zero.
2. Last activity is incorrect; http://wordpress-6213-13994-191680.cloudwaysapps.com/forums/forum/general-hysterectomy/alternatives-to-hysterectomy/ says forum last updated 4 months ago but topics show from just 2 months ago.

I had to use 2.6a to get the import from PHPBB; should I switch to 2.5.11 now?

Always shows content and title of recent topic even any other topic is clicked

Published on December 17th, 2016 by wpviva

I’m facing a problem related to forum topics. On the listing of forum topics, when I click on any topic in the list, it display the detail page of latest topic. URL is correct but show title and content of latest topic.

WordPress version: 4.5.4
bbPress version: 2.5.8

Skip to toolbar