High Five Error/Link Resolution
-
Hey Everyone,
This is a really neat plugin, but I did notice that when sending a gift the notification that popped up was “High Five” and if you clicked on it it would go to a broken link.
I checked the forms here on how to fix it and there was an attempted resolution to fix it by Yallways, but it still didn’t work. I would have also posted this in that topic but it has since been locked.
For anyone else getting that same issue, open your includes/bp-gifts-core.php in your buddypress-gifts plugin, navigate to line 626 and replace:
return apply_filters( 'bp_gifts_single_newgifts_notifications', '<a href="' . 'gifts' . '?new" title="' . $user_fullname .'\'s profile">' . sprintf( __( '%s sent you a high-five!', 'bp-gifts' ), $user_fullname ) . '</a>', $user_fullname );
with the following snippet:
return apply_filters( 'bp_gifts_multiple_newgifts_notifications', '<a href="' . $bp->loggedin_user->domain . $bp->gifts->slug . '/" title="' . __( 'Multiple gifts', 'bp-gifts' ) . '">' . sprintf( __( '%s sent you a gift', 'bp-gifts' ), $user_fullname ) . '</a>', $user_fullname );
This is tested and working on wp 3.2.1 and buddypress 1.2.9.
Keep in mind if and when this is ever updated by the author this change could be overwritten.
Enjoy!
- The topic ‘High Five Error/Link Resolution’ is closed to new replies.