Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 5,876 through 5,900 (of 14,273 total)
  • 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’

    @robin-w

    Moderator

    I think this is a long standing bug in bbpress. are you suing threaded replies (just asking, not suggesting!)

    @robin-w

    Moderator

    for moderation This one still works as far as I know and would let you moderate guest posts

    bbPress – Moderation Tools

    as for registration, bbpress just uses WordPress registration, so a plugin that does that would be fine. You don’t state what plugins you have tried, and why they didn’t work – if you find one that is close, come back.

    @robin-w

    Moderator

    great – glad you ae fixed !

    @robin-w

    Moderator

    ok, this could take some debugging !

    firstly in dashboard>replies how many replies do you have?

    can you copy the

    All (1,090) | Mine (129) | Published (1,089) | Pending (1) | Bin (1) | Spam (2)

    answer into this thread

    In reply to: lost plugin

    @robin-w

    Moderator

    the forums appear in the dashboard

    also look at

    dashboard>tools>forums to see if that element is there

    @robin-w

    Moderator

    hmm..something is amiss, let me think about what you might try next !

    @robin-w

    Moderator

    great – glad it is all working !!

Viewing 25 replies - 5,876 through 5,900 (of 14,273 total)