Viewing 4 replies - 1 through 4 (of 4 total)
  • I may have found what appears to be a bug in the category filtering. For me, any category with an ID of more than one digit was not filtering (but showing all the links instead).

    To fix this issue, all you need to do is find the following line in bp-links-dtheme.php (under the ‘bp_links_dtheme_selected_category’ function, [line 233]):

    if ( isset( $_COOKIE['bp-links-extras'] ) && preg_match('/^category-\d$/', $_COOKIE['bp-links-extras'] ) ) {

    and change it to read:

    if ( isset( $_COOKIE['bp-links-extras'] ) && preg_match('/^category-\d+$/', $_COOKIE['bp-links-extras'] ) ) {

    That’s right, just add a plus sign after ‘category-\d’. This fixes the regular expression to match IDs with more than one digit.

    Thank you. This fix will be in version 0.5.1

    Thanks for posting this fix!

    I tried this fix and nothing happened. Still doesn’t work for us.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: BuddyPress Links] Categories Filtering Not Working’ is closed to new replies.