Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress Login/Register showing up late

Published on January 30th, 2014 by siwik

I have bbpress 2.5.3 installed with bbpress WP Tweaks 1.3, GD bbpress Tools 1.5.1, GD bbpress Widgets 1.0.3 and Theme My Login 6.3.9. I’m able to access my login page but it shows up when you go to the Forums Page, click on any of the forums, then it shows the Login/Register. How can I make it to show up as soon as someone goes into the forums page?

Attempting a XenForo -> BBPress conversion

Published on January 30th, 2014 by aNi_TFG

Hi guys,

I’m attempting to import a Xenforo DB over to BBPress. It’s not too large (300 members, 4000 Posts)

When I attempt the conversion I get an error message.

Fatal error: Class ‘Xenforo_Not_Complete’ not found in /home/decerto2/public_html/dev/wp-content/plugins/bbconverter/bbc-includes/bbc-converter-class.php(39) : eval()’d code on line 1

Is anyone able to assist as I am looking at testing before I move my live board

Thanks

Set Auto Role to false for every blog on multisite installation

Published on January 30th, 2014 by Mike

Hi,
I have multisite WordPress 3.8.1 and Buddypress 1.9.1, and have just set up separate forums using the bbPress plugin, v2.5.3

Now everyone who is logged in and visits another site in the network is automatically made a ‘Participant’ of the site they are visiting. I don’t want this to happen.

I have set bbp_allow_global_access( false ) in bbPress includes/admin/settings.php, line 532
I have also set '_bbp_allow_global_access' => 0, in includes/core/options.php, line 37

However, when I visit a new site I am still made a participant of it. How can I disable this option in all my sites (there are thousands) without setting Auto Role to unchecked and saving the forum settings page in each individual site?

Thanks.

Forum display

Published on January 30th, 2014 by gavpedz

Can anyone explain how to set out my forum main page like yours here? https://bbpress.org/forums
you know with latest topics being the main content and forums on the sidebar?

Also it does not display very well on my site. http://cornwallautismsupport.com/forums/

Topic Thumbnails?

Published on January 30th, 2014 by assylumn

Hi,

I am new to BBpress and was wondering if there was a way to display a small thumbnail logo next to each topic within a forum.

I am aware that there is a plugin that does this, however, that pulls an image from the topic itself and I want a standard image (site logo) to appear by each topic post.

Here is an example of what I wish to achieve: http://techiteasy.co/forums/forum/android/

The theme I am using was created in Artisteer but I am quite happy to edit the PHP if that is needed.

Many thanks

BbPress does not work with woocommerce and buddypress

Published on January 30th, 2014 by Wwasabi

Hello everyone. It is my first post.

It is nice to be a part of a such big community.

I have a problem with my WP. Currently I have installed buddypress, bbpress and woocommerce. It has to be “social platform” with an options to register user to an event (that is why woocommerce is used).

I am creating this website for a long time (2 months). and just 2 days ago I realized that all Forum settings disappear.

Of course I had a few back ups, but even the oldest did not fix the problem, do not know why.

It was working before because I set up a few forums, and created topics etc.

Also, when I try to delete the plugin or update, this appear: Fatal error: Call to undefined function bbp_get_user_id() in /home/rugby7s/domains/rugby7s.vdl.pl/public_html/wp-content/themes/Glow-child/functions.php on line 8

Functions.php was not modificated by me.

Forum works, but cannot be edit in any way in admin panel.

I use Elegant Theme: Glow.

Even if I change theme there is still the same problem, so in my opinion it is not theme’s problem.

I already searched any solutions, but it seems that no one had exact problem as me.

Any ideas what went wrong?

Thanks

Seb

forum url conflict

Published on January 30th, 2014 by DudeSchmitti

Hello there,

I created some sub-forums with the same Name in different forums ( called “events” ) and the problem is that if somebody tries to enter that forum, he is redirected to a wrong one with the same name!

All forums with the name “events” have the url “http://myurl.de/?forum=events
What can I do to separate forums with the same name?

bbp_new_forum hook

Published on January 29th, 2014 by Laviic

Hello,

I am trying to write a plugin that adds some meta-information to a forum when it gets created. I can see that bbPress has a “bbp_new_forum” and a “bbp_edit_forum” hook, yet those never appear to fire, no matter what i do. I even added a php-die directly in front of their respective “do_action” calls inside the bbPress source code just to find out, that the part of the code that should call the new_forum hook appears to never actually be executed. What are those hooks for then, and what hooks DO get called when you create/edit a bbPress forum?

Thank you for your help!

My Version of WordPress is 3.8.1
My Version of bbPress is 2.5.3

My customized sub-sub-forums

Published on January 29th, 2014 by tazogamer

I HAVE DONE THAT, but you need to read all these instruction and do a customization:



//using add_filter, i have changed one original bbPress function (named bbp_list_forums, created from bbpress\includes\forums\template.php function)
// copied  that function, and inserted the additional code (you can easily see my added extra code)
//so, after some time, someone, who will work on this website, may have to update the below "bbp_list_forums" function (according from the new version of bbPress package,as now its 2013-14 year), and insert again my added code in its place..

