Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom Code after first Post in Topic

Published on April 9th, 2014 by varma

Hi

I would like to insert a custom code or eco a shortcode after the first post in a topic. ( or say adsense after first posts)

I have tried to implement this – https://bbpress.org/forums/topic/displaying-adsense-ads/

But seems to be not working correctly.

When posting the code in loop-sing-reply, its getting showing below all replies.

Anyway to show only after the first posts.

Hope to get an help soon.

plugin.php disabeld

Published on April 9th, 2014 by Karretto

Hey!

When I have bbPress activated and want to go to the plugin overview, the whole page appears white. So nothing is there.

Reinstalled it, still the same error.

Any idea what could make that problem?

Is there a hidden advanced editor or something?

Published on April 9th, 2014 by Mycelus

Why is there only like 10 options for the bbPress editor..?

Where do I change the color of font or the size or underscore, etc etc…

Auto-post plugin

Published on April 8th, 2014 by Bicho

Hi. I’m looking for a plugin to perform a very simple action: everytime a new forum and/or topic is posted on my site, it is auto-posted to Facebook and Twitter.

Anyone? Thanks!

I’m using:
WP 3.8.1
bbPress 2.5.3-5249

Redirecting to BBPress profile via functions.php

Published on April 8th, 2014 by bbpressuserkb

Hello,

I added the follwoing code to functions.php

add_action( ‘init’, ‘blockusers_init’ );
function blockusers_init() {
if ( is_admin() && ! current_user_can( ‘administrator’ ) &&
! ( defined( ‘DOING_AJAX’ ) && DOING_AJAX ) ) {
wp_redirect( bbp_user_profile_link( bbp_get_current_user_id() ) );
exit;
}
}

This redirects users to http://www.mydomainame.org/wp-admin/profile.php
and displays a link to their BBPress Profile.
Question is, how do I redirect users directly to to their BBPress profile?

This is probably something very simple, but I am not a developer unfortunately.

Thanks for your help.

Url Creation

Published on April 8th, 2014 by jpgrilo

Hello
I have successfully migrated my forum from PHPBB to bbpress, but i have encountered a problem that i do not know how to result this

Example
If you visit this topic http://www.bushcraft-pt.org/?topic=leather-work-by-jpgrilo and try to click on button of the page 16 it will return an error “This is somewhat embarrassing, isn’t it?
It seems we can’t find what you’re looking for. Perhaps searching can help.”
I have found that the software is malforming the url. Instead of this http://www.bushcraft-pt.org/?topic=leather-work-by-jpgrilo&paged=16 he is generating this
http://www.bushcraft-pt.org/?topic=leather-work-by-jpgrilo6.
The strange thing is, if i click in the button referring the page 2 everything works fine.
How can i result this problem, any ideas?

WordPress 3.8.1 running Twenty Twelve theme.
bbpress Version 2.5.3

Thank you in advance
Joao

Changing The Fonts Colors lol

Published on April 8th, 2014 by Grimsilver

So I know people will facepalm at the question, but I am just really confused on this and I don’t wanna edit and mess the little bit of work I have done up lol. So anywho, how can I change the font color on the topics and posts? They are pretty difficult to see: https://i.imgur.com/8ZOOaef.png But yeah, I really dunno much (If anything) about code or website stuff so, surprised I got this far! Thanks for the help!

Getting forum page name from plugin

Published on April 8th, 2014 by SooperGenius

Hi,

Here’s my situation. I have a site with several forums. Let’s call them Forum A, B and C. All users to the site can view Forum A. Through other actions that happen on the site users collect points. At a certain point total Forum B becomes available. At another point total Forum C becomes available. There is an external webservice I can call to see if the user has the appropriate number of points for the relevant Forum.

As far as I can tell, bbPress doesn’t have the built in capability to handle that particular permissions scenario so I’m building a plugin. My plugin is hooking on the “user_has_cap” filter to determine whether a user can see a particular forum. I don’t want to make an external webservice call on every single current_user_can() call that gets made during a page load, so in my hook function I want to immediately check to see if the current request is a Forum page.

For example, if the requested page was “http://localhost/wordpress/forums/forum/forum-b/” then being able to get the pagename “forums” it would allow me to jump out of my hook function immediately if the request wasn’t for a forum page or topic. Below is a copy of code/pseudocode for what I’m doing in the plugin.

function forum_lock_check($allcaps, $cap) {
    if (pagename != "forums") return $allcaps;	

    if (webservice says I can) {
        $allcaps["can-view-forum"] = true;
    }
    return $allcaps;
}

add_filter("user_has_cap", "forum_lock_check", 10, 3); 

Is there a wordpress or bbpress function that gives me the pagename the forum is attached to? Of course, if there is an easier way to do what I want, I’m all ears for that as well. Thanks for any help you can give me.

Can I unpublish forum

Published on April 7th, 2014 by

I use a forum for a 6 week course then I start a new forum for the next one. I don’t want to lose information from the first forum (I answer things and like to have the area for reference). I don’t see how to unpublish. I set it to hidden and made it private but it is still showing on my list of forums when I click on my menu item forum.

http://cleanseandchange.com/member-area/forums/

Unfortunately you can’t see because it is behind a member area. If it is still showing what is “hidden” and “private” doing.

Thanks

Edit Menus Problem

Published on April 7th, 2014 by chapman387

I have installed bbPress, and think it’s great. My thanks to the developers!
I am having a problem though……As Administrator I installed bbPress, and therefore am a Keymaster.
However, I have given the same privileges to two other Users (Administrator/Keymaster, but if they go:

Dashboard>Appearance>Menus they only see Pages/Links/Categories option for menu editing, whereas I see the additional Forums option.
Any ideas anyone?
Many thanks,
Chris

Skip to toolbar