Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 2,501 through 2,525 (of 14,247 total)
  • @robin-w

    Moderator

    not knowing how your site is set up, and seeing an example – hard to understand quite what you are seeing and want to see.

    but try

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>forum templates

    @robin-w

    Moderator

    ok, given all the above, let’s try a different route.

    In essence we need to find out exactly what this critical error is, so we need to switch on the error debug, and get to the heart of this.

    The easiest way is to use

    WP Debugging

    You may see lots of errors appear immediately (you may not!), don’t worry most will be trivial ones, but you might want to do this at a quiet time on your site as everyone will then see these.

    So what we want is the exact error that you get when you try and post. Copy it, and you can then immediately switch debug back off.

    post that back here, and we should be able to progress

    @robin-w

    Moderator

    so did you do this bit?

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, 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.

    @robin-w

    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, 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.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, 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.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply form

    and item 9 lets you set the visual editor

    @robin-w

    Moderator

    πŸ™‚

    @robin-w

    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, 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.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    Keymasters get to see forums, topics and replies in the backend, moderators see topcis and replies

    you cannot change your own role.

    Is there a ‘keymaster’ set?

    only a keymaster can set a keymaster, so if no-one has keymaster you need to install this plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>bug fixes

    and you will see the ability to set yourself up again.

    Once done, you can decativate and delete the style pack plugin, or maybe use it’s great features πŸ™‚

    @robin-w

    Moderator

    @robin-w

    Moderator

    great – glad you are fixed πŸ™‚

    @robin-w

    Moderator

    with bbppress you have wordpress roles and bbpress roles.

    since you are not seeing them, and given that you say the bbpress plugin is installed and ACTIVE, then you need to do the instructions above

    @robin-w

    Moderator

    ok, I suspect that your role has lost keymaster rights.

    go to

    dashboard>users>all users and see if anyone has keymaster. If so get them to reset you to keymaster.

    If no-one has, then install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>bug fixes

    and you will see the ability to set yourself up again.

    Once done, you can decativate and delete the style pack plugin, or maybe use it’s great features πŸ™‚

    @robin-w

    Moderator

    so the plugin is not showing as either installed or active in

    dashboard>plugins>installed plugins ?

    @robin-w

    Moderator

    πŸ™‚

    @robin-w

    Moderator

    This code should do it

    add_filter ('bbp_current_user_can_access_create_topic_form' , 'rew_only_one_topic', 10 , 1) ;
    add_filter( 'gettext', 'rew_change_text', 20, 3 );
    
    function rew_only_one_topic ($retval) {
    	//first check if they have access, only amend if they have
    	if ($retval==true) {
    		$user_id = wp_get_current_user()->ID;
    		$role = bbp_get_user_role( $user_id );
    		if ($role == 'bbp_participant') {
    		$last_posted = bbp_get_user_last_posted( $user_id );
    		if (time() <($last_posted + (60*60*24*31))) $retval = false ;
    		}
    	}
    	return $retval ;
    }
    
    function rew_change_text($translated_text, $text, $domain ) {
    	if ( $text == 'You cannot create new topics.') {
    		$user_id = wp_get_current_user()->ID;
    		$role = bbp_get_user_role( $user_id );
    		if ($role == 'bbp_participant') {
    			$last_posted = bbp_get_user_last_posted( $user_id );
    			if (time() <($last_posted + (60*60*24*31))) {
    				$translated_text = 'You cannot post a new topic - you have already posted a topic in the last month';
    			}
    		}
    	}
    	return $translated_text;
    }

    The 60*60*24*31 is 60 seconds, 60 minutes, 24 hours, 31 days, so you can change this to whatever you want in both places.

    and you can change $translated_text = ‘You cannot post a new topic – you have already posted a topic in the last month’ to whatever phrase in whatever language you want.

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    In reply to: Abusive poster

    @robin-w

    Moderator

    dashboard>users>all users>edit user and set their role to ‘blocked’

    @robin-w

    Moderator

    untested, but this should do it

    add_filter( 'bbp_new_topic_redirect_to', 'rew_forum_redirect_topic' , 10 ,3 ) ;
    add_filter( 'bbp_new_reply_redirect_to', 'rew_forum_redirect_reply' , 10 ,3 ) ;
    
    function rew_forum_redirect_topic ($redirect_url, $redirect_to, $topic_id ){
    	$redirect_url = 'http://mysite.fr/newsfeed' ;
    return $redirect_url ;
    
    }
    
    function rew_forum_redirect_reply ($redirect_url, $redirect_to, $reply_id ){
    	$redirect_url = 'http://mysite.fr/newsfeed';
    return $redirect_url ;
    
    }

    @robin-w

    Moderator

    doubtful – formats must match and suspect they won’t.

    @robin-w

    Moderator

    here is fine, I look at both !

    nothing exists – it could be written, but beyond free help.

    The first obvious question would be how you define/choose ‘selected BBPRESS forum topics’

    In reply to: title area remove

    @robin-w

    Moderator

    sorry, I don’t understand – you send me a picture with something that the site does not have, and ask how to remove it, when it isn’t there πŸ™‚

    In reply to: title area remove

    @robin-w

    Moderator

    ok, but I am not seeing the title in your image in the link you sent, so what is your issue?

    @robin-w

    Moderator

    @ollietubb1 – posting a question which includes a link to your site called ‘getting a small busines loan’ does make you look like a spammer.

    favorites and subscriptions are in

    dashboard>settings>forums

    @robin-w

    Moderator

    oh, and just participants? ie Keymaster and moderators can post as many as they like?

    @robin-w

    Moderator

    should be doable, so :

    1 topic per week, and any no. replies?
    1 topic and one reply per week?
    I topic or reply per week?

    etc?

Viewing 25 replies - 2,501 through 2,525 (of 14,247 total)