Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,901 through 7,925 (of 14,333 total)
  • 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 🙁

    @robin-w

    Moderator

    no problem

    @robin-w

    Moderator

    I would like to create a forum that is free for all to view but can only be contributed to by registered user of the website. So creating new topics and replying/commenting in the tread is only available to those who are registered. However anyone can read the thread and hopefully its contents will be searchable by google

    This is the default.

    If you set then forum to public, but ensure that anonymous posting is off

    dashboard>settings>forums>anonymous posting

    Then all can see, but only registered users can post

    bbpress just uses wordpress login, so any wordpress login will work, so logging onto the website also gives access to the forums

    @robin-w

    Moderator

    if you mean buddypress, then you should report this here :

    https://buddypress.org/support/

    @robin-w

    Moderator

    yes, install my style pack plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>breadcrumbs

    and you can change what the root says and where it goes

    @robin-w

    Moderator

    install and activater bbpress
    go to
    dashboard>tools>forums>import forum and select simplepress5 from the platform list

    @robin-w

    Moderator

    the slugs must match the contents of any page you set to the same slug.

    so the forum root slug should match a page that has [bbp-forum-index]

    so the topics slug should match you page with topics in it

    @robin-w

    Moderator

    I have a page with my topics on and the slug is ‘discussion.

    are you using a shortcode on this page?

    @robin-w

    Moderator

    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

    ok, so this works on my test site

    in discussions-replies

    
    <?php add_filter ('bbp_before_has_replies_parse_args' , 'rew_filter_for_user' ) ?>
    <?php if ( bbp_get_user_replies_created( $user_id = bp_loggedin_user_id() ) ) : ?>
        <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
        <?php bbp_get_template_part( 'loop', 'replies' ); ?>
        <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
    <?php else : ?>
        <p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p>
    <?php endif; ?>	

    and in functions

    function rew_filter_for_user ($args) {
     $uid = bbp_get_current_user_id();
     $args['author'] = $uid ;
     return $args ;
    }

    let me know if it works on yours

Viewing 25 replies - 7,901 through 7,925 (of 14,333 total)