Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • in reply to: Display membership level on public profile #156236
     Proton
    Participant

    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!

    in reply to: Problem with Members Online #156192
     Proton
    Participant

    Hi 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!

    in reply to: Display membership level on public profile #156077
     Proton
    Participant

    this may help for context

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)

Log in with your credentials

Forgot your details?