Skip to:
Content

bbPress.org

Changes between Initial Version and Version 1 of Ticket #2191, comment 9


Ignore:
Timestamp:
04/17/2014 06:40:29 PM (6 years ago)
Author:
freiwerk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2191, comment 9

    initial v1  
    3030                        $args['secondary_item_id'] = $group_id;
    3131                        // if group is not public, hide the activity sitewide
    32                         if (bp_get_group_public_status($group_id) == 'Privat') {
     32                        if (bp_get_group_public_status($group_id) == 'Private') {
    3333                                $args['hide_sitewide'] = true;
    3434                        }
     
    4343}}}
    4444
     45There is only one litte remark I have: The result of the function bp_get_group_public_status($group_id) gives me a (translated) string. So this code does no work for other languages than English. I was not able to fetch this data in a different way...
     46
    4547I would love if you would include it into the bbpress code (or some prettier code), as with this tweak the subforums are quite useable although its beta status and a rework of the subforums issue is not planned right now.
    4648