add_filter('bbp_list_forums','bbp_list_forumsNEWWWW',10);
function bbp_list_forumsNEWWWW( $args = '' ) {

	// Define used variables
	$output = $sub_forums = $topic_count = $reply_count = $counts = '';
	$i = 0;
	$count = array();

	// Parse arguments against default values
	$r = bbp_parse_args( $args, array(
		'before'            => '<ul class="bbp-forums-list">',
		'after'             => '</ul>',
		'link_before'       => '<li class="bbp-forum">',
		'link_after'        => '</li>',
		'count_before'      => ' (',
		'count_after'       => ')',
		'count_sep'         => ', ',
		'separator'         => ', ',
		'forum_id'          => '',
		'show_topic_count'  => true,
		'show_reply_count'  => true,
	), 'list_forums' );

	// Loop through forums and create a list
	$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
	if ( !empty( $sub_forums ) ) {

		// Total count (for separator)
		$total_subs = count( $sub_forums );
		foreach ( $sub_forums as $sub_forum ) {
			$i++; // Separator count

			// Get forum details
			$count     = array();
			$show_sep  = $total_subs > $i ? $r['separator'] : '';
			$permalink = bbp_get_forum_permalink( $sub_forum->ID );
			$title     = bbp_get_forum_title( $sub_forum->ID );

			// Show topic count
			if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
				$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
			}

			// Show reply count
			if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
				$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
			}

			// Counts to show
			if ( !empty( $count ) ) {
				$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
			}

			
			
			
			
			
			
			
				//------------------------------------------------------------------------------------------------	
		//------------------------------------------------------------------------------------------------
		// ------------------------------------------------ HERE WHAT I HAVE ADDED ------------------------
		//------------------------------------------------------- START -------------------------------
		//------------------------------------------------------------------------------------------------
		$fresnhesss=bbp_get_forum_last_topic_title( $sub_forum->ID );
		if(empty($fresnhesss))	{$fresnhesss='NO TOPICS';}
		else {$fresnhesss='<a href="'. bbp_get_forum_last_topic_permalink( $sub_forum->ID ) .'">'. $fresnhesss .'</a>';}
		
			// Build this sub forums link
			$output .= $r['link_before'] . '
				<li class="forumsSUUB">
					<div class="s_LINe"><a  href="' . esc_url( $permalink ) . '" class="bbp-forum-link">__' . $title . $counts . '</a></div>' .
					$show_sep . '
					<div class="bbp-forum-lastactivee">'.$fresnhesss.'</div> 
					<div class="bbp-forum-contenttt-descr">'. bbp_get_forum_content($sub_forum->ID) .'</div> 
				</li>' . $r['link_after'];
			

		// sub-sub-forums list
		$sub_forums2 = bbp_forum_get_subforums( $sub_forum->ID );
		if ( !empty( $sub_forums2 ) ) {
		
		$i = 0;
			// Total count (for separator)
			$total_subs = count( $sub_forums2 );
			foreach ( $sub_forums2 as $sub_forum2) {
			
				$i++; // Separator count

				// Get forum details
				$count     = array();
				$show_sep  = $total_subs > $i ? $r['separator'] : '';
				$permalink = bbp_get_forum_permalink( $sub_forum2->ID );
				$title     = bbp_get_forum_title( $sub_forum2->ID );

				// Show topic count
				if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum2->ID ) ) {
					$count['topic'] = bbp_get_forum_topic_count( $sub_forum2->ID );
				}

				// Show reply count
				if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum2->ID ) ) {
					$count['reply'] = bbp_get_forum_reply_count( $sub_forum2->ID );
				}

				// Counts to show
				if ( !empty( $count ) ) {
					$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
				}

			//fresnhess		
			$fresnhesss2=bbp_get_forum_last_topic_title( $sub_forum2->ID );
			if(empty($fresnhesss2))	{$fresnhesss2='NO TOPICS';}
			else {$fresnhesss2='<a href="'. bbp_get_forum_last_topic_permalink( $sub_forum2->ID ) .'">'. $fresnhesss2 .'</a>';}
			
				// Build this sub forums link
				$output .= '
				<li class="bbp-forum forumsSUUB">
					<div class="subsub_LINe"><a  href="' . esc_url( $permalink ) . '" class="bbp-forum-link">__' . $title . $counts . '</a></div>' .
					$show_sep . '
					<div class="bbp-forum-lastactivee">'.$fresnhesss2.'</div> 
					<div class="bbp-forum-contenttt-descr">'. bbp_get_forum_content($sub_forum2->ID) .'</div> 
				</li>';
			}
		}
		//------------------------------------------------------------------------------------------------
		//------------------------------------------------------------------------------------------		
		//----------------------------- END of my inserted code (then continues normally)-----------
		//------------------------------------------------------------------------------------------	
		////------------------------------------------------------------------------------------------------	
			
			
			
			
			
			
		
			
		}

		// Output the list
		echo apply_filters( 'bbp_list_forumss', $r['before'] . $output . $r['after'], $r );
	}
}	

How to display SUB-SUB forums

Published on January 29th, 2014 by tazogamer

how to display not only subforums of a forum, but subforums’ subforums too…:

    currently i have:

CARS
-BMW
-Ferrarri

    and need to get:

CARS
-BMW
–2009year
–2010year
-Ferrarri
–2009year
–2010year

Skip to toolbar