Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 20 replies - 1 through 20 (of 20 total)

  • RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Hi @mercime

    I’ve logged this as a bug, I think we have got as far as we can support wise.

    https://bbpress.trac.wordpress.org/ticket/2458

    Thanks for all the help! ๐Ÿ™‚


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Hi @mercime

    Sorry to pester you, but is there a place I can log this officially as a bug? I saw you mention something called trac? is that where I can log it? I assume it should be logged in the bbpress trac since this is an issue with the bbpress widget?


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    and additionally adding a member with “participant” role in the forums to a hidden group does grant them full access to the group’s forum however the widgets don’t show any of it’s recent topics.

    honestly its really pretty messy and I’m kinda starting to lose hope in using group forums in buddypress ๐Ÿ™


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Hi @mercime

    ok another small update ๐Ÿ™‚ by deleting and re-creating the groups the topics no longer list in the bbpress recent topics widget if you are not a member of said group. This is one step closer! however…

    bbpress moderators are still able to see the topics listed in the widget even though they are not members of said groups…. if they click on them it gives the expected “paged cannot be found”; but again they shouldn’t even be listed and click-able in the first place?


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Hi @mercime

    I appreciate all the help ๐Ÿ™‚ .. however!.. (sorry!) I’ve updated to WordPress 3.7, Buddypress 1.8.1 and bbpress 2.4.1 and also ran the repair tool mentioned above and still hidden topics in group forums are showing in the bbpress recent topics and replies widgets, even to logged out people ๐Ÿ™


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Hi @mercime , thanks for trying to help earlier, I’ve managed to fix all the issues I listed, I was stupid enough to enable the legacy forums component in buddypress along side my bbpress plugin; removing that fixed the group forums.. however! one problem remains.. the bbpress widgets!

    I have a group setup with its own discussion forum which is set to hidden! the forum works fine but any topic posted in it is shown in the bbpress โ€œrecent topicsโ€ or “recent replies” widget which defeats the purpose of the group forum being hidden or private.

    Is there a way to fix this? Iโ€™ve tried running the repair tools located at:

    http://โ€ฆโ€ฆ/wp-admin/tools.php?page=bbp-repair
    โ€œRepair BuddyPress Group Forum relationshipsโ€

    However this says nothing has been repaired or changed and the problem persists.

    Iโ€™m running WordPress 3.5.1, bbpress 2.3.2 and buddypress 1.8.1 (problem happened in 1.7 as well)


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Wow, I typed that like I have a head injury.. sorry

    I have a hidden group setup with its own discussion forum; the forum works fine but any topic posted in it is listed in the bbpress “recent topics” widget even though they are hidden/private.

    Is there a way to fix this? I’ve tried running the repair tools located at:

    http://……/wp-admin/tools.php?page=bbp-repair
    “Repair BuddyPress Group Forum relationships”

    However this says nothing has been repaired or changed and the problem remains.

    I’m running WordPress 3.5.1, bbpress 2.3.2 and buddypress 1.8.1 (problem happened in 1.7 as well)


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    I’ve got this problem as well, have a hidden group and while its content is not accessable, any the title of any topics created in the hidden/private forums are visable to everyone in the bbpress recent post widget, is there a fix for this?

    I’ve tried running the forum relationship repair tool but this just says its updated 0 forums and the problem remains.


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    i changed the permissions on the file and the error is fixed; so back to the original issues.

    Still can’t view topics in “Group Forums”. They show blank in the browser when clicking on them; but topics in the regular site-wide bbpress forums are fine. I’ve tried a different theme and disabling all plugins and still happens ๐Ÿ™ also tried updating buddypress to the latest version without success.


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Just to make this clear, this is the first time I’ve ever activated groups (I moved hosts a number of months ago) so really I’m just wondering if that permalinks message could have anything to do with Topics in “Group” forums giving an http error 500. everything else, including topics in the sitewide forums are working fine.


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    forgot to put @mercime so you know I’ve replied ๐Ÿ™‚ hehe.


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    I’m pretty sure I know why its complaining about the .htaccess file; it’ll be my new host. I moved from a shared hosting service to a dedicated host and I don’t think the file permissions for that particular file is set correctly; so I’m guess it’ll be easy to fix; but I was just wondering whether that could be causing the problem I described.

    and also I’m still confused why posts from private and hidden group forums are showing up in the bbpress recent posts widget; this doesnt happen on the none group forums.


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Hi @boydspace Nope I tried looking at files for the plugin @megainfo recommended but unfortunately I didn’t understand any of the code. I’m totally winging it when it comes to PHP.

    I’m now trying to tackle it from another angle; the members directory doesn’t list any members without activity (e.g. have never logged in). So my new angle of attack is to remove the meta data holding when they last logged in if their current WordPress role is “bbp_blocked”.

    I’ve created a new function called “clr_activity()” which I call in members-loop.php as such:

    <?php while ( bp_members() ) : bp_the_member(); ?>
    
    	<?php clr_activity() ?>

    The contents of the function which is held in my theme’s functions.php are:

    function clr_activity() {
    
    	/********* GET USERS ROLE ********/
    	global $members_template;
    	$user_id = $members_template->member->id;
    	$user = new WP_User($user_id);
    	$user_role = array_keys($user->wp_capabilities,"1");
    	
    	/********* IF USER BLOCKED CLEAR LAST ACTIVITY ********/
    	if ( $user_role[0] == 'bbp_blocked') 
    	{
        		bp_update_user_meta( $user_id, 'last_activity', ' ' );
    	}
    	else
    	{
    		return 0;
    	}
    }

    Before I even try to implement this I hope someone with greater PHP knowledge can check I’m using bp_update_user_meta correctly; for one thing I’m not sure the empty quotes will give me the desired value in the user’s last_activity meta field. I want it to be clear as if the user has never logged in.


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    I’m happy to forget filtering members by last activity date.

    So to simplify it; can someone can tell me how to filter members from the member’s directory if their WordPress role is set to “no role on this site” (or the blocked role from bbpress). Also when hiding such members the pagination count in the members directory would also need to be correct; as the previous ideas remove the member but not the count; thus you get empty pages saying “showing members X – X” but nothing there.

    I’m a totally inept when it comes to coding in PHP so any help really is appreciated.


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    @henrywright-1

    Hi, Thanks for that.. I’ve just tested the code. It certainly removes members who haven’t logged in for 60 days; however it doesn’t reduce the “member count” on the page; so you end up with empty pages where it says its showing members 80-88 but no-one is listed.

    Is there anyway to get the member count to reduce so I don’t have empty pages with invisible members? ๐Ÿ™‚

    also the role exclusion doesn’t appear to work; I’ve tried replacing it with ‘subscriber’ to see if it was because “blocked” wasn’t the right role phrase; however subscribers were still displayed; so I assume its a code error?


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    @henrywright-1 making a bit of a mess of these replies; I should have actually mentioned its bbpress for the forums ๐Ÿ™‚


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    @henrywright-1 apologies it comes with a plug-in so I’m guessing we won’t know what meta data to query for filtering a person out. How about if I set them to “Blocked” under the forum role; would this be something we could filter against for the member’s directory?

    Thanks!.


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    forgot to add @henrywright-1 to my post ๐Ÿ˜‰


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    Nice! I’ll give that a shot tonight and let you know how to goes ๐Ÿ™‚ really appreciate the help!.

    Is there also a way to get it to skip displaying an account that is “locked out”? There is one other situation I need to handle where they might have logged in within the last 60 days but have left the community due to either misconduct or by choice; in that situation we need to remove them from the member’s directory immediately; but at the same time we won’t be deleting their account; just locking it.

    Sorry if I’m asking too much here; but thanks again for all the great help! ๐Ÿ™‚


    RiGoRmOrTiS_UK
    Participant

    @rigormortis_uk

    or even if there is just a plugin that lets me hide people from the members directory manually on an account by account basis?

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