Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,801 through 7,825 (of 14,219 total)
  • @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?

    @robin-w

    Moderator

    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

    nope !

    @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

    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

    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.

    @robin-w

    Moderator

    it is highly likely that it is user pc/browser/cookie/remember me issue.

    @robin-w

    Moderator

    nashraf was a spam post

    So where is buddypress is the replies created template stored – give me the full path, and where in your theme are you putting it – again the path (you can use example.com if you want)

    In reply to: Odd slow-query

    @robin-w

    Moderator

    not directly, but bbpress does call wordpress functions via wp_query, and suspect this is the result of one of those.

    @robin-w

    Moderator

    will depend on what exactly you want but this might be what you need

    Private groups

    @robin-w

    Moderator

    but it isn’t

    @robin-w

    Moderator

    bbpress just uses wordpress login, so at best this is a wordpress issue, so suggest you log it there

    Welcome to the WordPress.org support forums

Viewing 25 replies - 7,801 through 7,825 (of 14,219 total)