Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author r-a-y

    (@r-a-y)

    Hi damland,

    Sorry for the late reply.

    I just tested this on an Apache server and it is working for me. What server are you using? nginx? lighttpd?

    You might need to configure your server to properly grab $_GET variables.

    What happens if you change ?bpf_read to ?bpf_read=1?

    Thread Starter DAM

    (@damland)

    I’ve apache on ubuntu
    same problem with ?bpf_read=1
    my server can grab $_GET variables

    Thank you

    Plugin Author r-a-y

    (@r-a-y)

    If you check this part of the code:
    https://github.com/r-a-y/buddypress-followers/blob/1.2.x/_inc/bp-follow-notifications.php#L148

    The notification should clear if bpf_read is set as a parameter in the URL.

    The only other thing I can think of is that your theme is causing a conflict. Can you try this on the Twenty Twelve theme?

    Thread Starter DAM

    (@damland)

    Hi, tested with Twenty Twelve theme and it works but I need to fix it for my theme, any advice please? Thank you

    Plugin Author r-a-y

    (@r-a-y)

    Hi damland,

    I was able to duplicate your issue on the bp-default theme.

    I’ve added a fix for v1.3 of the plugin, which is going to be released soon.

    In the meantime for v1.2.1, after line 172 of /_inc/bp-follow-notifications.php:
    https://github.com/r-a-y/buddypress-followers/blob/1.2.x/_inc/bp-follow-notifications.php#L172

    Add this line:
    add_action( 'bp_activity_screen_my_activity', 'bp_follow_notifications_mark_follower_profile_as_read' );

    This should fix the problem.

    Thread Starter DAM

    (@damland)

    Hi,
    I haven’t tested yet, I’m waiting for v1.3 when it ll be available?
    Thanks (y)

    Plugin Author r-a-y

    (@r-a-y)

    I would go with the one-line fix for now.

    I’m thinking of around Christmas time for v1.3.

    Thread Starter DAM

    (@damland)

    Hello r-a-y

    any news about v1.3? Still waiting for it Thank you

    Thread Starter DAM

    (@damland)

    please also note that the fix you have provided isnt working, I’ve added your code after line 172 of /_inc/bp-follow-notifications.php but didnt fix the problem
    thank you

    Plugin Author r-a-y

    (@r-a-y)

    I’m incorporating changes from BuddyPress 2.2 into BP Follow so this is pushing back the release.

    As for the mark notification problem on bp-default themes, I can’t duplicate it with the fix I listed above.

    On your site, what is the default component when you land on a user’s page? Is it the user’s activity or the user’s profile data?

    Thread Starter DAM

    (@damland)

    the user’s activity

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘bpf_read not working’ is closed to new replies.