• Resolved tapiohuuhaa

    (@tapiohuuhaa)


    Listing sub-forums, there becomes separator “,”. I don’t find how the separator has been defined. If I can’t use filter or hooks, I would change template.

    Could someone help me to find the file, which relates with this issue. I just would like to get rid of the separator.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter tapiohuuhaa

    (@tapiohuuhaa)

    I get rid of it with a CSS trick:

    body.forum-archive .bbp-forums-list li.bbp-forum{visibility:hidden;}
    body.forum-archive .bbp-forums-list li.bbp-forum a {visibility:visible;}	

    In general fixed separators are extremely annoying!

    Plugin Author Robin W

    (@robin-w)

    the separator is easily fixed with a filter, but since you’ve used css, I’ll not look into it.

    Thread Starter tapiohuuhaa

    (@tapiohuuhaa)

    Maybe someone else is interesting this issue also. The starting page of forums is elementary part of the forum.

    In this case visibility works ok, because links can put beneath each others.

    But in some cases it would not work. The most annoying separators in bbPress are separators in single topic view between admin links (class bbp-admin-links). That would really need a possibility to use a filter because links must put side by side.

    I have the same issue with the separators since the update to bbPress 2.6.0. I’ve added the CSS above, which removes the separators, but there’s an additional indent for all sub-items. Would appreciate being able to solve this with a filter or similar.

    The issue with the additional indentation can be seen in our forum here: https://slrk.se/forum/

    Thread Starter tapiohuuhaa

    (@tapiohuuhaa)

    Because of the additional indent, I edit source files

    bbpress/includes/forum/template.php
    bbpress/includes/replies/template.php
    bbpress/includes/topics/template.php

    I set first span tags but now I just set ” for separators. I can’t figure, why they are not configurable.

    Thread Starter tapiohuuhaa

    (@tapiohuuhaa)

    Concerning bbpress/includes/forum/template.php the new template is worse – it doesn’t show sub-forums.

    For this page I must at least use old template:
    https://www.sanaristikkofoorumi.net/wordpress/forums/

    Plugin Author Robin W

    (@robin-w)

    2.6.1 will show sub forums I understand

    Thread Starter tapiohuuhaa

    (@tapiohuuhaa)

    Seems that also separators have gone in forum list and there is instead this class definition :
    class="bbp-forum css-sep"

    For some weird reason listing doesn’t work properly in test forum (only part of sub-forums were visible), where I must used changed file.

    But separator problem still exists in

    1. …/replies/template.php
    2. …/topics/template.php
    Plugin Author Robin W

    (@robin-w)

    separator ‘problem’ is not really a problem, just that the bbpress authors are using php whereas you prefer that they use css ??

    function custom_bbp_sub_forum_list($args) {
      $args['separator'] = 'whatever you want' ;
      return $args;
    }
     add_filter('bbp_before_list_forums_parse_args', 'custom_bbp_sub_forum_list' );

    and ditto for topics and replies

    Thread Starter tapiohuuhaa

    (@tapiohuuhaa)

    That seems to relate with sub-forum list, which doesn’t have anymore problems, not topics and replies, which apparently need some other filters.

    Plugin Author Robin W

    (@robin-w)

    so what are you altering in

    …/replies/template.php
    …/topics/template.php

    Thread Starter tapiohuuhaa

    (@tapiohuuhaa)

    In practise all “sep” => ‘ | ‘ to “sep” => ”

    ../replies/template.php
    in lines 1172,1959,2199

    ../topic/template.php
    line 1406

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Listing subforums – get rid of separator’ is closed to new replies.