Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Per Forum Permissions by Group

@trymedo

Participant

@robin-w Hi, I’m back! 😛 (and I haven’t forgotten about my promise to donate – I’m still waiting for my invoice to be paid!)

I’ve been testing this plugin, and although the updates seem to have improved a few things, I’m still having issues when trying to list topics.

If I look at http://www.mysite.com/topics as an administrator/keymaster, I can see all topics fine.
If I look at http://www.mysite.com/topics as any other user then I just get a white page

This appears to be the same error as before, with the query timing out due to the large amount of topics it’s trying to check privileges for.
Is there a way to use the ‘Topics Per Page’ value from bbpress as the limit on the query? I understand this might screw up the pagination slightly, but I’d rather the page count was wrong than the topics listing being unavailable.

I was looking into adding this myself, but I don’t know where I can pull the current page information from in order to set the query offset…

Do you think this would be a viable option to reduce the amount of work the database/php is doing each time?

*edit* Pagination would be an issue if I did the above wouldn’t it… Hmmmm [scratches head].

Would a JOIN sql statement be an option in order to do the matching of groups-to-users-to-topics bit while grabbing the topics, rather than grabbing all topics and then checking each one individually?

Skip to toolbar