Skip to:
Content

bbPress.org

Opened 11 years ago

Last modified 10 years ago

#2325 new enhancement

bbPress Permalink Bug with Multisite Sub Site network users

Reported by: chuckingit's profile chuckingit Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.1
Component: API - Rewrite Rules Keywords:
Cc: pippin@…

Description

Hi - i'm pretty sure i found a bug with bbPress 2.3.1 with respect to permalinks on a multisite network sub site ...

accordingly, when i have a user that is not subscribed per se to a sub site but is a subscriber on the network, when that user tries to login to the sub site running bbPress, the forum permalinks break yet the other post permalinks are fine ...

the forum permalinks look normal on hover-over but when clicked on i get 404 error message and those messages seem to show a double sub site inserted -> e.g., the correct link would be site.com/sub-site01/forums/forum/topic/my-topic ... yet the 404 error messages show site.com/sub-site01/sub-site01/forums/forum/topic/my-topic ...

i had the default role for the forum settings to be "participant" but even when i changed that role to "blocked", the network user not subscribed to sub site still gets the forum 404 messages ...

this is strange because a public person, not registered on the network at all, can click on forum links and they resolve correctly ... and if other users log in to the sub site who are registered on that sub site, they too can follow all forum links ...

my understanding about MultiSite Networks and Users is that all users on a network, regardless of status, when they try to login to any other sub site, inherit the "Subscriber" role at most ...

thus i think bbPress is introducing somekind of conflict when it sees a user is not registered with the site but then does not give that person the subscriber role hence the broken forum permalinks ..??..

cordially, chuck scott

Change History (5)

#1 @chuckingit
11 years ago

  • Type changed from defect to enhancement

UPDATE - the bug mentioned above goes away when the "auto role" setting is set to on ... as fyi, before i created this trac i had posted thread in bbPress forums looking for insight and @jaredatch provided a helpful suggestion that worked ... meaning once i turned on auto role, the permalinks worked for network users not assigned to a sub site which you can read about here ->
http://bbpress.org/forums/topic/registrationlogin-issues/#post-134078

i do believe my point is still valid in that permalinks should not break if this auto role option is not selected but hey, bbPress is a wonderful work of art in progress - a good thing :>) cheers - chuck scott

ps - i've since modified this ticket from defect to enhancement as a result of Jared Atchison auto roll insight

Version 0, edited 11 years ago by chuckingit (next)

#2 @johnjamesjacoby
11 years ago

  • Milestone changed from Awaiting Review to 2.4

This is pretty strange. Have you tried visiting your permalinks page for the subsite, and resaving them? It's been a while since I've tested bbPress specifically on a subdirectory multisite installation, but it should work perfectly okay, as bbPress uses WordPress's own get_permalink() function to get all of the necessary URL's used in the anchor tags.

Going to move this into the 2.4 milestone, to look into it more then, since it's highly unlikely to be a regression introduced in 2.3.

#3 @johnjamesjacoby
11 years ago

  • Milestone changed from 2.4 to 2.5

Can't duplicate, but doesn't mean it doesn't exist. Moving to 2.5.

#4 @mordauk
11 years ago

  • Cc pippin@… added

#5 @johnjamesjacoby
10 years ago

  • Component changed from General to Rewrite Rules
  • Milestone changed from 2.5 to Future Release

Still can't duplicate, so punting to Future Release. Please feel free to move this back into a current milestone as needed.

Note: See TracTickets for help on using tickets.