WordPress.org

Ready to get started?Download WordPress

Forums

Secure Invites
[resolved] Show His/Her Inviter on Buddypress Member's Profile (1 post)

  1. burakbirer
    Member
    Posted 1 year ago #

    Hi all,

    I really needed to see who invited this user and it's not easy if you have 100k invitations. So i tried to show the inviter of the member on his/her bp profile.

    Well first i thought to create another shortcode function but then i realized that using the current myinviter short code would be a lot easier. Current shortcode show the inviter of currently logged in user. So the members may only see their own inviters.

    Here it goes, just paste in your bp theme files (I use it at members/single/member-header.php)

    <?php
    echo "Inviter: ";
    echo do_shortcode('[myinviter id="' . bp_displayed_user_id() . '"]');
    ?>

    Hope you like :)
    Best,

    Edit: It won't show anything if he/she was not invited by anyone.

    http://wordpress.org/extend/plugins/wordpress-mu-secure-invites/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic