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.

Definition Names displaying instead of values

meshugymeshugy Musician/Hacker ✭✭

Great work on this plugin! The flexibility of it is fantastic...

I'm experiencing one issue so far. Throughout the site the definition names are displaying instead of the values themselves. For example, if you look at badge page, you'll see this displaying:

Yaga.Badge.Earned

It should be displaying:

First Comment Badge Earned

see: http://www.djangobooks.com/forum/badges/detail/6/1000-comments

Also, this error comes up

DEBUG: stdClass Object
(
    [BadgeAwardID] => 9
    [BadgeID] => 2
    [UserID] => 9
    [InsertUserID] => 9
    [Reason] => 
    [DateInserted] => 2014-01-24 05:04:22
)

Comments

  • hgtonighthgtonight ∞ · New Moderator

    It looks like your locale isn't loading. Delete your cached locale file in /cache.

    As far as your other issue, it looks like some a debug statement is still in there. Rest assured that regular users cannot see it. What version of Yaga are you running?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • hgtonighthgtonight ∞ · New Moderator

    Looks like the debug line is in the current dev version too. Delete line 19 from /applications/yaga/views/badges/detail.php if it bothers you.

    I will remove it in future versions. :)

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • meshugymeshugy Musician/Hacker ✭✭

    @hgtonight thanks for the quick and easy solutions! My users are already making good use of your plugin....thanks for putting in the all the hard work!

  • hgtonighthgtonight ∞ · New Moderator

    @meshugy Glad you like it!

    Keep the bug reports rolling in. :D

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.