NP_PrivateMessaging.php

Send private messages to other users. Includes reply function, multiple recipients, member search.

General Plugin info
Author: Armon Toubman
Current Version: 0.4
Download: :np_privatemessaging-0.4.zip
Code: privatemessagingcode AND privatemessagingadmincode
Demo: not available
Forum Thread: http://forum.nucleuscms.org/viewtopic.php?p=81575

Installing

  1. Unzip the file and upload the contents to your plugin directory
  2. Install the plugin…

How to use the plugin

In the admin area menu at the bottom, you will find a new entry called Private Messaging. If you have unread messages it will show the amount of unread messages there as well. Click on that menu link and you will be shown your inbox.

Available SkinVars and/or TemplateVars

skinvars:

  • (ALL SKINPARTS) <%PrivateMessaging(unread)%> displays the number of unread posts
  • (MEMBER PAGE) <%PrivateMessaging(compose)%> outputs a url to the compose-message page. Use like this:
    <a href="<%PrivateMessaging(compose)%>">write this member a message</a>
  • (ALL SKINPARTS) <%PrivateMessaging(compose, id)%> outputs the url to the compose-message page with the recipient with id id filled in. (id is the numeric id, not the display name!)
  • (ALL SKINPARTS) <%PrivateMessaging(inbox)%> outputs the url to the inbox of the member who is viewing the link

Options

  • Keep the messages on uninstall? yes/no default:no — If set to no the message table in the database is dropped when the plugin is uninstalled.

Tips and Tricks

Adminstrators can view all messages.

Wishlist

Bugs

History

  • Version 0.1, released December 23, 2007 (Armon)
    • initial release
  • Version 0.2 released December 25, 2007 (Armon)
    • ADDED: multiple recipients, member search popup
  • Version 0.3, released December 29, 2007 (Armon)
    • FIX: fixed my weird compose link skinvar structure
  • Version 0.4, released January 12, 2008 (Armon)
    • FIX: Missing argument 1 in NP_PrivateMessaging::composeLink()
privatemessaging.txt · Last modified: 2008/11/10 18:28 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki