By Philip Westover on Thursday, 23 October 2014
Posted in General Issues
Likes 0
Views 558
Votes 0
Hello. When attempting to install a new badge, I get the attached error. You can see that it's blank, so I'm unsure what is happening. Any suggestions?

Also, for your reference, the badge file contents are below (and also attached).
[
{
// The title of the badge.
"title" : "50 States",

// The description of the badge
"description" : "Member of the 50 States Marathon Club.",

// The steps needed to unlock this badge.
"howto" : "To unlock this badge, you need to be a member of the 50 States Marathon Club.",

// The alias of the badge.
"alias" : "50-states",

// 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/50-states.png",

// Frequency required.
"frequency" : 1
}
]

Thanks -- Philip
Hello Philip Westover,

Sorry for late reply to this,

I have download your new badge file from this post thread, it seems like work fine for me.

I suspect that your new badge this "command" : "admin.task.manual", already used from your other badges file.

by the way, I have tried to access in your Joomla backend but i hitting this :

Username and password do not match or you do not have an account yet.

Please advise.
·
Thursday, 23 October 2014 10:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex. You are correct that I'm already using the admin.task.manual command. I need to upload about 3-4 more badges that are using that 'manual' command. What do you suggest?
·
Thursday, 23 October 2014 19:54
·
0 Likes
·
0 Votes
·
0 Comments
·
hello Philip Westover,

Sorry for late reply to this,
Unfortunately that was not possible to use back the command in the badges file.
because all the code is using the unique command, if not all the badges file using the same command, the system will not know which one is handle which one. Hope you understand.
·
Friday, 24 October 2014 00:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the explanation. I assume that code could be duplicated and renamed with a unique command (e.g. admin.task.manual2), correct? If so, could you provide the steps? Thanks.
·
Friday, 24 October 2014 01:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Philip,

You just need to rename the command to something else. After renaming the command, you also need to add your own php codes to ensure that the necessary actions are logged for badges. Please refer to the guide here, http://docs.stackideas.com/developers/achievements/logging

I am really sorry but we do not provide support for customizations.
·
Friday, 24 October 2014 01:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Got it. Thanks much for the info.
·
Friday, 24 October 2014 19:52
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Philip
·
Friday, 24 October 2014 21:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post