Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,301 through 7,325 (of 14,101 total)
  • In reply to: Trackbacks

    @robin-w

    Moderator

    no.

    The simplest way is to use this plugin

    Code Snippets

    and put the code in there

    In reply to: Trackbacks

    @robin-w

    Moderator

    I just looked in trac, and fixing this is now a 2.8 goal.

    However this looks like it might help

    // Force ping_status on bbPress post types 
    add_filter( 'pings_open', 'rew_force_ping_status' ); 
    
    function rew_force_ping_status( $open, $post_id = 0 ) { 
    
    // Get the post type of the post ID 
    $post_type = get_post_type( $post_id ); 
    // Default return value is what is passed in $open 
    $retval = $open; 
    // Only force for bbPress post types 
    switch ( $post_type ) { 
    case bbp_get_forum_post_type() : 
    case bbp_get_topic_post_type() : 
    case bbp_get_reply_post_type() : 
    	$retval = false; 
    break; 
    // Allow override of the override 
    return apply_filters( 'rew_force_ping_status', $retval, $open, $post_id, $post_type ); 
    } 

    @robin-w

    Moderator

    not within free help, sorry, but if you have a way to allocate I could probably write some code cheaply

    contact me via

    http://www.rewweb.co.uk

    In reply to: Search issue

    @robin-w

    Moderator

    given that you purchased the theme, raise the issue with the theme author

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    I’m just a user who helps out here, and I haven’t tested it. Most authorities (eg Yoast, Wordfence) recommend holding off on 5.0 until 5.1 with bug fixes probably around January is likely to be released.

    I’ll do my test site then

    @robin-w

    Moderator

    how did you disable avatars?

    @robin-w

    Moderator

    The space is where the site is trying to show your avatar

    <a href="http://logicbenchmarks.com/forums/users/logicbenchmarks/" title="View Admin's profile" class="bbp-author-avatar" rel="nofollow"></a>

    which is somehow not showing – no idea why, but suspect you have code doing this

    @robin-w

    Moderator

    @robin-w

    Moderator

    I’d suggest you run the repair tools

    dashboard>tools>forums>repair forums and run one at a time

    @robin-w

    Moderator

    That is very strange.

    Can you contact me via the email in my website

    http://www.rewweb.co.uk, as I need you to send me some info

    In reply to: Sorting Forums

    @robin-w

    Moderator

    my style pack plugin allows you to do that

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Forum Order

    @robin-w

    Moderator

    I am author of the style pack plugin, and 4.0.3 shouldn’t have anything that would affect your site, but please as a test, deactivate it and check that it is not causing any issue, you will not lose any settings, and as soon as you have looked you can re-enable it.

    Then come back

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    I’ve just added this functionality to my style pack plugin

    bbp style pack

    once activated go to
    dashboard>settings>bbp style pack>Topic/Reply Display
    dashboard>settings>bbp style pack>Topics Index Styling

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    you have two options

    1. delete everything and start again
    dashboard>tools>forums>reset forums

    2. just deactivate and delete 2.6 and install 2.5.14 – that should work, but I’m not sure whether 2.6 has anything funny in changes to the database

    @robin-w

    Moderator

    you should have version 2.5.14 which is the latest authorised release.

    Download

    @robin-w

    Moderator

    cross posted with yours, both solve the issue, so go with yours

    @robin-w

    Moderator

    ok, take the change above out.

    Then find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
    Make a copy of this file to your pc

    The edit this file to be this

    <?php
    
    /**
     * Replies Loop - Single Reply
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    <div class='rew-border'>
    <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
    
    	<div class="bbp-meta">
    
    		<span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
    
    		<?php if ( bbp_is_single_user_replies() ) : ?>
    
    			<span class="bbp-header">
    				<?php _e( 'in reply to: ', 'bbpress' ); ?>
    				<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a>
    			</span>
    
    		<?php endif; ?>
    
    		<a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
    
    		<?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
    
    		<?php bbp_reply_admin_links(); ?>
    
    		<?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
    
    	</div><!-- .bbp-meta -->
    
    </div><!-- #post-<?php bbp_reply_id(); ?> -->
    
    <div <?php bbp_reply_class(); ?>>
    
    	<div class="bbp-reply-author">
    
    		<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    
    		<?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
    
    		<?php if ( bbp_is_user_keymaster() ) : ?>
    
    			<?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
    
    			<div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
    
    			<?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
    
    	</div><!-- .bbp-reply-author -->
    
    	<div class="bbp-reply-content">
    
    		<?php do_action( 'bbp_theme_before_reply_content' ); ?>
    
    		<?php bbp_reply_content(); ?>
    
    		<?php do_action( 'bbp_theme_after_reply_content' ); ?>
    
    	</div><!-- .bbp-reply-content -->
    
    </div><!-- .reply -->
    </div>
    
    <div class='rew-spacer'><p/> </div>

    Then put this in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-reply.php

    Finally in your theme’s custom css area put

    
    #bbpress-forums ul.bbp-replies {
    border : none ;
    }		
    
    .rew-border {
    border: 1px solid #eee;
    }		

    @robin-w

    Moderator

    I always find this stuff really annoying – what should be simple takes hours to achieve – hope you get sorted, and if you do, please post what you did here to help others

    @robin-w

    Moderator

    ok,

    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-replies.php
    Make a copy of this file to your pc

    The edit this file to add this line after line 50

    <div class='rew-spacer'> <p/> </div>

    so you end up with

    <?php bbp_get_template_part( 'loop', 'single-reply' ); ?>
    
    <div class='rew-spacer'> <p/> </div>

    Then put this in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-replies.php

    You may need to do some styling to get it how you want it, but I would need to see your site to help on that

    @robin-w

    Moderator

    so you want a space between each reply – yes ?

    If so, you will need to be able to FTP a file to your website – do you know how to do this?

    @robin-w

    Moderator

    bbp style pack

    once activated go to
    dashboard>settings>bbp style pack>Buttons

    In reply to: Private Topic

    @robin-w

    Moderator

    no is the simple answer

Viewing 25 replies - 7,301 through 7,325 (of 14,101 total)