Search Results for 'code'
-
Search Results
-
The shortcode would allow forum owners to display the category and it’s forums with their descriptions, number of topics, posts etc. on a page.
If we had this shortcode, we could set up bbPress forums to look like phpbb3 – with all categories and their forums on one page – which is what I’ve seen a lot of people asking for.
Hello. I’d like to allow anonymous posting, but disable it in specific forums. Here’s what I have so far:
function specific_anonymous_bbp() {
if (is_post('XXX')) {
return apply_filters( 'bbp_allow_anonymous', 0)
}
}
add_action( 'plugins_loaded' , 'specific_anonymous_bbp' );I’ve tried about a thousand different combinations (the above being the latest) with no luck. I found the bbp_allow_anonymous hook looking through the core files, but I’m not sure how to disallow it for specific posts. I also tried making form-anonymous.php conditional based on post ID, which worked, but caused other issues. Any ideas?
Morning all,
I’m just in the process of doing a fresh wordpress + buddypress install.
All is going well for the most part with the exception of the global forums.
So I enabled Group forums, and thats going fine.
I then enabled Global forums and it ran through what seemed like a bbPress install.
All fine (with the exception of bbPress trying to use the same slug ‘forums’, but that was an easy one.
Now: To create a dedicated page/tab for the global forums is there a short-code I can simply add to a new page?
Also, nothing from the global forums seem to be appearing in the members activity stream. Is that normal?Cheers
JaseThe forums page is blank
badgerakpsi.org/forums
(I used the shortcode [bbp-forum-index] )But individual forum pages will show
For example: http://www.badgerakpsi.org/forums/forum/course-recommendations/Please help! How can I get the forums page to show?
I have a normal WordPress site with the bbPress Plugin installed.
Is there a hook or template tag I can use to run code when any type of front end bbPress page is displayed (forum/topic/reply etc.)?
I want to run some custom code, but only if the current page is a bbPress page. I don’t want code to run on every page on my site when it’s not needed (i.e. for non-bbPress pages).
Thanks.
Topic: New topic address
Hi!
I’m not sure if this is the right forum, but…
I’m trying to create separate page for creating new topic (user presses some “New topic” button, it redirects him to the page).I know I have to create new page in WP. I also know I have to use [bbp-topic-form] shortcode for that page. My problem is that I don’t know how to correctly setup the address for that page. I would like it to be in the form: “www.mydomain.net/forums/new-topic”. But I can’t select bbPress’s pages as the parent for my new page, so it looks like “www.mydomain.net/new-topic” in my case.
Any ideas how to make this work?
On this page http://www.turnbowmedia.com/2012/12/pricerr-theme/ I display the shortcode
[bbp-single-forum id=$forum_id]Underneath it gives the option to add a topic on that page, I don’t want my users to create topics from there. Is there a way to remove that part so they can’t add topics directly from that page?