Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,876 through 6,900 (of 14,333 total)
  • @robin-w

    Moderator

    sorry, my virus protection software does not like pasteboard.

    @robin-w

    Moderator

    thanks for the update

    essentially that part of the code is looking at urls, so that would make some sense

    it is this code returning ‘false’ that causes the error you see

    function bbp_verify_nonce_request( $action = '', $query_arg = '_wpnonce' ) {
    
    	/** Home URL **************************************************************/
    
    	// Parse home_url() into pieces to remove query-strings, strange characters,
    	// and other funny things that plugins might to do to it.
    	$parsed_home = parse_url( home_url( '/', ( is_ssl() ? 'https' : 'http' ) ) );
    
    	// Maybe include the port, if it's included
    	if ( isset( $parsed_home['port'] ) ) {
    		$parsed_host = $parsed_home['host'] . ':' . $parsed_home['port'];
    	} else {
    		$parsed_host = $parsed_home['host'];
    	}
    
    	// Set the home URL for use in comparisons
    	$home_url = trim( strtolower( $parsed_home['scheme'] . '://' . $parsed_host . $parsed_home['path'] ), '/' );
    
    	/** Requested URL *********************************************************/
    
    	// Maybe include the port, if it's included in home_url()
    	if ( isset( $parsed_home['port'] ) ) {
    		$request_host = $_SERVER['HTTP_HOST'] . ':' . $_SERVER['SERVER_PORT'];
    	} else {
    		$request_host = $_SERVER['HTTP_HOST'];
    	}
    
    	// Build the currently requested URL
    	$scheme        = is_ssl() ? 'https://' : 'http://';
    	$requested_url = strtolower( $scheme . $request_host . $_SERVER['REQUEST_URI'] );
    
    	/** Look for match ********************************************************/
    
    	// Filter the requested URL, for configurations like reverse proxying
    	$matched_url = apply_filters( 'bbp_verify_nonce_request_url', $requested_url );
    
    	// Check the nonce
    	$result = isset( $_REQUEST[$query_arg] ) ? wp_verify_nonce( $_REQUEST[$query_arg], $action ) : false;
    
    	// Nonce check failed
    	if ( empty( $result ) || empty( $action ) || ( strpos( $matched_url, $home_url ) !== 0 ) ) {
    		$result = false;
    	}
    
    	// Do extra things
    	do_action( 'bbp_verify_nonce_request', $action, $result );
    
    	return $result;
    }

    @robin-w

    Moderator

    I’ve just updated the plugin to have an unlimited number of fields – it was one I wrote zseveral years ago, and needed a good overhaul anyway – update to version 1.8 and you can choose as many fields as you like

    @robin-w

    Moderator

    need a full link to an example of your site

    @robin-w

    Moderator

    I suspect it is that you are running it locally – previous tickets indicate that this is a problem.

    @robin-w

    Moderator

    ok, it is failing a request which checks that the new topic is coming form an authorised source.

    it may be that your url of craftnations.ddns.net is upsetting it – I’m just a volunteer helper here, not one of the authors so can’t say for sure

    will this be the final url?

    In reply to: Where Do I Put This?

    @robin-w

    Moderator

    can only suggest
    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    @robin-w

    Moderator

    hmm…

    Is this a new installation ?

    @robin-w

    Moderator

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    @robin-w

    Moderator

    @robin-w

    Moderator

    yes private groups

    Private groups

    and enable topic permissions

    In reply to: Where Do I Put This?

    @robin-w

    Moderator

    have you activated the style pack plugin and bbpress, as both should be in the settings

    @robin-w

    Moderator

    then not a lot I can do unless you can describe exactly what you want

    @robin-w

    Moderator

    correct forum.

    Do you have a link to your site and an example

    @robin-w

    Moderator

    Just set the forum to private in

    Dashboard>forums>edit forum and set visibility to’private’

    Then only logged in users will see the forum

    In reply to: Where Do I Put This?

    @robin-w

    Moderator

    you could put the files in your theme directory, but unless you change them, there will be no difference on what you have now – that will require you to know and edit css files

    This might be a better solution

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>

    @robin-w

    Moderator

    I’m presuming you are also

    WP v. 5.2.2, bbpress v. 2.5.14. WP is bundled with Bluehost. Theme is OceanWP.

    ?

    @robin-w

    Moderator

    ok, not sure what to suggest, what part of

    dashboard>settings>bbp style pack>Breadcrumbs

    are you not seeing ?

    @robin-w

    Moderator

    see you are fixed with moderation as well

    @robin-w

    Moderator

    have you installed the additional plugin ?

    @robin-w

    Moderator

    wow !! Thanks for posting, and yes that is really interesting – I’ll remember that for future

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Breadcrumbs

    and you can disable it

    In reply to: Set as home page

    @robin-w

    Moderator

    just put [bbp-forum-index] in the homepage of your site

    @robin-w

    Moderator

    ok, thanks for letting us know

    @robin-w

    Moderator

    pretty sure not, what other bbpress related plugins are you using ?

Viewing 25 replies - 6,876 through 6,900 (of 14,333 total)