lcOpenInviterPlugin - 0.1.3

A contact grabber plugin.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

lcOpenInviterPlugin plugin

The lcOpenInviterPlugin is a symfony plugin that allows users to grab their contacts from different e-mail providers (currently: yahoo, gmail and hotmail) and send them mail invitations. It is an extension for the open source project "openInviter".

Server Requirements

  • CURL extension for php
  • DOM Element support for php

If you're on windows OS, you should create an empty folder "tmp" for cookie storage. (for example, if you're using wamp, create the folder C:\tmp)

Installation

  • Install the plugin

    $ symfony plugin:install --stability=beta lcOpenInviterPlugin
    
  • Publish the plugin assets (css and js):

    $ symfony plugin:publish-assets
    
  • Clear you cache

    $ symfony cc
    

Configuring your plugin

  • Configure the plugin by running the plugin task:

    $ symfony letscod:install-open-inviter
    

this task checks your sever configuration (php version, curl installation, DOM Element installation, cookie path ...) if everything is okay, a log file will be written

  • Enable the module and helper in your application settings.yml

        [yml]
        all:
          .settings:
            enabled_modules:      [openInviter]
            standard_helpers:     [openInviter]
    
  • Configure the e-mail text and providers in your application app.yml

        [yml]
        all:
          lcOpenInviter:
            wish-list:
              providers: ["hotmail","gmail"]
            message:
              subject: "is inviting you to join letscod developers"
              body: "Check our recruitment page"
              footer: "LetsCod"
    

(if the wish list is not set, a default wish list of "Gmail, hotmail and yahoo" is provided.)

  • Displaying link to the plugin module

        [php]
        <? 
          echo link_to("invite", "openInviterHome"); 
    

Feedback

Feel free to feedback bugs or suggestions at elie.andraos@letscod.com

TODO

  • Support i18n
  • Ajax interface
  • Test more providers
  • wget transport type