Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,851 through 12,875 (of 14,219 total)
  • @robin-w

    Moderator

    Really glad that writing that part of the guide has worked for someone else – it was a real challenge to write !

    Try changing the line

    add_filter( 'bbp_get_topic_reply_link','jc_return_review' );

    to

    add_filter( 'bbp_before_get_topic_reply_link_parse_args','jc_return_review' );
    

    This lets you change just one part of the function.

    @robin-w

    Moderator

    good, I couldn’t fathom out why chnagingh a lsug would affect anything !

    Ok, that’s strange, it works fine on my test site, and just uses the same core functionality as the main functions.

    Not sure what to suggest next….let me have a think overnight !

    In reply to: Full Width Forum Help

    @robin-w

    Moderator

    ok, this is not my strong area, but try making this as your bbpress.php page

    
    <?php 
    
    get_header(); // Loads the header.php template. ?>
     
    	<?php if ( is_bbpress() ) { ?>
     
    		<header class="entry-header">
    			<h1 class="entry-title"><?php single_post_title(); ?></h1>
    			<?php echo apply_atomic_shortcode( 'entry_byline', '<div class="entry-byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'spine2' ) . '</div>' ); ?>
    		</header><!-- .entry-header -->
     
    		<?php while( have_posts() ): the_post(); ?>
     
    			<?php the_content(); ?>
     
    		<?php endwhile; ?>
     
     
    		<footer class="entry-footer">
    			<?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms before="Posted in " taxonomy="category"] [entry-terms before="| Tagged "]', 'spine2' ) . '</div>' ); ?>
    		</footer><!-- .entry-footer -->
     
    	<?php } else { ?>
    	<div id="content" class="hfeed">
     
    		<?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
     
    		<?php get_template_part( 'loop' ); // Loads the loop.php template. ?>
     
    		<?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
     
    	</div><!-- #content -->
     
    <?php get_footer(); // Loads the footer.php template. ?>

    @robin-w

    Moderator

    ok, so it is changing forum slugs that creates an issue for search – yes?

    Is it key that you change the slug? – what are you trying to achieve by doing this?

    @robin-w

    Moderator

    Now we know ! 🙂

    @robin-w

    Moderator

    try adding ‘!important’ to the changes eg

    #bbpress-forums div.odd, #bbpress-forums ul.odd {
    background-color: #222222 !important;
    }

    to ensure they are not overwritten by later loading

    In reply to: Plugin not working

    @robin-w

    Moderator

    2011 should be fine with bbpress – perhaps it’s 2011 that’s corrupted?

    In reply to: Plugin not working

    @robin-w

    Moderator

    I’d deactivate the plugin, then delete it.

    Then add as new.

    Sounds like it may be corrupted somewhere.

    You won’t lose any forum data by doing so

    @robin-w

    Moderator

    I can only suggest you hire someone to get rid of the spam and upgrade you

    http://jobs.wordpress.net/

    @robin-w

    Moderator

    Nothing to do with me !! Suspect just a refresh, although I am with you on the pale hover color 🙂

    In reply to: Notification Email

    @robin-w

    Moderator

    Can you explain further what is happening/not happening, I am not clear what your issue is – in particular what you mean by non-members, and the word ‘now’ suggests a change in behaviour following a change you have made??

    @robin-w

    Moderator

    great – glad you’re fixed !

    In reply to: Full Width Forum Help

    @robin-w

    Moderator

    try taking out the three lines

    <div class=”aside”>
    
    <?php get_sidebar( ‘primary’ ); // Loads the sidebar-primary.php template. ?>
    
    </div>
    

    That div class is probably creating a space for the sidebar

    @robin-w

    Moderator

    No problem, glad to help !

    @robin-w

    Moderator

    Hey thanks, glad its working for you !

    Name is gender neutral I know, but I’m the male version 🙂

    In reply to: Full Width Forum Help

    @robin-w

    Moderator

    I’d take out the line

    <?php get_sidebar( ‘primary’ ); // Loads the sidebar-primary.php template. ?>

    as that is loading a sidebar !

    @robin-w

    Moderator

    the following code in your function file will remove the subscribe

    function remove_subscribe () {
    $retval=false ;
    return $retval ;
    }
    
    add_filter( 'bbp_get_topic_subscribe_link', 'remove_subscribe' );

    ‘share’ is a buddypress function I suspect – sorry I know nothing of buddypress !

    @robin-w

    Moderator

    No problem,

    It might 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, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    ok, I’ve created a new version 1.8 that should fix the top level forum, and done some other tidy-ups that may or may not affect your search.

    Can you try it again?

    @robin-w

    Moderator

    There are all sorts of backdoors that a ‘page/post’ restricting plugin doesn’t cover for bbpress

    For instance :

    search is usually forum wide
    http://www.mysite.com/topics
    http://www.mysite.com/replies
    looking at topics/replies created in a user profile
    recent topics widget
    recent replies widget

    all usually just bypass a plugin written for pages.

    which is why I wrote the private groups plugin

    https://wordpress.org/plugins/bbp-private-groups/

    There is no reason why it shouldn’t work alongside your members with members protecting your pages & posts, and private groups protecting your forums.

    BUT you do have to set users up to see restricted forums, and this is manual. It is quick to do (just a setting within the user settings), but if you have an automated joining process, then you would need to add a manual step (or write some code!)

    @robin-w

    Moderator

    If it is text within wordpress/bbpess then the following code in you functions file will change it

    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'old text' ) {
    	$translated_text = 'new text';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );
    

    But ‘text’ may be made up of code. For instance in your ‘create new topic in’ – the word topic may actually be a variable (I haven’t looked !), and the wrap around text used elsewhere for instance ‘create topic in’, ‘create reply in’, ‘create forum in’

    @robin-w

    Moderator

    when you say you’ve re-installed, do you mean your upgraded to 2.5.4. if not, what caused you to re-install?

    Did the ‘button’ work before or is this a new installation?

    In reply to: Latest 5 Topics?

    @robin-w

    Moderator

    I’ve just started working on a plugin that will have some additional shortcodes in it

    the only functional one so far is the ability to show the latest xx topics

    you can download it from here

    bbp additional shortcodes

    you use the shortcode

    [bbp_display_topic_index show=’5′]

    @robin-w

    Moderator

    Interesting, and offhand I’m not quite sure why it would do that, but I’ll have a dig and come back

    @robin-w

    Moderator

    great, glad you’re fixed !

Viewing 25 replies - 12,851 through 12,875 (of 14,219 total)