Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 70 total)

  • notpoppy
    Participant

    @notpoppy

    @danbp Thanks very much – I see you also need to edit the strong part as well to get the text all the same colour. Here’s what I used in case anyone finds it useful:

    .atwho-view, .username strong {
    	color: #1280c6 !important;
    }

    notpoppy
    Participant

    @notpoppy

    I’m still trying to work out how to do this if anyone can help?


    notpoppy
    Participant

    @notpoppy

    OK I’ve been able to recreate the problem which has given me a much better understanding of what is going wrong. Worryingly, it seems the problem also affects anyone who’s signed up for the first time:

    * New users (and some existing users) are shown the message “You cannot create new topics” in forums belonging to groups which they are not members of.
    * They are also shown the message “You cannot reply to this topic” in topic threads of forums belonging to groups which they are not members of.
    * If they join the group, these messages go away

    I thought the way it was supposed to work was that users can post in any public forum, and when they do so for the first time they automatically become a member of that group. Is that correct? If so why isn’t that working here?

    I have tried disabling all plugins (apart from BuddyPress and BBPress, of course) and using a default theme, all of which made no difference.

    I am still unable to run the “Remap existing users to default forum roles” option in /wp-admin/tools.php?page=bbp-repair. If I disable all plugins (apart from BuddyPress and BBPress) then when I run it I get the following error:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /var/www/f1fanatic/htdocs/wp-includes/cache.php on line 631

    I am looking into whether I can raise the memory limit on the server to get it to run. In the meantime if anyone can shed any light on this problem please do!


    notpoppy
    Participant

    @notpoppy

    I’m still trying to get to the bottom of why some of my users are being shown this message:

    “You cannot reply to this topic”

    As I mentioned above, whenever I run the “Remap existing users to default forum roles” option in /wp-admin/tools.php?page=bbp-repair I end up with a blank screen. It seems like this could be related to the problem – can anyone explain what this option does and how to fix it so it runs correctly?

    @danbp Thanks for the offer of help. Can I pass on this information to you privately somehow?


    notpoppy
    Participant

    @notpoppy

    @danbp Unfortunately it seems I spoke too soon – the original problem isn’t entirely resolved yet. This misbehaviour has returned:

    when I start a new form topic after I publish it I am taken to a different group. The new topic is created and in the correct place, but the behaviour of redirecting me to a different group obviously isn’t right.


    notpoppy
    Participant

    @notpoppy

    @danbp OK the best indication I have from reports from my users is this has fixed the problem, so thanks very much for your help! I really am very grateful.

    I have got another problem with groups which I am trying to solve which I have described here if you’re able to take a look:

    https://buddypress.org/support/topic/cannot-upload-group-photo-avatar-gives-404-error/


    notpoppy
    Participant

    @notpoppy

    Thanks for your help so far. I’ve made a start on your suggestions:

    What is your complaining users role on forums ?

    Forum role: Participant
    (WP role: Subscriber)

    Deactivate bbPress, resave your permalinks (should be other than default),

    I’ve done this (I just went into /wp-admin/options-permalink.php and hit ‘save changes’, I’m already using ‘Day and name’).

    reactivate and relaunch the repair tool

    I’ve done this.

    As before, “Recalculate the position of each reply” took a long time to complete (several minutes) and eventually gave a 502 Bad Gateway error. I tried again and got a 504 Gateway Time-out. I was feeling stubborn so I ran it once or twice more until finally I got “Recalculating reply menu order … Complete!”

    The remaining repair options all completed quickly until I got to the final one, “Remap existing users to default forum roles”. Each time I run this it pauses for a short while, then gives me a white screen. I tried this half-a-dozen times with the same result every time.

    I’ll press on with the other steps when I have more time. In the meantime it would be useful if anyone can suggest why I keep getting a white screen when I run “Remap existing users to default forum roles” and whether that might be related to my problems?


    notpoppy
    Participant

    @notpoppy

    To investigate further, I thought it might be worth running the Repair Forums tools (/wp-admin/tools.php?page=bbp-repair). These completed successfully with three exceptions:

    “Recalculate the position of each reply” – This spent a long time processing, then gave a 502 Bad Gateway error
    “Remap existing users to default forum roles” – The page went blank
    “Remove trashed topics from user favorites” – This gave a SQL error the first time and completed the second time.

    I wondered if the “Repair BuddyPress Group Forum relationships” option would help. When I ran it I got the message: “Repairing BuddyPress group-forum relationships… Complete! 0 groups updated; 0 forums updated; 0 forum statuses synced.”

    After doing all that I created a new topic as a test and again after publishing it I was taken to a different group.


    notpoppy
    Participant

    @notpoppy

    Thanks for the replay @danbp. I’ve gone through everything you’ve suggested and can’t seem to find anything amiss:

    When group component is activated, you should have a page assigned to groups. Ensure this page exist, without any content , page template or parent page. Just a page with a title.

    I believe I’ve done this – if I go into Settings > BuddyPress > Pages then next to ‘User Groups’ there is a ‘Groups’ page defined and if I click on ‘View’ I see the link works. I’ve also checked the page and confirmed it’s blank and doesn’t have a parent or template.

    Don’t forget to allow group forums in bbpress forum settings

    I’ve got “Enable Group Forums – Allow BuddyPress Groups to have their own forums” ticked.

    and to assign a group forum page, which should not be the existing Group page of BP.

    Is this the ‘Group Forums Parent’ setting underneath ‘Enable Group Forums’? If so that is set up and it is not the existing group page.

    On front when you create a new group, you create first the group. In one of the creation steps, you can check “allow this group to have a forum”. Then you save this. Once saved, you will see that the group name appeared in the select box. You must save this again to definitely activate a forum to this group. Same can be done by accessing group settings > forum tab.

    Resume of creating a group with forum
    enter a group name and description, check allow forum. Save. Select bow must contain the new group name. Save again.

    These are the steps I have followed to set groups and forums up. I have also gone into all of them and checked they have “Yes I want this group to have a forum” ticked and the correct forum is selected; they all do.

    And yet still I keep encountering the problems I described in my first two posts.


    notpoppy
    Participant

    @notpoppy

    I have another problem which might be related to this: when I start a new form topic after I publish it I am taken to a different group. The new topic is created and in the correct place, but the behaviour of redirecting me to a different group obviously isn’t right.

    I’m wondering if there is something wrong in how the forums are set up.


    notpoppy
    Participant

    @notpoppy

    I’m still trying to solve this.

    I saw elsewhere the group avatar folder and subfolders need to be owned by www-data – mine weren’t, so I made that change, but I still have the exact same problem as before.


    notpoppy
    Participant

    @notpoppy

    @qasimilyas Apologies if I’m missing the point here, but isn’t this something you need to change in WordPress?

    Uncheck ‘Allow people to post comments on new articles’ here:

    /wp-admin/options-discussion.php

    Of course for any articles you’ve already published you’re going to need to disable commenting individually by going into the posts and unchecking ‘Allow comments.’ under ‘Discussion’.


    notpoppy
    Participant

    @notpoppy

    @petervandoorn

    I also have this problem running WordPress 3.9.1, BuddyPress 2.0.1 and BBPress 2.5.4. It’s only been the case since I moved over to BBPress for forums.

    I’m happy to help anyone who’s trying to fix this apparent bug.

    These other threads appear to be relevant:

    https://buddypress.org/support/topic/private-group-topics-appearing-in-activity-stream-help/ (@kraigg)
    https://buddypress.org/support/topic/bugs-between-bbpress-and-buddypress/ (@jboye, @johnjamesjacoby)


    notpoppy
    Participant

    @notpoppy

    I then changed my group forum for the problematic group to ‘test forum 1′.

    I posted a thread in that forum and it seems to behave entirely correctly.

    I then switched back to the original forum and that also seems to work now! It also still works after deleting ‘test forum 1’.

    I’m not sure I understand what the problem was in the first place but I’m extremely grateful for your help fixing it.


    notpoppy
    Participant

    @notpoppy

    (Sorry I hit reply too soon, more to come…)


    notpoppy
    Participant

    @notpoppy

    Ok, so are both the forums that you want to use for both groups you added the URL’s to above ‘sub-forums’ of the f1 forum?

    Actually I made things a bit confusing as the example group and forum I chose do not share the same hierarchy as the one where the problem lies.

    So I’ve followed the steps from your subsequent post using another group and forum that do have the same hierarchy.

    I created a new forum called ‘test forum 1’ and gave it the parent ‘F1’.


    notpoppy
    Participant

    @notpoppy

    OK three of the four were right:

    – Forum Root Slug -> forums -> correct
    – Forum Prefix -> Check/Tick -> correct
    – Single Forum Slugs -> Forum -> forum -> correct

    However the correct value for BuddyPress Integration is:

    “BuddyPress Integration” -> “Group Forums Parent” is set as “F1”


    notpoppy
    Participant

    @notpoppy

    It was clear enough! 🙂

    Do both show the correct/expected bbPress forum selected?

    Yes, they do.

    comparing my examples above do you see anything in your config that differs that matches up with your URL mismatch somewhere…

    OK here’s what links I have for the forum where I have the problem with BuddyPress activated and deactivated. Note that it’s when BuddyPress is activated that the wrong group name appears on the ‘view’ link.

    BuddyPress activated

    Edit link: /wp-admin/post.php?post=127650&action=edit
    View link: /groups/incorrect-group-name/forum/

    BuddyPress deactivated

    Edit link: /wp-admin/post.php?post=127650&action=edit
    View link: /forums/forum/forums-2/f1/correct-group-name/

    And here’s the same information for a forum which is working correctly:

    BuddyPress activated

    Edit link: /wp-admin/post.php?post=127628&action=edit
    View link: /groups/name-of-another-group/forum/

    BuddyPress deactivated

    Edit link: /wp-admin/post.php?post=127628&action=edit
    View link: /forums/forum/forums-2/name-of-another-group/


    notpoppy
    Participant

    @notpoppy

    @netweb

    if you look in the wp_groups_groupmeta table at your group ID 26 and that 127650 value does NOT match the bbPress forum ID you expect it should match.

    OK having checked the forum IDs in BBPress the value for this group should be 127650. When I check that in wp_groups_groupmeta I find the same value next to group 26, which is correct. I had a look through all the forum_ids in wp_groups_groupmeta and they all seem to be correct.

    Also did you try updating via the ‘Group Forums’ Edit Screen UI?

    Sorry I don’t know what the ‘Group Forums’ Edit Screen UI is. In the WordPress admin pages I have menus for Groups (/wp-admin/admin.php?page=bp-groups), Forums (/wp-admin/edit.php?post_type=forum), Tools>Forums (/wp-admin/tools.php?page=bbp-repair) and Settings>Forums (/wp-admin/options-general.php?page=bbpress), but I can’t see anything for ‘Group Forums’.

    However I do note that on the forums page although the ‘Edit’ button shows the correct forums_id values for each forum, the ‘View’ button shows an incorrect link for the problematic forum.


    notpoppy
    Participant

    @notpoppy

    @netweb. Thanks for the reply, glad to have helped identify a bug! I’m not sure it’s solved my problem however.

    In my database in bb_forums the forums_ids are numbered 1 through to 50. And in wp_bp_groups the ids are numbered 1 through to 50. Group id 1 corresponds to forum id 1, group id 2 corresponds to forum id 2 and so on.

    However wp_bp_groups_groupmeta contains the following:

    id 	group_id 	meta_key 	meta_value
    1 	1 	last_activity 	2014-02-27 10:56:36
    2 	1 	total_member_count 	2303
    3 	1 	forum_id 	a:1:{i:0;i:127625;}
    4 	1 	invite_status 	members
    5 	2 	last_activity 	2014-02-19 08:31:05
    6 	2 	total_member_count 	456
    7 	2 	forum_id 	a:1:{i:0;i:127626;}
    8 	2 	invite_status 	members
    9 	3 	last_activity 	2014-03-18 22:54:20
    10 	3 	total_member_count 	620
    11 	3 	forum_id 	a:1:{i:0;i:127627;}
    12 	3 	invite_status 	members
    13 	4 	last_activity 	2014-02-23 20:14:08
    14 	4 	total_member_count 	272
    15 	4 	forum_id 	a:1:{i:0;i:127628;}
    16 	4 	invite_status 	members

    So I’m not sure how those six-digit meta_values correspond to my forums.

    The group I’m having the problem with has group_id 26 and should be associated with the forum which has id 26, but instead is associated with 7. As you’d expect based on the above its value is a:1:{i:0;i:127650;}

    Is there somewhere else in the database where these longer values are connected to the correct forum_ids? As I say I’ve been looking but not found anything obvious.


    notpoppy
    Participant

    @notpoppy

    Still trying to sort this out. I’ve tried searching in the database for parts of the URL it’s redirecting to but I can’t seem to find anything which seems to be causing the problem. Would really appreciate help with this.


    notpoppy
    Participant

    @notpoppy

    @imath Ah the script from @boonebgorges seems to have worked, thanks!


    notpoppy
    Participant

    @notpoppy

    @imath Yes, User Role Editor.


    notpoppy
    Participant

    @notpoppy

    I see from the database two values for my administrator account have been changed as follows. They were originally:

    wp_user_level: 10
    wp_capabilities: a:2:{s:13:”administrator”;b:1;s:13:”bbp_keymaster”;b:1;}

    And are now:

    wp_user_level: 0
    wp_capabilities: a:1:{s:15:”bbp_participant”;b:1;}

    I changed both these back to their original values but I’m still getting the “You do not have sufficient permissions to access this page” error when I try to access an admin page.


    notpoppy
    Participant

    @notpoppy

    I’m also having the same problem. Upgraded to Buddypress 2.0, now any time I try to access an admin page I get:

    You do not have sufficient permissions to access this page.

    I’ve disabled all plugins via the database but am still having the problem. How do I fix it?

Viewing 25 replies - 1 through 25 (of 70 total)
Skip to toolbar