Forum Replies Created
-
In reply to: Forums no longer appear after upgrade, topics do
Do you know if bbPress has a problem with database prefixes such as:
wp_new_
In reply to: Forums no longer appear after upgrade, topics doThanks. I will try that, but I think it’s possibly not that. I have a copy of the site running the same plugins but with WP3.8.2 and it’s OK.
In reply to: Upgrading old version – safe to go from 2.0 to 2.5.3OK – thought it was a roles problem.
I reset: Remap existing users to default forum roles
Now I have access, and it looks fixed.In reply to: Upgrading old version – safe to go from 2.0 to 2.5.3I ran the queries above on the database directly.
[19] returns one row OK – this is the correct forum; so why not displayed?
[21] MySQL returned an empty result set (i.e. zero rows) – this is correct as all forums are post_status = ‘private’
I did this whilst logged in as admin, so should have access OK.
In reply to: Upgrading old version – safe to go from 2.0 to 2.5.3I also tried saving permalinks – did not help.
Running define(‘SAVEQUERIES’, true) shows that the forum queries are being run:
[19] => Array
(
[0] => SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = ‘FORUMNAME’ AND wp_posts.post_type = ‘forum’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘hidden’ OR wp_posts.post_status = ‘private’) ORDER BY wp_posts.post_date DESC[21] => Array
(
[0] => SELECT ID FROM wp_posts WHERE post_name LIKE ‘FORUMNAME%’ AND post_type = ‘forum’ AND post_status = ‘publish’In reply to: Upgrading old version – safe to go from 2.0 to 2.5.3I should add that topic links like this:
http://www.mydomain.com/forums/topic/my-topic-title
still work OKIn reply to: Upgrading old version – safe to go from 2.0 to 2.5.3I’ve done a test install.
Links like this are breaking (I’m getting ‘Page not found):
http://www.mydomain.com/forums/forum/forum-nameI have run all the recounts.
I suspect the way the slugs work has changed.
On the working site, the settings are:
Archive Slugs
Forums base: forums
Topics base: topicsSingle Slugs
[v] Prefix your forum area with the Forum Base slug
Forum slug: forum
Topic slug: topicThe test upgrade site has this:
Forum Root Slug
Forum Root: forums
[v] Prefix all forum content with the Forum Root slug
Forum root should show [forum index]Single Forum Slugs
Forum: forum
Topic: topicAny ideas?
Thanks
In reply to: Upgrading old version – safe to go from 2.0 to 2.5.3Many thanks
In reply to: Forum Participant role cannot view private forumAndre and selise – many thanks for your input.
For anyone reading this thread, the conclusion is that this is a bug or feature that needs work.
The work-around is above.
This is effectively closed for now, awaiting Trac feedback.
In reply to: Forum Participant role cannot view private forumI decided this does seem like a bug, or at least a feature that needs change so I added it to Trac:
In reply to: Forum Participant role cannot view private forum[WORK-AROUND]
I used the WP plugin ‘User Role Editor’ (WP not bbp plugin)
https://wordpress.org/extend/plugins/user-role-editor/
to add some capabilities to the ‘forum participant’ role.
These seem to be the extra capabilities required:
[v] read_hidden_forums
[v] read_private_forums
[v] read_private_replies
[v] read_private_topics
If set up without the ‘read_hidden_forums’ capability, forums are visible, but not topics. I don’t know if this is real or because I have been switching the hidden/private setting for the forum during testing.
I have done some basic testing and access/posting/replies/create topic/uploads/subscribe all seem to work OK.
I guess this could be done simply via some code in functions.php, but I don’t have the time to investigate.
In reply to: Forum Participant role cannot view private forumFor completeness, this seems to be related, possibly:
https://bbpress.org/forums/topic/bbpress-20-private-forums-and-404-fiasco
In reply to: Forum Participant role cannot view private forumSelise – thanks for checking.
Andre – before I add this as a possible bug on Trac, is it possible that this is intended or a feature?
It seems to me that making a user a ‘forum participant’ should allow them to view on of hidden/private forums, although I’m not clear about the destinction between hidden and private. But perhaps the Devs think that private/hidden should only be seen by mods and above. If so, it makes private forums tricky.
In reply to: Forum Participant role cannot view private forumAndre – many thanks for your reply. I had checked that but I tested it again as follows:
Forum = Visibility: Hidden
User = Forum Participant
Result = Oh bother! No forums were found here!
Forum = Visibility: Hidden
User = Forum Moderator
Result = Forums and topics show OK
Forum = Visibility: Private
User = Forum Participant
Result = Oh bother! No forums were found here!
Forum = Visibility: Private
User = Forum Moderator
Result = Forums and topics show OK
I also tried posting a topic as the user, but even that does not show.
SDo no luck
In reply to: Help with bbPress V1.0 vs v2.0 choiceThanks for both replies.
So the bbPress beta 3 would be OK for a production site?
But just now it does not do file auploads/attachments?
And there is not yet a file upload / attachment plugin for it?
Anyone know about how resource hungry it is in a WP3.2.1 system with a few other plugins?
Thanks