Forum Replies Created
-
Author
-
ProtonParticipant
Hi Radu
Thanks for the reply but it doesn’t quite do what i require. What it currently does is displays the logged in users membership on every profile that the logged in user visits.
What i’d like to do is for the membership of each member, to be displayed on that members profile. For example say there are three members, Paul, Peter, John. If Paul buys Gold, it must display on Paul’s profile: Gold Membership. And if Peter buys Bronze, it must state on Peters profile: Bronze.
Can you help me with that?
Thanks!
ProtonParticipantHi Laura
I’m hoping you can help me, i have a similar problem.
I want to manually change the number of women and men online.
The following code works:
add_filter( ‘kleo_online_users_count’, ‘kleo_my_online_users’, 10, 2);
function kleo_my_online_users($number, $value) {
switch ($value) {
//ALL MEMBERS ONLINE
case FALSE:
return $number+6;
break;case “Blesser”:
return $number+5;
break;case “Blessee”:
return $number+20;
break;default:
return $number+5;
break;
}BUT, it does not work when i call it using the [kleo_status_icon type …} shortcode. How do i get the status shortcode to pull the number from the above function? Can you help?
Thanks!
-
AuthorPosts