Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,251 through 13,275 (of 14,242 total)
  • In reply to: Forum layout

    @robin-w

    Moderator

    is it just the words ‘Mayrhofen’ Forum you are wishing to move?

    @robin-w

    Moderator

    Have you tried posting to their support forum?

    https://wordpress.org/support/plugin/bbpress-private-replies

    @robin-w

    Moderator

    I have no idea of this plugin works if you are using buddypress (it does with bbpress) but might be worth a quick test – let us know either way !

    https://wordpress.org/plugins/bbp-profile-information

    In reply to: Theme Recommendation

    @robin-w

    Moderator

    yes and yes !

    bbPress uses the wordpress login, you simply have an additinla contro, to set the user access level to the forums.

    So each users has a wordpress access level and a bbpress access level, but only one login !

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    not sure if this will do what you want?

    https://wordpress.org/plugins/bbpress-post-topics/

    In reply to: New replies first

    @robin-w

    Moderator

    @slprof

    If you want to try just the latest reply, then try

    function change_reply_order() {
    $args['order'] = 'DESC';
    $args['posts_per_page'] = '1';
    return $args;
    }
    add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
    

    But I suspect it will have some weird effects on the site, and of course you’ll never see anything but the latest post, so if pupil a posts and a minute laters pupil b, then you’ll never see pupil a’s.

    or do you mean that for each topic, pupil a would be pupil a’s reply, pupil b would see pupils b’s reply etc.?

    In reply to: New replies first

    @robin-w

    Moderator

    @slprof

    Try putting this in your functions file

    function change_reply_order() {
    $args['order'] = 'DESC';
     return $args;
    }
    add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
    

    I haven’t tested, so come back if it doesn’t work, it should do topic then replies with latest at top

    @robin-w

    Moderator

    bbpress should have no problems with any database prefix that wordpress accepts, it just rides on this

    @robin-w

    Moderator

    ” I have a copy of the site running the same plugins but with WP3.8.2 and it’s OK.”

    Exactly it may be another plugin that’s having a problem with 3.9 – it may not, but you need to eliminate

    @robin-w

    Moderator

    could be plugin or theme related

    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.

    In reply to: Theme Recommendation

    @robin-w

    Moderator

    bbpress largely picks up on your wordpress theme, use any of thevdefault ones and you’ll get a great look.

    I use twentyten very successfully.

    and look at the set up guides

    Codex

    @robin-w

    Moderator

    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.

    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

Viewing 25 replies - 13,251 through 13,275 (of 14,242 total)