Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,926 through 6,950 (of 7,385 total)

  • Robin W
    Moderator

    @robin-w

    John, really pleased that you tracked it down, and yes I’ll add it to the styling crib when I get a moment ! Often I spend hours searching for the wrong thing, the solutions here are often easy and obvious but only after you have worked them out !

    The code

    #bbpress-forums ul.bbp-threaded-replies{margin-left:25px;}
    

    is exactly the same as

    #bbpress-forums ul.bbp-threaded-replies {
     margin-left: 25px;
     }
    

    The computer simply ignores gaps, and coders only write it that latter way to make it easier to read.

    You ought to start using a child theme if you haven’t already got one. (just google child theme video, and you’ll get lots of help). it’s very quick and simple and does not affect you main theme, just allows you to add without losing on updates. Then you would create a directory in that called
    css viz wp-content/themes/yourchildthemename/css and copy your amended bbpress.css file into that. bbPress will then use that, and you won’t lose changes.

    Great that you’re fixed !


    Robin W
    Moderator

    @robin-w

    Did you disable the stylepress plugin, as it seems to be pointing to that?

    This plugin is no longer maintained viz

    https://wordpress.org/plugins/style-press/

    I’d also post a query on the yootheme suppprt site, as they may have come across this


    Robin W
    Moderator

    @robin-w

    Seems you have some theme conflicts

    To save me searching, can you post live links to the pages you have in your screenshots, and I’ll take a look


    Robin W
    Moderator

    @robin-w

    No it shouldn’t slow the site down, pictures are an inherent part of any modern website.

    However your host provider will have website size limiys, and it may fill that- so you need to keep an eye on it.

    In most cases people don’t go mad with photos, but depends on the nature of our site!

    In reply to: How to users LOGOUT?

    Robin W
    Moderator

    @robin-w

    In fact just done it

    Layout and functionality – Examples you can use

    item 12

    have a look


    Robin W
    Moderator

    @robin-w

    would require some rewrites of templates.

    How into coding are you?


    Robin W
    Moderator

    @robin-w

    couldn’t where ‘dashcamtest.de’ was in your example.

    The code is in loop-single-reply, which should show the title using line 22


    Robin W
    Moderator

    @robin-w

    That’s the way it works at the moment – it annoys me as well

    You could use the plugin

    WP Modal Login

    This has a modal (popup) login that is happy for you to get it wrong.

    It has a widget that you can use. it’s not a pretty in the widebar as the bbpress one, but smarter when it’s launched.

    I have just started using this linked to a menu item, will be documenting how to do the latter when I get a moment.


    Robin W
    Moderator

    @robin-w

    speed wise – this executes as fast as any other menu command on my websites

    which menu do you want it to appear on, and is it a custom menu?


    Robin W
    Moderator

    @robin-w

    do_action( ‘bbp_template_before_forums_loop’ );
    does nothing !

    It is the hook onto which you would add an action using a function and an “add_action” command.

    If you want to alter behaviour, the it is probably the function after it that you would want to filter.

    Come back and describe what you’re trying to achieve and I’ll try and help further


    Robin W
    Moderator

    @robin-w

    You should be looking at the bbpress.css

    Suggest you look for Topic and reply content and look at padding


    Robin W
    Moderator

    @robin-w

    Is this a new installation, or has this just started on an old one.

    Try disabling all other plugins, and seeing if that fixes it. If so then re-add back one at a time to see which is causing.

    If none, the switch to a default theme such as twentytwelve and see if it still occurs

    Come back and let us know the results


    Robin W
    Moderator

    @robin-w

    Try

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

    The actions are used in the templates held in

    wp-content/plugins/bbpress/templates/default/bbpress/

    In reply to: How to users LOGOUT?

    Robin W
    Moderator

    @robin-w

    There’s some code in the documentation to add a Login/Logout to the menu

    see

    Layout and functionality – Examples you can use

    item 11.

    I am documenting a ‘modal’ (popup) login to add in a few days.

    In reply to: How can I Delete topic

    Robin W
    Moderator

    @robin-w

    You could make one, but if you have the correct privileges you have options in the header of each topic including “trash” which will put it in the trash.

    You can also do this from the Dashboard>forums>topics (or replies) and permanently delete it from there

    In reply to: How to filter an array

    Robin W
    Moderator

    @robin-w

    Thanks Stephen


    Robin W
    Moderator

    @robin-w

    Think you probably need to crack open the plugin, and see where GD bbPress Attachments is adding a filter, and exactly what code it is using. You might then be able to mod this in your loop to re-strip it out.


    Robin W
    Moderator

    @robin-w

    yes it’s always awkward when even two things don’t work together and both say it’s the other one.

    In practice there well maybe no “fault”. If X chooses a hammer and nail to join two bits of wood, and Y chooses a screw and screwdriver, it is neither’s fault that the screwdriver won’t remove the nail, and X can say that Y should have used a hammer, and Y can say that X should have used a screw !

    I may not be able to help, but can you post a link to your url and a sample, and I’ll take a look


    Robin W
    Moderator

    @robin-w

    No problem. Just a quick thought, as I might be able to solve it a different way.

    Are you using a page called forums and the shortcode [bbp-forum-index]

    or did it just come sup in your menu when you installed it?

    It’s Ok, neither is wrong, I just need to know which !

    ie which in section 3 of the attached did you do

    Step by step guide to setting up a bbPress forum – Part 1


    Robin W
    Moderator

    @robin-w

    The page you are using to display is a full width page.

    Since you are using a child theme of twenty twelve, I presume you still have the default template which has a sidebar.

    If so, then copy this file, and rename it to bbpress.php and put it into your theme’s root ie
    wp-content/themes/twentytwelve-Child/bbpress.php

    That will ensure that bbPress uses a template with a sidebar


    Robin W
    Moderator

    @robin-w

    great, glad you’re fixed !


    Robin W
    Moderator

    @robin-w

    suspect that there is a variable in loop-sinlge-reply that already exists, but is not there in loop posts, so you’re getting a nil return.

    I’d try hardcoding some to see if you can pinpoint.

    eg look up a bbp post and see who the author is, so if post is 1126 then try

    <?php bbp_author_link( array( ‘post_id’ => 1126, ‘size’ => 14 ) ); ?>

    and see if that produces a result.

    Or you could try

    echo “bbp_get_topic_last_active_id() is “. bbp_get_topic_last_active_id() ;

    to see what number that is producing at that point to know that it is doing something

    if so, then you can try


    Robin W
    Moderator

    @robin-w

    Not really sure what to suggest next!


    Robin W
    Moderator

    @robin-w

    @netweb Stephen, Thanks for this, and having now looked at the trac ticket and bbp_parse_args function I see how this works.

    @nicmare

    Wherever you see bbp_parse_args, there’s a filter for the function to do this.

    bbp_parse_args has the format

    function bbp_parse_args( $args, $defaults = array(), $filter_key = '' )
    

    The resultant filter name is made up of bbp_before_’ . $filter_key . ‘_parse_args’

    (there is an bbp_after one as well!)

    The filter key is the third argument in the bbp_parse_args

    $r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '',
    		'link_after'        => '',
    		'count_before'      => '<span>',
    		'count_after'       => '</span>',
    		'count_sep'         => '</span><span>',
    		'separator'         => '',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );

    so ‘list_fourms’ in the last line is the third argument.

    This should help you for the other two functions, as filters will then be obvious !


    Robin W
    Moderator

    @robin-w

    I’ll let you know if it gets changed.

    Were the other two functions as bad?

Viewing 25 replies - 6,926 through 6,950 (of 7,385 total)