Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#3275 closed defect (bug) (wontfix)

The forum tab is not highlighted when the forum is displayed

Reported by: lightcapturer's profile lightcapturer Owned by:
Milestone: 1.5 Priority: normal
Severity: normal Version:
Component: Templates Keywords: reporter-feedback
Cc:

Description

One of the coolest in BP 1.3, that it has support for bbpress plugin, including the bp-default theme. One of the lacking is on the navigation menu: the forum tab is not highlighted when the forum is displayed.

Attachments (1)

forum.jpg (90.0 KB) - added by lightcapturer 13 years ago.

Download all attachments as: .zip

Change History (9)

@lightcapturer
13 years ago

#1 @DJPaul
13 years ago

  • Keywords reporter-feedback added; navigation bbpress removed

Woah, weird seeing me in the screenshot! Anyway.

I can't recreate this. How are you adding the bbPress forum into the menu? Are you using custom menus or not?

#2 @lightcapturer
13 years ago

;)

I'm just using a regular page and gave it a name same as the Forums Base slug. I'm not using custom menus because it doesn't works.

Last edited 13 years ago by lightcapturer (previous) (diff)

#3 @lightcapturer
13 years ago

The Discussion Forums on the BP Components I switch off also.

#4 @DJPaul
13 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Though I can't recreate the error exactly the same as you, when I create a page called "forums", with bbPress and BuddyPress active/set up, WordPress just loads up the Page called "forums" (not bbPress). And, yes, the menu item isn't selected (class=current_page_item).

Tracing this back into wp_list_pages() -> $wp_query->get_queried_object_id(), $wp_queryquery_vars?post_type? is 'forum'. Because you are using the same URL name ("forums") as the registered root of one of bbPress' post types ("forum"). This then prevents the current_page_item class being set correctly.

Though this is unfortunate in this case, everything's working correctly. You'll either have to use a page slug other than "forums" for your page in the navigation, or use custom menus and create a http://.../forums/ link.

#5 @johnjamesjacoby
13 years ago

  • Milestone changed from Awaiting Review to 1.5
  • Severity set to normal
  • Version 1.5 deleted

Moving closed ticket out of Awaiting Review.

#6 @crzyhrse
11 years ago

Thanks for this, same situation, just changed the slug to "discussions" and it highlights...

#7 @crzyhrse
11 years ago

Correction- changing slug highlighted tab, but disappeared the forums from the page...

Creating the custom menu item with the forum page link was the answer...

#8 @DJPaul
8 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.