1 files changed, 14 insertions, 9 deletions
diff --git a/INSTALL.txt b/INSTALL.txt
index 921168b..2551bc5 100644
@@ -1,8 +1,11 @@
-This is my first Drupal module: a very basic private messaging module. It allows your site's visitors to send private messages to each other. It does not use Jabber at all (but could be fun to use it). Features:
+This is my first Drupal module: a very basic private messaging module.
+It allows your site's visitors to send private messages to each other.
+It does not use Jabber at all (but could be fun to use it).
- read/write/delete messages
- reply to message with quoting
- new messages support (block and page)
@@ -19,25 +22,20 @@ Send comments to firstname.lastname@example.org.
-This module requires Drupal CVS circa 22/5/03, and should work with the upcoming Drupal 4.2.
+This module requires Drupal 4.6+.
1. Create the SQL tables.
- mysql -u username -ppassword drupal < privatemsg.sql
+ mysql -u username -ppassword drupal < privatemsg.mysql
2. Copy the privatemsg.module to the Drupal modules/ directory. Drupal should automatically detect it. Enable in administration/site configuration/modules.
3. Check "access private messages" in "roles and permissions" in the administration; anonymous users should not have permission. You can also change something in "settings and filters".
-4. If you make a theme, you can add support for private messaging in your theme calling privatemsg_get_link(); for example:
- if (function_exists("privatemsg_get_link")) echo "<A HREF=\"".privatemsg_get_link($comment->name)."\">private message</A>";
- Of course you can use a fancy small icon instead of text link. A good place could be comments, near the name.
@@ -45,3 +43,10 @@ Author
Marco Molinari <email@example.com>
+If you are upgrading from a previous version, you will need to run the
+appropriate SQL statements from the privatemsg.mysql file. Open the file in a
+text editor to determine which statements you will need to run.