Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,801 through 6,825 (of 14,334 total)
  • @robin-w

    Moderator

    you will need to do some testing to understand how subscriptions work, but in essence if you subscribe to a forum or thread, then you receive updates to that thread that do indeed contain the content.

    @robin-w

    Moderator

    presume you are ticking the box on the form?

    @robin-w

    Moderator

    dashboard>forums and look at the roots/slugs

    @robin-w

    Moderator

    apart from some setup stuff in wp_options, the forums, topics and replies are held in wp_posts and wp_postmeta

    @robin-w

    Moderator

    Is there an API that I can call when a user registers on our product website?

    Users

    If they are logged in to our product and click on SUPPORT/Forums, how do I go about having them automatically logged in?

    mzybe

    WordPress REST API – OAuth 1.0a Server

    And my last question is if I can create new topics and replies to them with custom dates/times? For example, I want to create a new post with a date of a week ago, and then reply with a date from 6 days ago?

    Just add/edit the topics and replies from the back end – there you can changed then publish date

    @robin-w

    Moderator

    ok, the problem is that bbpress stores topic and reply authors as their WordPress ID, so unless the new sites WordPress ID’s match the old site’s then they won’t match.

    are the old authors all on the new site ?

    @robin-w

    Moderator

    ‘I have a database in Rainmaker’

    what is rainmaker? a hosting company, cms or what ?

    @robin-w

    Moderator

    my style pack plugin has an unread posts section

    bbp style pack

    In reply to: Topic slug

    @robin-w

    Moderator

    sorry, this would probably require major coding to do

    In reply to: Related Threads

    @robin-w

    Moderator

    3 CPT’s topic, reply and forum

    @robin-w

    Moderator

    if you haven’t already, report this in the buddypress forum

    https://buddypress.org/support/

    @robin-w

    Moderator

    Many providers limit the amount of emails, and yes what starts as a single email, has to become many emails as the email provider splits out one to each BCC, so 1,000 emails are received and it is the mailer who turns 1 into 1,000 so you probably do exceed.

    @robin-w

    Moderator

    ok that plugin is altering the same area that I am, so that is why it is showing

    @robin-w

    Moderator

    Is the “UNREAD FORUM TOPICS” not part of bbPress’s default functionality?

    correct

    @robin-w

    Moderator

    not possible with current version, and not in my planned list yet

    @robin-w

    Moderator

    as a test can you try with just bbpress and private groups, as if that is ok, add the others back until you find which one is allowing this

    @robin-w

    Moderator

    It’s like using the shortcode

    , or is it using the shortcode [bbp-search] ??

    @robin-w

    Moderator

    are you also using buddypress?
    and what other bbpress related plugins are you using ?

    @robin-w

    Moderator

    forums belong to categories

    @robin-w

    Moderator

    great – glad you are fixed

    In reply to: Sub Forums Or Topics

    @robin-w

    Moderator

    So you can either

    Create ‘operating systems’ as a category, and have Windows, Linux, Apple, Android etc. as forums belonging to this parent category

    or

    Create ‘operating systems’ as a forum, and have Windows, Linux, Apple, Android etc. as forums belonging to this parent forum.

    The first of you don’t want topics in the parent forum, the 2nd if you do

    You set the ‘type’ in dashboard>forums>edit forum and on the right hand side you will see ‘forum atributes’ wity type within that and parent forum underneath

    @robin-w

    Moderator

    yes that looks like a good solution !

    @robin-w

    Moderator

    If you just want to remove it from the list then you could amend loop-single-forum.php

    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/loop-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/loop-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    change it to (assuming 40250 is the fiorum id)

    
    <?php
    
    /**
     * Forums Loop - Single Forum
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    if ( !bbp_get_forum_id() == '40250')) {
    ?>
    
    <ul id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>>
    
    	<li class="bbp-forum-info">
    
    		<?php if ( bbp_is_user_home() && bbp_is_subscriptions() ) : ?>
    
    			<span class="bbp-row-actions">
    
    				<?php do_action( 'bbp_theme_before_forum_subscription_action' ); ?>
    
    				<?php bbp_forum_subscription_link( array( 'before' => '', 'subscribe' => '+', 'unsubscribe' => '&times;' ) ); ?>
    
    				<?php do_action( 'bbp_theme_after_forum_subscription_action' ); ?>
    
    			</span>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bbp_theme_before_forum_title' ); ?>
    
    		<a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>"><?php bbp_forum_title(); ?></a>
    
    		<?php do_action( 'bbp_theme_after_forum_title' ); ?>
    
    		<?php do_action( 'bbp_theme_before_forum_description' ); ?>
    
    		<div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>
    
    		<?php do_action( 'bbp_theme_after_forum_description' ); ?>
    
    		<?php do_action( 'bbp_theme_before_forum_sub_forums' ); ?>
    
    		<?php bbp_list_forums(); ?>
    
    		<?php do_action( 'bbp_theme_after_forum_sub_forums' ); ?>
    
    		<?php bbp_forum_row_actions(); ?>
    
    	</li>
    
    	<li class="bbp-forum-topic-count"><?php bbp_forum_topic_count(); ?></li>
    
    	<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count(); ?></li>
    
    	<li class="bbp-forum-freshness">
    
    		<?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
    
    		<?php bbp_forum_freshness_link(); ?>
    
    		<?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
    
    		<p class="bbp-topic-meta">
    
    			<?php do_action( 'bbp_theme_before_topic_author' ); ?>
    
    			<span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    
    			<?php do_action( 'bbp_theme_after_topic_author' ); ?>
    
    		</p>
    	</li>
    
    </ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> -->
    
    <?php } ?>

    Not tested but should work, if not then might be another bbpress plugin overwriting the template – come back

    @robin-w

    Moderator

    ok, the code does not allow for pagnination if you have nested replies allowed in the forum settings.

    That is just the way the code is written, I am not an author of the code.

    @robin-w

    Moderator

    Put this in your child theme’s function file – or use

    Code Snippets

    add_filter( 'bbp_get_replies_per_page', 'rew_replies');
    
    function rew_replies () {
    $replies = 5 ;
    return $replies ;
    }
Viewing 25 replies - 6,801 through 6,825 (of 14,334 total)