Eye4webZfcUserPm is a basic private message module which allows for sending of messages between users.
By default this module works with Doctrine ORM(through the DoctrineORM mapper). It's very easy to add your own mapper, ZendDb for example.
- Create your custom mapper
- Change the mapper in the config, to point to your custom mapper
Note: This module is meant to be very basic and only contain very basic, common, functionality. More functionality will be available through extensions, please see below.
- Send messages between users
- Group conversations
- Delete conversations(not deleted from database, only from user)
- PHP 5.4
- Eye4webBase
- ZfcUser
- ZfcUserDoctrineORM For use with Doctrine mapper
-
Add this project composer.json:
"require": { "eye4web/eye4web-zfc-user-pm": "dev-master" }
-
Now tell composer to download the module by running the command:
$ php composer.phar update
-
Copy config/eye4web.zfcuser.pm.global.php.dist to your autoload folder (
config/autoload/
) -
Import the database schema into your database. A SQL schema is located in
data/schema.sql
-
Enable it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'Eye4web\ZfcUser\Pm' ), // ... );
- Eye4webZfcUserPmFolders - Put conversations into folders
- Eye4webZfcUserPmSearch - Search for conversations
- Eye4webZfcUserPmStar - Star important conversations