Giorgi625 VIP
Total posts: 655
09 Mar 2018 16:25

I am using Cobalt with Easysocial on my site. There is good integration plugin here which I like. It integrates avatar, profile link and even pm feature. Also it contains apps for displaying Cobalt content in Easysocial, I worked with this apps before but had some problems need to get back to test them later.

Now I am dealing with Easysocial cool feature badges which allows to award users for some activities with badges. By default it has badges which award user for activities in Easysocial and standart Joomla content. I have seen also some K2 and Kunena badges too before I think. So I am curious if it is possible to do same for Cobalt?

As I see it badge file has very simple structure and there are two important lines which are responsible for extension and command. For example:

"command" : "groups.discussion.liked",

"extension" : "com_easysocial",

So I have question if I create just custom badge file and type there for extension line value com_cobalt and for command for example record.create or record.rated will it work?

Or There should be created some plugin which will allow easysocial to understand Cobalt commands?

Last Modified: 04 Apr 2018


Sergey
Total posts: 13,748
12 Mar 2018 07:48

It sounds simple. But since Cobal is not a single extension and every section is considered as Joomla component, we will need to have different configuration file for every section. ES do not let us do that. It means the only way left is porgrammable integration. Create plugin that will add badges of every cobalt even only in configured section.


Giorgi625 VIP
Total posts: 655
12 Mar 2018 15:11

Yes this is good that each Section is separate, so I will be able to award users for 100 records created separately for Blog section, for Catalog section and for Forum section.

It will be good if it will be possible to combine event for some sections. For example count 4 sections events amount as one and award if user has added 100 records in 4 sections totally. For example to use multiselect field for section selection.

For now I was just curious if it was so easy to create badges, as for other extensions, but as it needs to create plugin for Cobalt it is bad :/

Now I can just award users manually, but for another project I will need this plugin surely, so I will return to this topic later.

Will you be able to craete this plugin? If yes when I will be raedy we can discuss price.


Sergey
Total posts: 13,748
04 Apr 2018 11:15

Giorgi625 so I will return to this topic later.

It is OK. We can see what we can do. Surely we can do something.

Powered by Cobalt