Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,101 through 7,125 (of 13,526 total)
  • In reply to: TinyMCE Error

    Robin W
    Moderator

    @robin-w

    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

    @robin-w

    great – glad you are fixed


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

    I presume you are also using a moderation plugin ?


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

    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

    @robin-w

    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

    @robin-w

    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

    @robin-w

    no problem


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

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

    https://buddypress.org/support/


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

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


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

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

    are you using a shortcode on this page?


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

    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

    @robin-w

    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

    @robin-w

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


    Robin W
    Moderator

    @robin-w

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

    where does this display ?

    is this in buddypress or bbpress screen?


    Robin W
    Moderator

    @robin-w

    this is a support forum for bbpress which ruins under wordpress, so if you are not wordpress then your thread is irrelevant 🙂


    Robin W
    Moderator

    @robin-w

    nope !


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

    If you know how to use ftp, then

    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

    Then on your pc create a text file called content-single-forum.php and put the following contents into it

    <?php
    
    /**
     * Single Forum Content Part
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <div id="bbpress-forums">
    
    	<?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 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_single_forum_description(); ?>
    
    			<?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>

    FTP this file to the directory you created above, so you end up with

    wp-content/themes/%your-theme-name%/bbpress/content-single-forum.php

    bbpress will then use this file.


    Robin W
    Moderator

    @robin-w

    I cannot say – that would require access to your sites files, database and admin, and I suspect your users PC – and well beyond any free help.

    all I can say is that wordpress is used on 74 million sites, and bbpress just uses wordpress logon, nothing more.

Viewing 25 replies - 7,101 through 7,125 (of 13,526 total)