Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,151 through 13,175 (of 14,129 total)
  • In reply to: bbcode

    @robin-w

    Moderator

    if you mean the bbpress shortcodes, they’re held in

    includes/common/shortcodes.php

    at the simplest just comment out line 109

    ie change to

    //add_shortcode( $code, $function );
    

    bbpress upgrades will overwrite this, so keep a note to change again as bbpress upgrades are issued.

    @robin-w

    Moderator

    May well be a plugin or theme issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    Is this an existing installation that has gone wrong, or a new one that you are just uploading?

    @robin-w

    Moderator

    Thanks for your patience – simple case of link to file missing.

    I have now corrected the plugin.

    can you deactivate, delete and then re- download from same link as before

    bbp Private Groups

    @robin-w

    Moderator

    oops – sorry will take a look and be back shortly !

    In reply to: Forum reply background

    @robin-w

    Moderator

    Try

    #bbpress-forums  input[type='text'], textarea{ 
    background : blue !important ; 
    }
    
    In reply to: change forum sidebar

    @robin-w

    Moderator

    Just spotted you post on the wordpress forum :

    ‘My theme (MH Magazine) has no bbPress template by default, so I copied my full-page-width template and renamed it plugin-bbpress.php. I’ve got the forums page set to this template’

    If this is how you have it currently, then it is a sidebar template from your theme that you need, not a full width page one. With a siderbar theme, then wp-tweaks will pick this up and add the forum one to the page.

    @robin-w

    Moderator

    Ok, I’ve just finished a new plugin called

    bbp Private Groups

    This plugin adds private groups to the forums, allocating users to up to 8 groups, and combinations of forums to those groups, creating multiple closed forums.

    download from

    bbp Private Groups

    Let me know what you think.

    I’ll add this to the wordpress plugin repository in the next few days

    @robin-w

    Moderator

    Ok, I’ve just finished a new plugin called

    bbp Private Groups

    This plugin adds private groups to the forums, allocating users to up to 8 groups, and combinations of forums to those groups, creating multiple closed forums.

    download from

    bbp Private Groups

    Let me know what you think.

    I’ll add this to the wordpress plugin repository in the next few days

    @robin-w

    Moderator

    Ok, I’ve just finished a plugin called ‘bbp Private Groups’

    This plugin adds private groups to the forums, allocating users to up to 8 groups, and combinations of forums to those groups, creating multiple closed forums.

    download from

    bbp Private Groups

    Let me know what you think.

    I’ll add this to the wordpress plugin repository in the next few days

    @robin-w

    Moderator

    Great, do come back if you have any further queries !

    @robin-w

    Moderator

    ok,

    so create a file called bbpress-functons.php as above and in to this put

    <?php
    //code to add tutor role 
    
    function add_tutor_role( $bbp_roles )
    {
    	/* Add a role called tutor */
    	$bbp_roles['bbp_tutor'] = array(
    		'name' => 'Tutor',
    		'capabilities' => custom_capabilities( 'bbp_tutor' )
    		);
    	return $bbp_roles;
    }
     
    add_filter( 'bbp_get_dynamic_roles', 'add_tutor_role', 1 );
    
    function tutor_role_caps_filter( $caps, $role )
    {
    	/* Only filter for roles we are interested in! */
    	if( $role == 'bbp_tutor' )
    		$caps = custom_capabilities( $role );
     
    	return $caps;
    }
     
    add_filter( 'bbp_get_caps_for_role', 'tutor_role_caps_filter', 10, 2 );
    
    function custom_capabilities( $role )
    {
    	switch ( $role )
    	{
    		 
    		/* Capabilities for 'tutor' role */
    		case 'bbp_tutor':
    			return array(
    				// Primary caps
    				'spectate'              => true,
    				'participate'           => true,
    				'moderate'              => false,
    				'throttle'              => false,
    				'view_trash'            => false,
     
    				// Forum caps
    				'publish_forums'        => false,
    				'edit_forums'           => false,
    				'edit_others_forums'    => false,
    				'delete_forums'         => false,
    				'delete_others_forums'  => false,
    				'read_private_forums'   => true,
    				'read_hidden_forums'    => false,
     
    				// Topic caps
    				'publish_topics'        => true,
    				'edit_topics'           => true,
    				'edit_others_topics'    => false,
    				'delete_topics'         => false,
    				'delete_others_topics'  => false,
    				'read_private_topics'   => true,
     
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    				'edit_others_replies'   => false,
    				'delete_replies'        => false,
    				'delete_others_replies' => false,
    				'read_private_replies'  => true,
     
    				// Topic tag caps
    				'manage_topic_tags'     => false,
    				'edit_topic_tags'       => false,
    				'delete_topic_tags'     => false,
    				'assign_topic_tags'     => true,
    			);
    			break;
     
    		default :
    			return $role;
    	}
    }
    
    

    This sets up a role called ‘tutor’ – just change this name everywhere to the one you want, and then edit the capabilities.

    the default capabilities for each role are :

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    you’ll probably want to make delete topics and delete replies true

    @robin-w

    Moderator

    do you know how to add some code to your functions file – if I gave you the code?

    In reply to: Sidebar formatting

    @robin-w

    Moderator

    oh and sorry – see

    Step by step guide to setting up a bbPress forum – part 2

    for how to add this -several options.

    In reply to: Sidebar formatting

    @robin-w

    Moderator

    .bbp-remember-me {
    white-space: nowrap;
    }

    seems to work – try it and come back if not

    @robin-w

    Moderator

    @robin-w

    Moderator

    @jbdizzle

    great, so you’re fixed ?

    @robin-w

    Moderator

    maybe a theme or plugin conflict

    try

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    Have you tried

    Step by step guide to setting up a bbPress forum – Part 1

    In essence you need a .php from your theme that has a sidebar, and rename this bbpress.php within the root of your theme.

    @robin-w

    Moderator

    bit tied up at the moment, but have you referred it to suffusion, they should be able to give you removal instructions.

    @robin-w

    Moderator

    do you mean dashboard>appearance>edit css ?

    If so, then this is a feature of your particular theme and not common.

    If you mean elsewhere, come back.

    In reply to: Compose message

    @robin-w

    Moderator

    glad to hear !

    @robin-w

    Moderator

    hmmm… presume you’re not running any caching plugins?

    @robin-w

    Moderator

    I suspect that your plugin is trying to restrict who can see what.

    The function that replies uses to do this, if not correctly filtered, only shows the replies not the original topic.

    In essence the plugin needs to do a sub wp-query within the replies function to include both topicss and replies.

    I can’t help further as I don’t know what functions the plugin uses.

    @robin-w

    Moderator

    ok I would suspect that it’s related to this plugin, you could prove this by deactivating the plugin on your test site (or live site briefly if you don’t have a test site)

    As this is a paid plugin, you should then contact them for support.

    come back and let us know what they say.

Viewing 25 replies - 13,151 through 13,175 (of 14,129 total)