Search Results for 'code'
-
Search Results
-
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?
Topic: Multiple Forum IDs
I need a way to pull topics from the current forum as well as all subforums in the topics loop. To do this, I’ve fetched all forum IDs of the subforums using bbp_get_forum_id() and bbp_forum_get_subforums().
So now I have an array of all subforum IDs stored in $forum_ids.
I started to write a custom query that I can reset so that I won’t disturb the current context of the topic_query but then I realised…I don’t know how to pass the subforum IDs to the query. Is there any functionality that allows me to select from multiple forums? If not, can you direct me to where I have to modify the code? There is so much abstraction that my head is swimming.
WP3.4.2, Buddypress 1.6.1, bbPress2.2
I’ve set up the new bbPress 2.2 forums for BuddyPress groups as per http://codex.buddypress.org/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/ . But I may have encountered a bug. Has anyone else had the following problems?
The BuddyPress group admin>forum page check box (followed by save) seems to have no effect on turning the bbPress forum on or off for that group. If the forum was on, it stays on – even if the check box is off. If the forum was off it stays off, even if the check box is on.
Also, the bbPress “forum” tab shows on the group page subnav, even if there is no forum for that group.
By the way, the check box does toggle the “enable_forum” field in the wp_bp_groups database table. But neither BP nor bbPress seems to respond to the change.
Any help on understanding/fixing this would be much appreciated please.