Skip to:
Content
Pages
Categories
Search
Top
Bottom

do_action('load-edit.php') … calling bbpress and then an error

Published on December 11th, 2012 by Kyle Burnett

i am using another plugin (codepress admin columns) that calls do_action(‘load-edit.php’) to load all the plugins to get some info – namely custom columns. since and update to both – which, ironically both updated today – i get this error:

Fatal error: Call to undefined method stdClass::add_help_tab() in /home/content/…/wp-content/plugins/bbpress/includes/admin/forums.php on line 118

And if I get past that error, it’s the same thing for admin/topics.php and admin/replies.php.

What I have traced it to is this:

private function bail() {
if ( !isset( get_current_screen()->post_type ) || ( $this->post_type != get_current_screen()->post_type ) )
return true;

return false;
}

For some reason bail() is not bailing. I – the user – am on options-general.php?page=codepress-admin-columns, and yet bail() thinks the current screen’s post type is ‘forum’ (or topic or reply).

I’m thinking this is a naming convention problem? Why else would get_current_screen return as a ‘forum’ post_type when I’m no where near the forum – I’m just loading it to read some data.

Thanks for any info.

Forum permalinks adding a "-2" at the end

Published on December 11th, 2012 by rsanchez1

On my site, I have permalinks for different categories. If I have a forum with the same name as one of the categories, then the permalink for that forum will have a “-2” added at the end. For example, if I have a travel category and a travel forum, then my travel category will have permalink:

www.example.com/travel

While my travel forum will have permalink:

www.example.com/forum/cat/travel-2

Here, I changed the Forum slug in the backend to “cat” instead of “forum”.

Why would the forum permalink add a “-2” at the end? Every time I try to update the slug to the forum from the backend, just adding “travel”, when I save it, it comes back to me as “travel-2”. This one has me stumped.

Changing membership status by batch?

Published on December 11th, 2012 by braenz

Would it be possible to change the status of lots of “members” to our own specially created status, i.e. “financial member”.

I’m wondering if it would be feasible to get someone to write a piece of software to do it automatically in a batch?

Remove Freshness Date In Forum & Topic Pages

Published on December 11th, 2012 by AllenPayne

Hi everyone,

I want to remove the last post date from my bbpress forum and topic pages:

I want only this to show up:

Freshness

[AVATAR IMAGE] Username

Basically i want to get rid of the date. I tried using CSS with this code:

li.bbp-forum-freshness a,
li.bbp-topic-freshness a{

display: none;

}

But it hides both the date and the username.

So, how can i hide only the date and leave the username?

Please help.

How do readers log in to create topic or add comments

Published on December 11th, 2012 by paulwclark

I’m in the process of setting up a forum, but when I check out the forum pages there is no way I can see for someone to post a new topic or add comments. Is there a Log In check box I failed to check in my wordpress.org dashboard, or maybe I need to add a log in plugin?

Remove "Edit this" link at top of topics

Published on December 11th, 2012 by JuaninLAdP

Hey! First time around here, and I’m a total newbie to bbpress. Glad you see you all!

I have a slight problem with my bbpress installation. Users from the forums see an “Edit this” link at the top of the topic and when they use it they can edit the topic in the WordPress post editor.

Is there a way to remove that link?

Thanks!

Showing recent posts in parts of the site?

Published on December 11th, 2012 by inliving

Hi,

I have a section of my site where I list recent forum posts on the page (among other things) What I’d like to do is add another section that’s more specific, i.e. listing recent posts to a specific forum.

Is it possible to modify the code below to look in specific forums?


$args = array('post_type' => 'topic', 'posts_per_page' => 5);
$forum_topics = new WP_Query($args);

Reset roles and capabilities

Published on December 11th, 2012 by enquirer32

Is there a way to do this so I have the basic rules when I originally installed the site? I’m using the latest versions of both WP and BP.

Is it possible to only show the reply only for the user who posted the reply?

Published on December 11th, 2012 by surya300

Is it possible to only show the reply only for the user who posted the reply?
&
How can i restrict so that only admin can post a thread

Permalinks and translation problems

Published on December 11th, 2012 by dFactory

Hi,

I saw somwhere a topic about Forums, Topics and Replies somwhere in the forum and want to confirm that it exists even in just releases 2.2.3. In admin and on frontend bbpess post types labels don’t get translated (tested on 2 different sites, translated in 2 different tools, my language uses extended latin chars).

Another issue is with the User profile rules (permalinks, line 873 in bbpress.php). It’s possible to filter rewrite rules for user favorites and subscriptions but topics and replies (and it’s pagination) are hardcoded, even if there are functions available to use instead (and filter if needed)

Skip to toolbar