By Andrew McDonald on Tuesday, 22 July 2014
Posted in General Issues
Replies 3
Likes 0
Views 506
Votes 0
I simply can't add a new badge. Going a bit mental here to be honest. I've read the documentation, tried uploading (always fails), tried scanning (which finds a .badge file) but it simply never displays a new badge in list.

What am I doing wrong? I've even downloaded the example from the documentation andtried uploading that, but it fails too.

Please help.

cheers
Andrew
Hello Andrew McDonald,

I'm really sorry that delayed of this reply,
May i know do you have follow our documentation like this 2 link?
-> http://docs.stackideas.com/developers/achievements/achievements
-> http://docs.stackideas.com/developers/points/points
If yes, can you upload your new badge file (.badge) at here so we can better have a look your file? Please advise.
·
Tuesday, 22 July 2014 16:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, those are the documents I read.

This is the contents of the badge file I have tried to attach


[
{
// The title of the badge.
"title" : "Motorist Badge",

// The description of the badge
"description" : "Some description of your badge",

// The steps needed to unlock this badge.
"howto" : "To unlock this badge, you need to do something.",

// The alias of the badge.
"alias" : "motorist",

// The extension for this badge.
"extension" : "com_easysocial",

// The badge command.
"command" : "motorist.create",

// The default avatar for this rule. Relative to the site's document root a.k.a (JPATH_ROOT)
"avatar" : "media/com_easysocial/badges/socializer.png",

// When user creates a new discussion for 15 times.
"frequency" : 15
}
]
·
Wednesday, 23 July 2014 07:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andrew McDonald,

Thanks for take your time attached this information to us,
I have tried to copy this and save in test.badge format in my locally
        // The default avatar for this rule. Relative to the site's document root a.k.a (JPATH_ROOT)
"avatar" : "media/com_easysocial/badges/socializer.png",
//Replace with my image png file
// The default avatar for this rule. Relative to the site's document root a.k.a (JPATH_ROOT)
"avatar" : "media/com_easysocial/badges/test.png",


After i done this, then i tried to upload/install from EasySocial > Badge > Install > Browse the file "test.badge" and install, then everything is working fine.
I'm suspected that you're using the same image with other badge image file name, then causing this.
·
Wednesday, 23 July 2014 15:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post