1. messagedj
  2. Presales Question
  3. Tuesday, March 24 2020, 04:07 PM
  4.  Subscribe via email
Does Easy Profile support Badges?

I need to assign badges to my users. I now use EasySocial but I want to quit Stackideas.
admin Accepted Answer
Admin
Hi,
no sorry :(
  1. more than a month ago
  2. Presales Question
  3. # 1
daniel-j Accepted Answer
Pro
I too would like to display Badges based on a field that is defined in Easy Profile. Is there a way to display an icon or image based on the value defined ... it seems to be it would be very similar to the Avatar you include... Just a different image... What I am looking for is to bestow an honor for and individual that other see when they view the users profile. Thoughts?
  1. more than a month ago
  2. Presales Question
  3. # 2
admin Accepted Answer
Admin
Hi,
Easy Profile does not manage badges natively but there are different ways to make this.

For example you can add a condition to show/hide a field of type HTML delimiter:
1) Create a field of type HTML delimiter (http://docs.easy-profile.com/index.php/article/html-delimiter-field-type) hat contain a badge called "badge". Se this field to be available only profile page
2) Create another field of radio type with 2 options "Yes" and "No" called "show_badge"
3) in the field show_badge add a condition like this: if equal to custom value "Yes" then show field "badge"

Another way is to add a badge in the views by using Joomla template override feature:
1) Create another field of radio type with 2 options "Yes" and "No" called "show_badge"
2) copy file from /components/com_jsn/views/profile/tmpl/default.php to /templates/your-theme-folder/html/com_jsn/profile/default.php
3) Add a code like this where you want to show the badge:
if( $this->user->getValue("show_badge") == "Yes" ) echo('<img src="/url_of_badge" />')


NOTE: this code is not tested and not supported, it is only for example purpose.
  1. more than a month ago
  2. Presales Question
  3. # 3
daniel-j Accepted Answer
Pro
:) Well Done! These would Work!
  1. more than a month ago
  2. Presales Question
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.