Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,926 through 6,950 (of 7,540 total)
  • In reply to: No toolbar available

    Robin W
    Moderator

    @robin-w

    ok, I had a look, and yours is definitely trying to use the wp-editor not the tinymce one.

    My forum calls

    <div id="qt_bbp_topic_content_toolbar" class="quicktags-toolbar">
    

    under the title.

    Yours calls

    <div id="wp-bbp_topic_content-editor-container" class="wp-editor-container">
    

    As to why, I can’t say. You could try

    function add_tiny() {
    bbp_get_the_content(array ( 		
    'tinymce' => true,
    ));
    }
    add_filter ('bbp_before_get_the_content_parse_args','add_tiny') ;
    

    in your functions file to force it to use the mce editor

    (I haven’t tried that code so may need some editing)

    The function in form-topic uses bbp_the_content which calls bbp_get-the_content – both functions are in

    bbpress/includes/common/template.php

    if you want a look.

    I am now away for the weekend !


    Robin W
    Moderator

    @robin-w

    You’re welcome !

    In reply to: Add attachment

    Robin W
    Moderator

    @robin-w

    Haven’t used this one, but it gets good reviews

    https://wordpress.org/plugins/gd-bbpress-attachments/


    Robin W
    Moderator

    @robin-w

    Ok, I think I understand

    BBpress doesn’t have a “theme”, it uses your theme to get many of it’s display elements.

    If you simply want to just use bbpress, then pick a wordpress theme, and off you go !

    It’s only if you want to alter how bbpress forums look or behave that you need to copy files.

    bbPress uses “templates” to order and decide what to show, and a bbpress.css file to style bbpress specific elements.

    Therefore you should use a wordpress theme.

    Within that wrodpress theem, you create a bbpress folder for any templates you want to alter, BUT only for those, so if you don’t want to alter, then you need do nothing.

    If you wish to alter the bbpress.css, you’d create a css subfolder in your theme and copy the default bbpress.css into their and then alter it, or simply add styling to your themes style.css.


    Robin W
    Moderator

    @robin-w

    @rammoskostas
    Can you explain exactly what you did to import and where you imported from and was it also bbpress, and confirm that you used wp export and wp import, and which versions of wordpress and bbpress you are using


    Robin W
    Moderator

    @robin-w

    great, would be good to load it to wordpress


    Robin W
    Moderator

    @robin-w

    When you say you copied the bbpress folder, can you detail which folder eg
    bbpress/tempaltes/… etc.

    Can you post the exact error message, and tell us what precisely you click to get that

    eg I go into dashboard then click x, and then click y, andtehn I get “bbvbvbvb vbbvbvb error”


    Robin W
    Moderator

    @robin-w

    Interesting – I’m not sure why askimet has got so upset with your user!

    You can switch off Askimet JUST for your forum, which might be a better idea whilst you work out how to get him working again. Then at least your main site will still be protected

    Go into Dashboard>settings>forums and you’ll see a setting at the bottom.

    It could also be if they are posting a topic/reply with several links…

    There is a setting in Dashboard>setting>discussion that says “Hold a comment in the queue if it contains 2 or more links. (A common characteristic of comment spam is a large number of hyperlinks.)” The ‘2’ is the default number that you can alter.

    That would get him held as potential spam.


    Robin W
    Moderator

    @robin-w

    try resaving permalinks.

    Then in Dashboard>tools>forums run the repairs one at a time


    Robin W
    Moderator

    @robin-w

    The display name is currently a user choice. You could disable that by some code, but you would need to decide what to display instead eg username, email etc. But this is now completely opposite to your starting point to “allow users to choose a name and avatar before posting on a forum”.

    Perhaps it would be easier if you described what it is that you would like to achieve and why in both profile and in the topic/reply display, rather than specific queries without any explanation.

    I will try and assist you further


    Robin W
    Moderator

    @robin-w

    Can’t say as I’ve heard of this but not personally seen it.

    are you using askimet or another spam filter?


    Robin W
    Moderator

    @robin-w

    ok,

    What I’d suggest you do is look in the main theme for a 404.php, and edit this to give a login link.

    (If it doesn’t have a 404.php, then copy a page.php or index.php file across to your child theme and rename it 404.php. Look for the “loop” part of the code, and put the stuff in there instead)

    You could then edit this file to have a link to your login and some different text.

    So for instance if the 404.php files says “oops sorry this link appears to be broken”

    you could amend this to :

    This page cannot display. This maybe because you are not logged in. To login click here

    or however your users login on.

    They will probably go to the home page once logged in, so having the relevant posts in say the sidebar (eg latest topics widget) will let them quickly navigate to the post.

    If any of the above not clear, please do come back.


    Robin W
    Moderator

    @robin-w

    ok, I was not suggesting you switched theme permanently, rather confirm that on a default theme it works, so you know it is a theme issue, so raise with themeforest


    Robin W
    Moderator

    @robin-w

    Sorry, but that’s not how bbPress works. it links the name with a user-id and the a user-id with a post.


    Robin W
    Moderator

    @robin-w

    great, presume you’re fixed !


    Robin W
    Moderator

    @robin-w

    The forums list display comes under the template

    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php

    There are many hooks in this

    Line 44 does the sub forum display

    In reply to: Thread Display

    Robin W
    Moderator

    @robin-w

    Don’t think bbPress is designed to work that way.


    Robin W
    Moderator

    @robin-w

    In profile they should be able to pick a display name.

    Not sure why you would want a different avatar on the profile page from that which displays on the topic/reply? Therefore I’d doubt that someone has written such a plugin.


    Robin W
    Moderator

    @robin-w

    I use bbpress notify, but it would depend on quite who you want to inform and when


    Robin W
    Moderator

    @robin-w

    Ok, I’d go into

    Dashboard>forums>replies and look for his reply – it should be near the top, and see what it’s status is. You could delete it or publish it, and that should free him up.


    Robin W
    Moderator

    @robin-w

    Spam, or is there a real question here?

    If so, can you explain what exactly what help you need related to bbPress.


    Robin W
    Moderator

    @robin-w

    “I needed to add the form, topic and forum manually [bbp-topic-index] [bbp-topic-form][bbp-forum-index] and have not found a manual solution for the login ([bbp-topic-login] didn’t work..))”

    See the documentation for set up details including login in sidebar

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


    and

    Layout and functionality – Examples you can use


    for setting up menu and modal logins

    As for your 404 error, I presume that the urls are correct, for instance

    http://www.hightearecepten.nl/recipe/vijgencompote/

    works with bbpress deactivated, but not when it is activated?

    I’d check first whether there is a plugin conflict, and then a theme conflict viz ;

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    If it is Themeforest, I’d raise it with them, as it is a paid theme, and with over 1 million bbpress downloads they should have seen it, or know what to do. I have seen some comments that some themeforest themes do not support bbPress, but don’t know about this one.


    Robin W
    Moderator

    @robin-w

    Ok, so

    1. Can you tell me what wordpress theme you’re using or post the url.
    2. If I said “copy, rename and edit this xx.php file” would you be terrified ?

    In reply to: Creating a new forum

    Robin W
    Moderator

    @robin-w

    “It is working now, though I don’t know why.”

    It’s a computer – if we understood them we’d need brains the size of planets !

    Glad you’re fixed !

    In reply to: Forum Question

    Robin W
    Moderator

    @robin-w

    ok, so create the forum as ‘private’ – you see a visibility setting on the forum page when you create it.

    Then drop this code into your (child)themes functions file.

    //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'           => false,
    				'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'        => false,
    				'edit_topics'           => false,
    				'edit_others_topics'    => false,
    				'delete_topics'         => false,
    				'delete_others_topics'  => false,
    				'read_private_topics'   => true,
     
    				// Reply caps
    				'publish_replies'       => false,
    				'edit_replies'          => false,
    				'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'     => false,
    			);
    			break;
     
    		default :
    			return $role;
    	}
    }
    

    The set any tutors up with the tutor role in dashboard>users> user and at the bottom of the set up you’ll see forum role.

    If any of that’s not clear or beyond your knowledge, do come back, and I’ll help further

Viewing 25 replies - 6,926 through 6,950 (of 7,540 total)