Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,751 through 6,775 (of 14,219 total)
  • @robin-w

    Moderator

    not sure where ‘groups’ is coming from – youzer, buddypress, not directly a bbpress thing unless you have renamed forums/topics/replies

    In reply to: Where Do I Put This?

    @robin-w

    Moderator

    sorry, I only provide some of the tools, this is not a design service 🙂

    and I’ve no idea whether the site you show is even bbpress.

    @robin-w

    Moderator

    sorry, I don’t understand single widget – is this is widget in a sidebar, or the main search bar you show?

    @robin-w

    Moderator

    <a href="http://yoursite.com/forums">Words Here</a>

    in custom html widget

    In reply to: Change the font size?

    @robin-w

    Moderator

    @robin-w

    Moderator

    I don’t know what the BBPress Knowledge Base plugin is – where did you get this from ?

    @robin-w

    Moderator

    @robin-w

    Moderator

    by the way, the first bit of code saves the changes to the database, so just removing the code does not remove the capability.

    to undo this, you would need to re-run the first function, but with all the add_cap changed to 'remove_cap'

    @robin-w

    Moderator

    editing users is a wordpress rather than bbpress function

    It may well be possible, but the easier way would be to use a wordpress role to do this.

    This link will give you code to make the ‘editor’ role able to do user stuff, and you may want to hide admins as per their suggestions

    Let Editor Manage Users in WordPress

    so you would just set your moderators to be editor as well as moderator

    @robin-w

    Moderator

    so is it this search bar across all forums (so for example not a widget search bar), or in one forum this search bar you want longer ?

    @robin-w

    Moderator

    can’t see a forum on your site, and don’t have the time to try every menu item.

    If you give me a link to an example on your site, I’ll take a look

    @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

Viewing 25 replies - 6,751 through 6,775 (of 14,219 total)