Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum/Topic Description: concat custom message

Published on November 26th, 2014 by robertosalemi

WordPress 4.0
bbPress 2.5.4

Hi,
in the function ‘bbp_get_single_forum_description’, I would concat a message for user not logged in.

I wrote:

add_action( 'bbp_get_single_forum_description', 'msg_for_user_loggedin' );
add_action( 'bbp_get_single_topic_description', 'msg_for_user_loggedin' );

function msg_for_user_loggedin( $args = '' ) {
	if ( !bb_is_user_logged_in() )
	{ 
		$custom_msg = "You must be logged in to see all topics.";
	}
	else 
	{
		$custom_msg = "";
	}
	
     echo $custom_msg . bbp_get_single_forum_description( $args );
}

But it not works, why?

Thanks.

bbPress conflicting with a plugin

Published on November 26th, 2014 by baconcape

Hi,

How can I diagnose where the conflict between bbpress and a plugin on our website occurs so I can fix within the plugin?

We’re using a theme that integrates the bbpress forum in to it and we’re 99% sure that this plugin is the reason why the forum isn’t working but we need both the plugin and the bbpress forum to work alongside each other.

How can we find the issue with the plugin and fix it? At the moment the forum structure works but threads and replies aren’t shown at all.

Thanks,
Adam

After upgrade to wordpress 4.0.1 topics disappeared

Published on November 26th, 2014 by vale12

Hi,
I have upgraded a website to wordpress 4.0.1 and bbpress to version 2.5.4 and after that topics have disappeared. If I click on each forum appear two messages:
This forum contains 7 topics and 102 replies
but no topics are shown and after this message there is this other message:
Oh bother! No topics were found here!

We have tried to change the template and to deactivate the plugins but there are no conflicts and the issue still exist.

Shortcode and private topics

Published on November 26th, 2014 by robertosalemi

Hi,
in my forum, I created public and private topics.

I’m using the shortcode:
[ bbp-forum-index ]
for show my topics.

Can I show only the title of private topic, anche when user click on it goes on the 404 error page with login form?

Thanks.

uiui

Published on November 26th, 2014 by fireon

uiu

Single forum shortcode pagination not working

Published on November 26th, 2014 by shabus

Hi,

I have a problem where pagination is not working in my theme.

I am doing template redirect in function.php to template file of forum, topic or reply if URL is like http://domain/forums/…
Right templates are loaded and right content is shown, but pagination is not working, first page is always shown/loaded.
Pagination appends …/page/{page}/ to URL when page is selected, but always first page of data loads.
I have tried to set page manually, among others, $bbpressInstance->forum_query->paged, but no luck.

My question is, how and where to set page that should be loaded, and how to track where is the problem. Because problem is in my theme, pagination works in WP default themes.
How to debug this?

I am on deadline, but stuck on this basic feature and should appreciate some pointers how to debug this.

BBPress forum is included in my template file through shortcode
echo do_shortcode('');
Topics are included like
echo do_shortcode ( '' );
And Replays like
echo do_shortcode ( '' );

This is why we can’t have nice things

Published on November 25th, 2014 by John James Jacoby

For the past 10 hours, the BuddyPress.org and bbPress.org codex sites have been the target of an automated spam attack, creating hundreds of pages, posts, and additional taxonomy terms.

This happened only because of our own wishes for our documentation sites to be an active and thriving representation of everything related to the software, and not because of any bugs or glitches in WordPress or on BuddyPress.org or bbPress.org.

We were automatically granting users the “Editor” role, so you would be able to modify pages. This has worked really well for us since 2009, but only because we’ve gotten lucky enough for no one to take advantage of the open access; until today.

In the very near future, we’ll be officially putting together a “Codex Team” of trusted and prolific contributors to grant codex access to basically anyone that asks for it. @netweb, @robin-w, and @mercime have already been doing this job for a long while, and we’ll bring a few others into the mix too.

Sorry about having to restrict a few things. We had a good run there, but now it’s time to tighten things up a bit and ensure a safe and cooperative environment for everyone.

Admin access to the codex will be turned off for a few days while we put together some guidelines and reinvent the codex access code.

If you’re interested in helping out around the codex more, drop a note here and someone will make sure you’re taken care of shortly.

Add custom elements to the User Profile page?

Published on November 25th, 2014 by Reverend2100

Hi brainy people!

I’ve added the forums to my website, and have also added a plugin called Users Ultra. For the most part, the forums and Users Ultra share enough common ground that they do, to an extent, work together.

however one thing I’ve been having trouble with is that UU allows inter-user messaging, wheras I don;t think bbPress does. So for that reason I need to be able to add a Users-Ultra-generated Message User button on the bbPress Profile page.

(I hope I’m making sense here)

However, when I edit the file I believe should be controlling that page (\wp-content\plugins\bbpress\templates\default\bbpress\user-profile.php), no changes actually show up on the live site?

So, in short, how do I add some custom code to the bbPress User Profile page? Or does anyone know if a more elegant way to make this function work through bbPress?

How to remove alphabetical order in Forums and Categories ?

Published on November 25th, 2014 by Letty2014

Hi,
I’m new to bbpress and I have set up a forum which I really like the look of.
However they are in alphabetical order which is not what I want.

I’ve tried and failed to find a solution.

See below how they are arranged, General needs to be at the top, plus there is more to add once I know what I’m doing.

Many thanks in advance for any help.

Letty

Farm Machinery
Machinery for sale (0, 0), Machinery wanted (0, 0)

General
How to post a photo (0, 0), Welcome (0, 0)

Livestock
Beef Cattle (0, 0), Dairy Cattle (0, 0), Pigs (0, 0), Sheep (0, 0)

Error 404 – Page Not Found on registration and log in

Published on November 25th, 2014 by Jutarbari

I’m having an interesting problem. I have set up a forum and was testing it with a test user. As oon as the user registers or logs-in, the forum root url shows as 404. If the suer logs out, the forum root is again visible. As adnibistrator I have no such issue. The issue is when I have a test user log in as ‘participant’

Here is where I have my test forum.

http://www.bangladeshexpats.com/forums/

Skip to toolbar