Integrate OpenInviter in to Symfony

What is OpenInviter?
Open source OpenInviterTM (Open InviterTM) is a free import contacts (addressbook) script from email providers like Live/Hotmail, FastMail, Inbox.com, AOL, Care2, Popstarmail, Grafitti, Bigstring, Rambler, Wp.pt, Apropo, Evite, Meta, Aussiemail, Xing, MSN, Bordermail, Pochta, Gawab, Hushmail, Canoe, Mail.in, Yahoo!, IndiaTimes, YouTube, Mail.com, Walla, LinkedIn, Lycos, GMX.net, Libero, Techemail, 5Fm, Virgilio, OperaMail, Yandex, Kids, Web.de, Sapo.pt, Azet, Interia, Terra, Plaxo, KataMail, Mynet.com, Clevergo, Mail2World, Rediff, Doramail, Inet, Freemail, Atlas, Mail.ru, O2, Netaddress, Abv, India, GMail, Uk2, Nz11, Zapakmail or social portals like Faces, Last.fm, MySpace, Tagged, Vimeo, Perfspot, Flingr, Brazencareerist, Xuqa, Ning, Motortopia, Twitter, Mydogspace, Xanga, Orkut, Multiply, Plurk, Friendster, Koolro, Meinvz, Vkontakte, Eons, Lovento, Flickr, NetLog, Cyworld, Livejournal, Mevio, Hyves, Fdcareer, Plazes, Skyrock, Kincafe, Bebo, Badoo, Mycatspace, Famiva, Konnects, Bookcrossing, Hi5, Flixster, Facebook, Friendfeed. This contacts importer script is integrating with content management systems (aka CMS) like Vwebmail, Social Engine, SimpleMachines Forum (SMF), Atmail5, Boonex Dolphin, Joomla, nowFire, jamit job, PunBB, Dating Pro, Joomla1.0, myBB, phpFoX, vBulletin, RoundCube, PHPMELODY, joovili, Drupal, Buddy Zone, WordPress, PhpBB, symfony, phpizabi, JamRoom. Open Inviter is written in PHP 5 (no database required but cURL or wget required) and running on any webserver(tested on Apache) offering advanced tell a friend features. OpenInviterTM is a free self hosted solution that does not use a third party gateway (or API) to import contacts.

Put the files in a sub folder inside your web folder in your symfony project. Follow the steps to install openinviter. Copy all the files from that sub folder after the installation to your lib folder (in a sub folder example: /lib/api/openinviter).

Now you can call the class in one of your actions like this:

$inviter= new openinviter();

With the object $inviter now you can call the methods.

  • Things to keep in mind:
  • Delete the postinstall.php.
  • The config.php in your /lib/api/openviter folder, is where the configuration is stored.
  • Configure a cronjob to run the autoupdate.php (the plugins must be up to date).

For documentation see the link: http://openinviter.com/documentation/index.html

Tagged with:
Posted in Uncategorized