1. messagedj
  2. General
  3. Wednesday, May 18 2016, 11:18 AM
i've seen this post,



that exactly tells what i want. but how do i add this Verified badge? is there a tutorial somewhere ?
messagedj Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 1
admin Accepted Answer
Admin
Hi,
you can do something like this:
- Create Usergroup called "Verified"
- Create ACL called "Verified Users"
- Create HTML delimiter field:
Title: "Verified"
HTML: some image like this http://orig03.deviantart.net/fde1/f/2015/143/4/9/twitter_tick_verified_badge_checkmark_by_vampirehelenaharper-d8ucj2g.png
Available for: set your new ACL "Verified Users"
Visible on Edit Profile: No
Visible on Registration: No
Visible on Profile: Yes

Now all "Verified users" will be have a badge (see screenshots)
Attachments (3)
  1. more than a month ago
  2. General
  3. # 2
messagedj Accepted Answer
That did the trick, is there a solution to put this icon next to the displayed name? (where you show the offline button)
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
Yes, but this require PHP Knowledge.

You can use our API to load HTML delimiter value, here docs: http://docs.easy-profile.com/index.php/article/jsnuser-object

In Easy Profile you can use Joomla Template overrides:
- Copy file from /components/com_jsn/views/profile/tmpl/default.php to /templates/your-template-folder/html/com_jsn/profile/default.php (create directory before)
- Open New File
- Add code like this after line 78:
<?php
$user=JsnHelper::getUser($this->data->id);
echo $user->getField('verified');
?>


In Social Network plugin you can use our Theme Manager to customize your pages, follow these steps:
- Goto Admin Panel->Themes Manager->Choose "Social Network" theme
- On left bar choose Elements/cover.ctp
- Click on "Copy" button and copy in your theme (or blue them). with this step this file will be overridden and you not lose changes with updates
- Goto Admin Panel->Themes Manager->Choose "Your Theme" (or blue theme)
- On left bar choose Elements/cover.ctp (this is the new file copied from default template)
- add your customization like https://www.easy-profile.com/support/adding-badge-to-user-profile.html#reply-6221


NOTE: this code is not tested and not supported, this is only for example purpose
  1. more than a month ago
  2. General
  3. # 4
Arena Esport Accepted Answer
Pro
Hi,

It works fine on my website. But I'd like verified users to be on the top of the list in such way that it's the first filter to arrange users. Since it's just a picture in a HTML delimiter, there is no way to use it as filter.

Can you help me ?
Regards
  1. more than a month ago
  2. General
  3. # 5
admin Accepted Answer
Admin
Hi,
no sorry this is not possible.

instead manage Verified status directly with usergroups, you can use another custom field and finally use this field for ordering.

For example:
- You can have a field of type "radio" called verified with options Yes/No.
- You can set this field to not show on edit profile (with this user can't edit this field), Admins can continue to edit this field from backend.
- In this field you can set conditions like: if equal to Yes show Badge field and add to usergroup Verified.
  1. more than a month ago
  2. General
  3. # 6
Arena Esport Accepted Answer
Pro
Hi,

No problem, it works fine this way too.

Thank you for your help !
  1. more than a month ago
  2. General
  3. # 7
  • Page :
  • 1


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