Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,876 through 7,900 (of 14,305 total)
  • @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

    @robin-w

    Moderator

    access wont help.

    I am trying to replicate your situation on my test site, where I have tools that do lots of things for me.

    So what I need is how you get to make https://obeii.com/discussions/replies/ do what it does.

    for instance

    create a page called x in wordpress, put this in it
    put the template file in folder y called z.php

    ie all the steps I need to recreate the issue. I can hopefully fix.

    @robin-w

    Moderator

    ok, I get that, but where are you placing the template within your site, and what is it called?

    @robin-w

    Moderator

    ok, can I ask what you are trying to achieve?

    where does this display ?

    is this in buddypress or bbpress screen?

Viewing 25 replies - 7,876 through 7,900 (of 14,305 total)