I have created a custom badge which I am trying to implement. This badge will need to be assigned and not earned.
Here is my code in my cidm.badge file:
For some reason everytime I try upload this using acheivements > install i get the following error:
Im not sure what I have done wrong. Please assist.
Here is my code in my cidm.badge file:
[
{
// The title of the badge.
"title" : "Certificate in Digital Money Graduate",
// The description of the badge
"description" : "You have successfully met the graduation criteria for a Certificate in Digital Money",
// The steps needed to unlock this badge.
"howto" : "Enroll in, and sucessfully meet the graduation criteria for the Certificate in Digital Money ",
// The alias of the badge.
"alias" : "cidm",
// The extension for this badge.
"extension" : "com_easysocial",
// The badge command.
"command" : "certificate.complete",
// The default avatar for this rule. Relative to the site's document root a.k.a (JPATH_ROOT)
"avatar" : "media/com_easysocial/badges/cidm-grad.png",
// When user creates a new discussion for 15 times.
"frequency" : 1
}
]
For some reason everytime I try upload this using acheivements > install i get the following error:
0 SocialTableBadge::bind(*NULL*)
Im not sure what I have done wrong. Please assist.