Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,676 through 7,700 (of 14,118 total)
  • @robin-w

    Moderator

    the plugin just does this automatically for blocked users, no settings involved

    @robin-w

    Moderator

    Thanks, I took a second look at this and I put a filter into my style pack plugin a while ago to stop blocked users getting emails as bbpress does not do this.

    If you want to do this directly, add this to your functions file

    
    function rew_fltr_get_forum_subscribers( $user_ids ) {
            if (!empty( $user_ids ) ) {
                    $new_user_ids = array();
                    foreach ($user_ids as $uid) {
                            if (bbp_get_user_role($uid) != 'bbp_blocked') {
                                    $new_user_ids[] = $uid;
                            }
                    }
                    return $new_user_ids;
            } else {
                    return $user_ids;
            } 
    }; 
    // add the filter
    
    if(!function_exists('bbptoolkit_fltr_get_forum_subscribers')){
    add_filter( 'bbp_forum_subscription_user_ids', 'rew_fltr_get_forum_subscribers', 10, 1 );
    }

    @robin-w

    Moderator

    do you know how to add a function to your functions file if I gave you the details ?

    In reply to: Editing Out Content

    @robin-w

    Moderator

    simplest way would be to use my bbp style pack plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>freshness display

    if you want to edit a file, then ensure you do this to a copy in a bbpress folder in your child theme.

    you’ll find the original template you want to alter in

    templates/default/bbpress/loop-forums.php

    @robin-w

    Moderator
    In reply to: TinyMCE Error

    @robin-w

    Moderator

    suggest you contact the theme author to see if they can fix

    In reply to: Deleting Spam

    @robin-w

    Moderator

    with anonymous posting, then yes you would not have had users. I may look at how that could be sorted if next week is quiet, but no promises

    In reply to: Breadcrumbs problems

    @robin-w

    Moderator

    I suspect your theme is blanking them.

    If you are able to view your file structure using ftp, then see if you have a folder

    wp-content/themes/%your-Avada-theme-name%/bbpress.

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

    If so then you should find a bunch of templates which the theme author have altered

    In reply to: Deleting Spam

    @robin-w

    Moderator

    If you also want to delete the user, you can do

    dashboard>users>all users then search for the user you want to delete

    hover around there avatar and name and you will a bunch of links which one of them says delete

    click that

    then the next screen which is added from bbPress which says

    [] delete all content

    [] attribute all content to: {some username}

    tick delete all content then confirm deletion

    best I can do, I’m on vacation at the moment:-)

    In reply to: Deleting Spam

    @robin-w

    Moderator

    dashboard>topics> and then use bulk actions and select those you want to delete – same with replies

    In reply to: TinyMCE Error

    @robin-w

    Moderator

    that error suggests that your theme Stockholm and file js/plugins.js is the problem.

    So it initially looks like enabling tinymce within bbpress is calling the tinymce or other code within your theme – the bbpress code you are using just turns on the wordpress function.

    to prove, try switching as a test to a default theme, such as twentyseventeen and see if the error goes away

    @robin-w

    Moderator

    you will need to say what you mean by

    menu

    I cannot see anything obviously wrong, but I do not know your site or what you mean by menu.

    @robin-w

    Moderator

    as an admin, click to their profile in the front end – ie click on their name in any topic or reply.

    Then go to subscriptions and you can unsubscribe them from any topics and forum – the user can also do this themselves.

    If you want to you can then also go into dashboard>users and edit the user to be blocked in the forum roles.

    In reply to: TinyMCE Error

    @robin-w

    Moderator

    is that the full error you posted above, if not can we see all of it (you can blank out the site name within any url, but we need to see any url)

    @robin-w

    Moderator

    ssv3 looks like it might be a wordpress theme – is this the theme you are using?

    @robin-w

    Moderator

    Agree – looks like malware – suggest you contact you host provider

    @robin-w

    Moderator

    Looks like a conflict between your theme, bbpress and 4.9.8.

    It works fine with a default theme.

    what theme are you using?

    In reply to: TinyMCE Error

    @robin-w

    Moderator

    my style pack plugin lets you choose this editor

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>topic/reply form and look down to the editors

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    rewrite rules
    This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.

    or

    It could be a theme or plugin 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, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    @robin-w

    Moderator

    I presume you are also using a moderation plugin ?

    @robin-w

    Moderator

    suspect that @p30better is just posting spam.

    It could be a theme or plugin 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, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    @robin-w

    Moderator

    you can do it by amending a template if you know how to do ftp

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    so amend this template to read

    
    <?php
    
    /**
     * Single Forum Content Part
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <div id="bbpress-forums">
    
    	<div id="forum-intro">
    	
    	<?php if (bbp_get_forum_title() == 'technical' ) echo 'this is some content' ; ?>
    	
    	<?php if (bbp_get_forum_title() == 'leisure' ) 	echo 'this is some different content' ; ?>
    	
    	</div>
    
    	<?php bbp_breadcrumb(); ?>
    
    	<?php bbp_forum_subscription_link(); ?>
    
    	<?php do_action( 'bbp_template_before_single_forum' ); ?>
    
    	<?php if ( post_password_required() ) : ?>
    
    		<?php bbp_get_template_part( 'form', 'protected' ); ?>
    
    	<?php else : ?>
    
    		<?php bbp_single_forum_description(); ?>
    
    		<?php if ( bbp_has_forums() ) : ?>
    
    			<?php bbp_get_template_part( 'loop', 'forums' ); ?>
    
    		<?php endif; ?>
    
    		<?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?>
    
    			<?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    			<?php bbp_get_template_part( 'loop',       'topics'    ); ?>
    
    			<?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    			<?php bbp_get_template_part( 'form',       'topic'     ); ?>
    
    		<?php elseif ( !bbp_is_forum_category() ) : ?>
    
    			<?php bbp_get_template_part( 'feedback',   'no-topics' ); ?>
    
    			<?php bbp_get_template_part( 'form',       'topic'     ); ?>
    
    		<?php endif; ?>
    
    	<?php endif; ?>
    
    	<?php do_action( 'bbp_template_after_single_forum' ); ?>
    
    </div>

    You will see I have added lines to change the content per forum

    so the line

    <?php if (bbp_get_forum_title() == 'technical' ) echo 'this is some content' ; ?>

    says that if the forum is called ‘technical’ then write ‘this is some content’ so you simply need to change the forum name and what you want that forum content to be.

    You can add additional lines for each forum, my example has two forums ‘technical’ and ‘leisure’

    @robin-w

    Moderator

    sorry but export will just copy. tools>reset forums will delete EVERYTHING, so that is not a good idea either.

    I think you will need to hire a db person to look at your DB and write a small programme to delete what is left.

    @robin-w

    Moderator

    from your post I suspect you have already seen

    Custom Subscriptions Email

    Sorry, I still haven’t got round to this one 🙁

Viewing 25 replies - 7,676 through 7,700 (of 14,118 total)