Skip to:
Content

BuddyPress.org

Changes between Version 4 and Version 5 of Ticket #6096, comment 1


Ignore:
Timestamp:
01/08/2015 09:41:35 PM (10 years ago)
Author:
hnla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6096, comment 1

    v4 v5  
    55So adding in the optional arg to the $button_args `'block_self' => false,` in the groups template brings the button back but this arg option is intended for users own profile according to phpdocs, but why an issue on a theme??!!
    66
    7 In 2014  page.php showing groups directory returns null on bp_get_member_user_id() however 2015 returns a user_id this is why we have the group create button issue  but why...
    87
    98Seems that the series of conditional checks run if 'block_self' == true are an issue; we compare `bp_loggedin_user_id()` to `bp_get_member_user_id()` to return false however the member user is is returning a value on groups dir page so we are halting the button unless we specify  false on the button args for `block_self`
     9
     10In 2014  page.php showing groups directory returns null on bp_get_member_user_id() however 2015 returns a user_id this is why we have the group create button issue  but why...