2017 © Pedro Peláez
 

library ogogo-zfc-user-pm

Private message system for ZfcUser

image

ogogo/ogogo-zfc-user-pm

Private message system for ZfcUser

  • Wednesday, April 22, 2015
  • by ogogo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

basic private messages, (*1)

By default this module works with Doctrine ORM(through the DoctrineORM mapper). It's very easy to add your own mapper, ZendDb for example.
1. Create your custom mapper
2. Change the mapper in the config, to point to your custom mapper, (*2)

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., (*3)

Functionality

  • Send messages between users
  • Group conversations
  • Delete conversations(not deleted from database, only from user)

Requirements

Hard

Soft

Installation

With composer

  1. Add this project composer.json:, (*4)

    "require": {
        "ogogo/ogogo-zfc-user-pm": "dev-master"
    }
    
  2. Now tell composer to download the module by running the command:, (*5)

    $ php composer.phar update
    
  3. Copy config/ogogo.zfcuser.pm.global.php.dist to your autoload folder (config/autoload/), (*6)

  4. Import the database schema into your database. A SQL schema is located in data/schema.sql, (*7)

  5. Enable it in your application.config.php file., (*8)

    <?php
    return array(
        'modules' => array(
            // ...
            'Ogogo\ZfcUser\Pm'
        ),
        // ...
    );
    

The Versions