Trying to figure out a workaround to something that really seems like it should be native to ES. Custom, admin assigned badges. You can do this function in Easy Discuss - simple, effective, works...
So, I have tried uploading a custom poweredby.badge to the admin/com/com_easysocial directory - discovered, but not imported - code below:
[
{
// The title of the badge.
"title" : "Powered By",
// The description of the badge
"description" : "Users that power the site",
// The steps needed to unlock this badge.
"howto" : "To unlock this badge, contribute $20/month.",
// The alias of the badge.
"alias" : "poweredby",
// The extension for this badge.
"extension" : "com_easysocial",
// The badge command.
"command" : "admin.task.manual"
// The default avatar for this rule. Relative to the site's document root a.k.a (JPATH_ROOT)
"avatar" : "media/com_easysocial/badges/poweredby.png",
// When user creates a new discussion for 15 times.
"frequency" : 1
}
]
Discover sees the file, and does nothing.
Next try to upload the .badge file directly - says error reading file (tried different encoding, nothing)
So, try to add the badge to another component - Easy Discuss.
Works! Nice and simple - no muss, no fuss, assigned to user, done.
View users profile in ES - it doesn't show badges from other components ??
It also does not show on the MENU>ES>BADGES page.
Earning custom admin only badges should be a no brainer, it works in ED like a charm, should be a standard ES feature -
Is there a way to display other component badges, especially custom ones, on the users ES profile?
(This would provide a nice workaround for your multi-component subscribers - just saying)