UPDATES EasyBlog 6.0.11 Released! Update to the latest version 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

New badge; Country List and profile Type

Abi · ·
7:31 AM Thursday, 05 May 2016
None
Hi Folks,


(1) How can I create a badge from friends.registered (userpoints) so that a badge is given after 20 friends registered?

(2) I’d like a situation whereby a user will only feature on the leaderboard if s/he has a badge Id 27. i.e. this badge must be in place before the amount of points are considered. How can I achieve this?
../modules/mod_easysocial_leaderboard/tmpl/default.php
../components/com_easysocial/themes/wireframe/leaderboard/default.php


(3) I have a profile type called ‘Patriotic’ and it uses the global Country List, so that a user who selects Patriotic will have to choose one country from the list.
I’d like a situation whereby:-
If profile type chosen is patriotic and country list selection = japan then display japan.png.
If profile type chosen is patriotic and country list selection = China then display china.png etc.

I will have these png files displayed in ../modules/mod_easysocial_leaderboard/tmpl/default.php
.. /components/com_easysocial/themes/wireframe/leaderboard/default.php
../components/com_easysocial/themes/wireframe/profile/default.header.php


Which lines of code can help me to do this?

thd_social_profiles shows that the id is for ‘patriotic’ is 7.

The following is helpful but does not deal with selection from “country List” http://stackideas.com/forums/how-to-check-if-user-have-a-specific-profile-type


(4) I noticed that if User A clicks on the profile of User B and then clicks on Points, s/he is able to see the history of how user B gained points. I want to prevent others from viewing the history of how a person gained their points – how can I do this?
The replies under this section are restricted to logged in users or users with an active subscription with us