Forums

[resolved] [Plugin: WP Private Messages] Adding Private messaging to user Profiles (1 post)

  1. cde010
    Member
    Posted 1 month ago #

    I have user profiles on my WP using Alkivia Open Community:
    http://wordpress.org/extend/plugins/alkivia/

    I added this code to '\wp-content\plugins\alkivia\templates\profile-default.php :

    <a href="<?php _e('http://renewedculture.com/wp-admin/profile.php?page=wp-private-messages/wpu_private_messages.php&wpu=newpm&id=', $text_domain); ?><?php echo $user->ID ?><?php _e('&name=', $text_domain); ?><?php echo $user->user_login ?>">Send <?php echo $user->display_name ?> a Private Message</a>

    This adds:
    "Send 'username' a Private Message"
    link to every profile. When clicked, it takes that user to their "New Private Messages" page and the name of the user who they are messaging will already be in the field! Yes!

    http://wordpress.org/extend/plugins/wp-private-messages/
    Great plugin.
    Carl

Reply

You must log in to post.

About this Topic