UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

custom badge rule file questions

sky · ·
1:03 PM Tuesday, 29 April 2014
None
I am creating some custom badges, and don't know how to create the rule for "extension","command" and "frequency" for below use cases:

1. assign badge when an user created over 30 easyblog articles in blog category A.
2. assign badge when an user answer over 30 easydiscuss questions.
3. assign badge when an user answer over 30 easydiscuss questions in category A.
4. assign badge when an user upload over 300 photos to easysocial
5. assign badge when an user submit over 30 reviews to jreview listings.


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

// 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" : "socializer",

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

// The badge command.
"command" : "conversation.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
}
]
The replies under this section are restricted to logged in users or users with an active subscription with us