Product Info
Rating:
(9 Ratings)
Read reviews
Page 9 of 9
Plugin Hooks
The easiest way to understand how the ParaInvite plugin system works is look through the files of the ParaInvite Core plugin (plg_parainvite_core.zip). After installation, the files are located in /plugins/parainvite/core
.
If you need professional service to help you create your own hook with other 3rd party extensions, please contact us for a free quote.
To create your own plugin that works with ParaInvite, first create the manifest XML file:
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.0" method="upgrade" type="plugin" group="parainvite">
<name>Example</name>
<author>Mike Feng</author>
<creationDate>June 2016</creationDate>
<copyright>Copyright (C) 2016 simbunch.com</copyright>
<license>GNU General Public License version 2 or later</license>
<authorEmail>This email address is being protected from spambots. You need JavaScript enabled to view it.</authorEmail>
<authorUrl>www.simbunch.com</authorUrl>
<version>1.0.0</version>
<isapplication>true</isapplication>
<description>This is the description for this plugin</description>
<files>
<filename plugin="example">example.php</filename>
<filename>index.html</filename>
</files>
<languages>
<language tag="en-GB">en-GB.plg_parainvite_example.ini</language>
<language tag="en-GB">en-GB.plg_parainvite_example.sys.ini</language>
</languages>
</extension>
Create a example.php
where all the plugin hooks will go in. For example, you can refer to core.php
in the Core plugin. Begin the class declaration with:
<?php defined('_JEXEC') or die('Restricted access'); class plgParaInviteExample extends JPlugin { protected $autoloadLanguage = true; function __construct(&$subject, $config) { parent::__construct($subject, $config); require_once JPATH_ROOT.'/components/com_parainvite/helpers/core.php'; } } ?>
The hook functions include:
- onContactAdd
- When contact is added during Step 2 of invite process. Called during default invitation only.
- onContactsAdded
- After all contacts are added during Step 2 of invite process. Called during default invitation only.
- onInviteSent
- When an invite is sent during Step 3 of invite process. Called during default invitation only.
- onShareSent
- When an invite is sent via content sharing. Called during content sharing only.
- onInvitesSent
- After all invites are sent during Step 3 of invite process. Called after default invitation only.
- onSharesSent
- After all invites are sent via content sharing. Called after content sharing only.
- onInvitesResend
- Called only when user resends invites from the History page. Called after all invites are sent.
- onInviteAccepted
- When an invited user successfully registers on your site.
- << Prev
- Next
Product Reviews Rate this product
Guest rated
Great product!
Posted on 02 August 2017|1 of 2 people found this helpful. Was this review helpful to you? Yes No
|
|
Lapson Parazi (2) rated
Many features and works superbly just as described. Content sharing is very useful and save a lot of money from other software. Very easy to install and use! Very well written documention on SimBunch, easy to understand.
Posted on 04 March 2016|1 of 2 people found this helpful. Was this review helpful to you? Yes No
|
|
Mitch Daniels (2) rated
Like the description said, it's truly a 4-in-1 extension. Great design with support for all the social media services.
Posted on 20 February 2016|Was this review helpful to you? Yes No
Super easy to configure! I was a little afraid because it looks complicated, but the descriptions on the configuration page is very useful I had a javascript error that wasn't even related to ParaInvite, and Mike Feng found and fixed it. Excellent support! Easy to understand step-by-step instructions. No problem configuring each social media and email service. |
|
Eugenio Carrio (1) rated
Has incredible functionality with Social Media.Contacts and Invites Management. Content Sharing and more.
Posted on 22 January 2016|Was this review helpful to you? Yes No
I had a conflict Plugin System - ParaInvite conflict fancybox popup and add product esta Virtuemart and I solved the problem very well Simbunch support area thanks to Mike Feng |
|
Daniel Oherein (1) rated
I bought a competitive extension with so many errors and I could not install it. My support tickets were not solved for more than two weeks. They kept shifting the blame to me.
Posted on 13 October 2014|Was this review helpful to you? Yes No
I came to this Paralnvite site and I read a review that said 'he sent them a pre-sale message whether they will help.' I did the same and Mike replied me with a yes. I bought version 4, when I got stranded, I sent them a ticket, and they helped me and even installed everything and version 5! I will say I am among the first people to be using version 5. Simple and amazing extension! There are many features from backends including templates of messages I cannot explain it all here. It is good investment. All APPs are working and send out messages to invites. This is what matter most....I have even integrated it with jomsocial effortlessly. I recommend this extension to anyone who wants their visitors or web users to be able to send invites to their contacts.... Support: they are fantastics provided you submit your ticket and wait for them to attend to it within 24hrs. |
|
Marco Alessi (1) rated
I had already used this extension in version 3 some time ago.
Posted on 16 April 2014|Was this review helpful to you? Yes No
Now I did not know whether to try invitex or make a new subscription for parainvite. I thought long and looked long time demos of invitex and parainvite. In the end I choose to renew for parainvite. I'm really glad to did it. Everything seems to works properly from first installation. Great works. |
|
halim (1) rated
Powerful viral marketing. This extension very important to create viral marketing. I like it. including excellent support, very fast solve my problem. Thank you
Posted on 06 January 2014|1 of 1 people found this helpful. Was this review helpful to you? Yes No
|
|
Matt Horsley (1) rated
I've used a few invite systems and have always like openinviter but found the joomla integration a little cumbersome. I purchased this and have to say the install was simple, works flawlessly and support was fantastic..
Posted on 08 November 2012|Was this review helpful to you? Yes No
|
|
Paul Landa (1) rated
Works straight out of the box! I am happy to say that everything installed perfectly and worked straight away! AWESOME!
Posted on 09 July 2012|Was this review helpful to you? Yes No
|