Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,951 through 13,975 (of 14,230 total)
  • @robin-w

    Moderator

    Great, glad you’re fixed !

    @robin-w

    Moderator

    Great, glad you’re fixed !

    @robin-w

    Moderator

    Greta, thanks, and let us know what buddypress says !

    @robin-w

    Moderator

    look at

    bbPress Styling Crib

    and see

    Step by step guide to setting up a bbPress forum – part 2

    for where to put the changes if you’re not certain.

    @robin-w

    Moderator

    Suspect you have a conflict somewhere. bbpress and buddypress will work, so it is something else.

    Suggest you start by disabling all your plugins, and switching to a default theme. Add bbpress, buddypress and test that works (it should). Then add woocommerce, again it should work. Then switch to your normal theme, and test again. If that all works, then add back the other plugins one at a time to see which is causing the conflict.

    In reply to: Form To Forum Post

    @robin-w

    Moderator

    Suspect that not a lot of bbpress people will have done this, and probably none that view this forum.

    Basically you just need your form to save the relevant bits to the database as a forum entry.

    I’d start by looking at how an entry is stored in the database, and then get your form to do this for you.

    In reply to: Topic Thumbnails?

    @robin-w

    Moderator

    Great, glad it all worked !

    If you’re not using a child theme, then any theme upgrade may overwrite your functions file, so keep a note of the final code you used, as you may need to add it back.

    In reply to: Topic Thumbnails?

    @robin-w

    Moderator

    Yes, No particular point that you should insert it – I’d put it at the end.

    In reply to: Topic Thumbnails?

    @robin-w

    Moderator

    Ok, I cracked that code open, and think that putting in the following will work

    add_action( 'bbp_theme_before_topic_title', 'assylumn_insert_thumbnail' );
    function assylumn_insert_thumbnail() {
    	echo('<a href="http://www.mysite.com/wp-content/uploads/2013/09/picture.jpg">') ; 
        echo('<img class="bbp-topic-thumbnail"  width="100%" style="max-width: ' . get_option('thumbnail_size_w') . 'px; max-height: ' . get_option('thumbnail_size_h'). 'px; vertical-align:middle;" src="http://www.mysite.com/wp-content/uploads/2013/09/picture.jpg"/>' .'</a>');
    	}
    
    

    Obviously you’ll need to change the URL to your image

    You’ll need to add this to your functions file, if you don’t know how to do this, come back !

    In reply to: Topic Thumbnails?

    @robin-w

    Moderator

    which plugin are you referring to? That would be a good starter

    @robin-w

    Moderator

    This plugin might let you change the words

    EDIT: Robin, I removed the code you posted as it was not really what was needed, check the plugin below. Cheers, Stephen

    In reply to: change forum sidebar

    @robin-w

    Moderator

    Great to hear you’re fixed !

    @robin-w

    Moderator

    can you see “forums” in the dashboard?

    @robin-w

    Moderator

    Could be theme or plugin conflict.

    Try switching to a default theme (such as twenty twelve) to see if problems remains.

    Then try disabling all you plugins, and if that fixes, re-enable one at a time to see which is causing the issue

    @robin-w

    Moderator

    Try using

    https://wordpress.org/plugins/members/

    I haven’t used it myself, but others have with success

    @robin-w

    Moderator

    Markic,

    Thanks for posting these – I’ve added them to the codex documentation at

    Layout and functionality – Examples you can use

    as items 6 & 7

    Regards

    Robin W

    In reply to: Plugin Update 2.5.3

    @robin-w

    Moderator

    Try switching to a “default” theme (such as twenty twelve) and see if it goes away.

    If not, try disabling your other plugins and re-introduce one at a time to see if there’s a conflict.

    @robin-w

    Moderator

    shmoo,

    don’t think there’s any conspiracy to keep this stuff secret, rather that the clever people who write this stuff are generally the same type of people who hate documenting – they enjoy the code and getting it to do stuff, not the this is how I did it.

    I’d love to see a crib on the structure of the bbPress plugin – a list of the directories and files, and a description of what each file did – eg loop-single-forum.php does this, and content-single-topic does that etc. but unless I do one, don’t think it will happen.

    I’ll try to unravel the filter side of the plugin at some stage !

    @robin-w

    Moderator

    best explanation I know is here :

    Filters Explained

    I plan to write some bbPress specific documentation for this when I get my head around it enough to pass it on (I am relatively new to wordpress as well).

    In reply to: Email notifications

    @robin-w

    Moderator

    yes, I use the bbPress Notify plugin which does both topics and replies

    @robin-w

    Moderator

    I’m afraid that I am a bit lost, because I’m not sure what you are showing me under this link.

    However if you want to remove parts of the breadcrumb you can add a function to your functions file

    eg

    function mycustom_breadcrumb_options() {
    	// Home - default = true
    	$args['include_home']    = false;
    	// Forum root - default = true
    	$args['include_root']    = false;
    	// Current - default = true
    	$args['include_current'] = true;
    
    	return $args;
    }
    
    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options' );

    If you want to lose the breadcrumb all together you can use

    function bm_bbp_no_breadcrumb ($param) {
    
    return true;
    
    }
    
    add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');

    Otherwise come back and explain a bit further about what your link is taking me to eg is this a page and what is the content of that page

    In reply to: Hi thanks

    @robin-w

    Moderator

    🙂

    In reply to: Hi thanks

    @robin-w

    Moderator

    Great – glad to hear – I know the forum authors get little praise and many “suggestions for improvements” – so thanks for letting them know that it works for you.

    I think it’s a great plugin !

    @robin-w

    Moderator

    Suspect that you ID bit isn’t working, hence you’re getting zeros

    I use a count code to put a total count after the avatar using

    function display_counts () 
    {
    		$post_count = bbp_get_user_post_count( bbp_get_reply_author_id( $reply_id )) ;
    		echo "<br>Total posts : " ;
    		echo $post_count ;
    		echo "</br>" ;
    
    		}
    add_action ('bbp_theme_after_reply_author_details', 'display_counts') ;
    
    

    and that works fine.

    If you doing this for the topic, then $reply_id might be worth having a go at, depends on whether the widget is doing this for the topic, or the last reply !

    Otherwise you might need to actually specify an ID (the codex talks about needing to do this if outside the loop, and your widget would not be displayed within the loop eg as in

    get_the_author_meta(‘ID’,$ID)

    where you have set $ID as the topic user probably in the loop bit.

    Don’t know, but worth having a further play

    In reply to: Forum Link Is Too Long

    @robin-w

    Moderator

    You can remove the first “forums” by dashboard>settings>forums>forum root slug

    and unchecking “forum prefix”

    Is your “darth-forums” a category or a single forum?

Viewing 25 replies - 13,951 through 13,975 (of 14,230 total)