Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 5,901 through 5,925 (of 14,305 total)
  • In reply to: Forum roles issue

    @robin-w

    Moderator

    ok, I’ve done some more thinking whilst trying to compose a support ticket.

    so the once a day ‘update’ what is this supposed to do and which way – eg are you adding and deleting users based on AD, or updating AD based on WordPress/bbpress

    Does your WordPress/bbpress site have a local user database or is the AD database used for authentication?

    In reply to: Forum roles issue

    @robin-w

    Moderator

    yes, that’s what I’m trying to get you to 🙂

    So if you were using a WordPress user database, then the roles I posted a link to above would give you exactly what you want – participants would be able to post.

    However I suspect this plugin references the AD database, and is not storing bbpress roles – so when it looks for permissions it finds no roles to allocate permissions against, so does not allow access.

    now bbpress roles are stored in the same part of the database as WordPress roles, so it may well be that this plugin is not storing these settings, hence no access.

    I’ll put a post in their support forum to see if they can help

    In reply to: Forum roles issue

    @robin-w

    Moderator

    so if you look at

    dashboard>plugins

    do you have an active directory integration plugin such as

    Active Directory Integration / LDAP Integration

    In reply to: Forum roles issue

    @robin-w

    Moderator

    yes, participants should be able to create topics and replies viz :

    bbPress User Roles and Capabilities

    I strongly suspect the issue is with active directory, you already have said that it rolls back settings, which makes me suspect that the entire WordPress database is being rolled back – if you create say a test post on the website, does it stay overnight, or does it disappear – this would help determine where to go next.

    In reply to: Forum roles issue

    @robin-w

    Moderator

    thanks

    so is this a new installation of bbpress, a new problem with bbpress, or when did this start

    In reply to: Forum roles issue

    @robin-w

    Moderator

    great – thanks for your helpful responses. Appreciate the intranet, been there !

    is this website just for bbpress, or are you running a bunch of other stuff on it – just need to know as it will help how we go forward

    @robin-w

    Moderator

    great – thanks for posting that useful tip 🙂

    In reply to: Forum roles issue

    @robin-w

    Moderator

    second question is

    you say ‘And every time it is updated (once a day) the roles I have assigned manually are lost …’ – what roles are you assigning, and how are you doing this eg ‘I go onto the dashboard and do this and then do that and then give them the xx role in then yy area’

    In reply to: Forum roles issue

    @robin-w

    Moderator

    ok, it may be hard to help for a site we cannot see, but let’s see where we get to.

    So first question is

    you say ‘The problem is that if I assign users the Participant role, they cannot create topics or reply to created topics.’ – so can you desbribe this eactly eg ‘they get a message saying you are not permitted to…’ or ‘they create a topic but when they press submit nothing happens ‘ etc.

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    you’d do better to put that amended template into your child theme – that way bbpress updates won’t overwrite it

    find
    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

    transfer this to your pc and edit

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/user-details.php

    bbPress will now use this template instead of the original

    @robin-w

    Moderator

    I did a code search and found this function in includes/common/functions line 1507 which seems a highly likely candidate.

    function bbp_logout_url( $url = '', $redirect_to = '' ) {
    
    	// If there is no redirect in the URL, let's add one...
    	if ( ! strstr( $url, 'redirect_to' ) ) {
    
    		// Get the forum root, to maybe use as a default
    		$forum_root = bbp_get_root_url();
    
    		// No redirect passed, so check referer and fallback to request uri
    		if ( empty( $redirect_to ) ) {
    
    			// Check for a valid referer
    			$redirect_to = wp_get_referer();
    
    			// Fallback to request uri if invalid referer
    			if ( false === $redirect_to ) {
    				$redirect_to = bbp_get_url_scheme() . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    			}
    		}
    
    		// Filter the $redirect_to destination
    		$filtered  = apply_filters( 'bbp_logout_url_redirect_to', $redirect_to );
    
    		// Validate $redirect_to, default to root
    		$validated = wp_validate_redirect( $filtered, $forum_root );
    
    		// Assemble $redirect_to and add it (encoded) to full $url
    		$appended  = add_query_arg( array( 'loggedout'   => 'true'   ), $validated );
    		$encoded   = urlencode( $appended );
    		$url       = add_query_arg( array( 'redirect_to' => $encoded ), $url       );
    	}
    
    	// Filter & return
    	return apply_filters( 'bbp_logout_url', $url, $redirect_to );
    }

    so maybe filtering on ‘bbp_logout_url’ would work.

    Let me know if you need further help

    @robin-w

    Moderator

    I strongly suspect it is theme related or maybe other plugin.

    In either case, it is not directly bbpress, so yes, I’d hide it with css

    @robin-w

    Moderator

    can you list your plugins please- the original error
    Line 1: <div class="error"> <p>This Plugin needs BBpress to work, pls. install it first and activate.</p></div>

    is not from bbpress

    @robin-w

    Moderator

    presuming in

    dashboard>settings>forums you have Roles set to participant, then users will get the participant role upon their next login or if ‘remember me’ set tehir next remembered visit to the website (the website, not just forums) after you installed bbpress.

    @robin-w

    Moderator

    you’re welcome !

    @robin-w

    Moderator

    @webcreations907 thanks for that – really helpful 🙂

    In reply to: 2 questions

    @robin-w

    Moderator

    I found this in another thread

    Found the solution: simply selecting ‘Dutch’ in the Admin > General Settings section instead of ‘Dutch (Formal)’ in the field ‘Website Language’ did the trick. After saving and refreshing the website, the forum shows the Dutch translation.

    don’t know if that helps

    In reply to: 2 questions

    @robin-w

    Moderator

    as far as I know this still works

    bbPress – Moderation Tools

    @robin-w

    Moderator

    hmm..not come across this before, from googling seems to be a wrodpress.com thing – doesn’t mean that I’m right – there’s tons on the internet that I don’t know, but just tried <!-- nextpage-> on posts in a couple of test sites, and it does nothing.

    Can only suggest you find out what is adding it, but you may need to accept that it doesn’t work in bbpress

    @robin-w

    Moderator

    so are you running this plugin?

    Automatically Paginate Posts

    or another that does this, or does your theme add this ?

    @robin-w

    Moderator

    Great – thanks for posting that – I now understand 🙂

    is this a WordPress.com hosted site?

    @robin-w

    Moderator

    I got a couple of emails, but no post here, did you mean to delete?

    @robin-w

    Moderator

    sorry ‘using’ 🙂 do you have thread replies set in

    dashboard>settings>forums>threaded replies

    was really just asking as I cannot remember if it is a problem of threaded replies or a problem generally

    @robin-w

    Moderator

    ok, I don’t fully understand your question.

    Can you rephrase it as a series of steps I can repeat.

    so ‘create a topic, do this, do that and then you see this happens’

Viewing 25 replies - 5,901 through 5,925 (of 14,305 total)