Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Not compatible with Yaga 1.0.3, patch attached
bfcam
New
Two problems.
$Badge['Photo'] now provides a valid relative url so we can just use as is whether the badge is a default image or an uploaded image.
yaga badge details are now located at yaga/badges/detail and not badges/detail
-- class.YagaDiscussionHeaderBadges.plugin.php +++ class.YagaDiscussionHeaderBadges.plugin.php @@ -35,9 +35,9 @@ foreach($Badges as $Badge) { echo Anchor( Img( - Gdn_Upload::Url($Badge['Photo']) + $Badge['Photo'] ), - 'badges/detail/' . $Badge['BadgeID'] . '/' . Gdn_Format::Url($Badge['Name']), + 'yaga/badges/detail/' . $Badge['BadgeID'] . '/' . Gdn_Format::Url($Badge['Name']), array('title' => $Badge['Name']), array('class' => 'DiscussionHeaderBadge') );
1
Comments
Actually I believe an even more appropriate URL for the badge detail is:
as it provides information on the individual badge clicked.
Has this been resolved, @bfcam?