Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 5,726 through 5,750 (of 14,141 total)
  • @robin-w

    Moderator

    great – thanks for letting us know

    @robin-w

    Moderator

    hmm…can’t see that bbpress is loading either, so since I can’t access the forum, I suspect you have it set somewhere to only load on forum pages ?

    @robin-w

    Moderator

    bbpress will do fine, buddypress is not forum software, but the two work together if you want.

    add this to get the styling of bbpress to match your forum

    bbp style pack

    In reply to: add front end editor

    @robin-w

    Moderator

    no problem, we’ve all been there !!

    @robin-w

    Moderator

    Our issue is that a forum user cannot import more than one image unless they are the Keymaster.

    can you explain what that means? it doesn’t upload, they can’t upload, it errirs or what happens please?

    @robin-w

    Moderator

    unfortunately we can’t see that link without login details (which please do not show).

    You should create an ordinary WordPress page, add a block with your text, and then follow this with a shortcode block with

    [bbp-forum-index]

    in it

    @robin-w

    Moderator

    would need a link to your site

    @robin-w

    Moderator

    you can filter that to stop it

    In reply to: Forum roles issue

    @robin-w

    Moderator

    that might well be the best pragmatic solution – contact me via

    Contact me

    In reply to: CSS styling query

    @robin-w

    Moderator

    ok, a long post from you, let me deal with q1 first.

    bbpress has a style sheet. Theme authors may want to change that sheet to improve how bbpress works with their theme, so correctly they put a changed version in their theme and bbpress will use that. But that will be a css file that related to a specific version of bbpress – say 2.5.14. When bbpress releases version 2.6.x, your theme will still use the version that your theme author changed unless eh cares to update it. The 2.6.x version will be a different length and have changes to the style sheet, hence why you might well see 1048 lines in then theme versiin – it is most likely a css sheet amended from a previous version of bbpress.

    so it is unreasonable to expect bbpress to never change their style sheet, and equally unreasonable to expect every theme author to update their css versions everytime bbporess acres to issue a new version. So unless your theme is a paid theme that guarenhtees to keep bbpress style updated, you have to make a call on what you do.

    I’d suggest you stick with the theme version, and use custom css to fix any issues you find between the newest version of bbpress and your theme version css file.

    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.

Viewing 25 replies - 5,726 through 5,750 (of 14,141 total)