** BETA NOTES **
** END BETA NOTES **
Omni Inviter creates and sends custom invitations to friends. It is easily
extendible with plugins. Default plugins include:
* Friends -- Invite friends with email address. After registration,
the inviter and the invited users are marked as each others' friends.
* Secret -- Invite friends with email addresses secretly. This method
requires the invited user to sign up before it will reveal who
sent the invitation.
* OpenInviter.com -- Invite friends from other social networks and
email accounts. This uses OpenInviter <http://openinviter.com>
technology to log in to 3rd party websites and send mass
invitations. *See note in README file.
Once installed, activated, and configured, you will find the link to
invite users on the left side of the friends list page. You can also
go directly to it at http://yourelggsite.org/pg/omni_inviter/invite
** LICENSE INFORMATION **
This software is governed under rights, privileges, and restrictions in
addition to those provided by the GPL v2. Please carefully read the
LICENSE file for more information.
** TODO **
* Open Inviter's "Check all/none" is pretty dodgy. Functional, but
needs to be rewritten.
* Sorting in admin listing.
* Secret method: option during invitation creation to have custom
notifications sent to the invited user. (Is this important at all?)
* On very (moderately?) large sites the stats will run into OOM errors
* Add invitation expiration using expiration date.
* Separate the awful pagehandler function into bit-sized chunks.
* Revamp stats to give additional information such as time
between creating and new user joining, etc.
* Pull the mass iterating functionality out into a real function.
** CHANGES **
v1.0b3 (2009-05-29)
* Changed get_entities_from_metadata_by_value() to
oi_get_entities_from_metadata_by_value() to avoid function name
collisons with other plugins. (Better solution forthcoming.)
* Added config option for max attempted sends.
* Added config option to disable cron (and enable manual send).
* Open Inviter method's link to http://openinviter.com opens in a new
window.
* Adjusted the rate limit defaults and upped the time to 5 minutes
minimum since users can set the max_send_attempts to 10.
* Code cleanup for cron.
v1.0b2.1 (2009-05-28)
* Removed call to debug log function that was breaking everything.
v1.0b2 (2009-05-26)
* Updated README.
* Corrected bug with JS and i10n (Thanks Colin Tate <@colintate>!).
* Non-success and empty method content will return an error on AJAX
loading. (Thanks Ash <http://www.emediadrop.com/>!).
* The enter key now works as expected when adding users, logging in to
Open Inviter sites, etc.
* Added "Check all/none" for Open Inviter method.
* Prettied up some formatting issues and made errors more noticable.
* Added user settings for receiving a notification when an invite is
used. Metaplugins can extend user settings can be extended the same
as site settings.
* Added transparent support for the PHPMailer plugin by Cash Costello.
* Fixed saving settings for metaplugins.
* Fixed occasional problem in setting when the language file wasn't
loaded and default email subject and body were language stubs.
* Interface for admins shows basic stats on invitations allows
invitations to be resent.
v1.0b1 (2009-05-12)
* Initial release.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Can't use it, form get auto hidden, when i load the page... help
Is there a way to override the default language settings of the methods? As these are included on the fly it doesn't seem possible. What I'd like to do is provide alternate English descriptions for "oi:method:friend:invite_who" ?
Ta
hi guys,
when I want to invite users via social networking sites or email addresses, it tries to be opened for a few seconds but after a few second it comes up and nothing happens.
What is the problem?
Man, this is a major thing for a couple of my installs, just wont work any more
I have already installed and configured the plugin, but when I use it I get this option open in the inviter
@Brett: I know you're busy with 1.7 but do you think you can get this to work by then or even earlier (for 1.6.1)? This plug-in is great and would be extremely helpful for us in growing our sites. I'm using 1.6.1 and I can't seem to get it working. No fields load for either the email or social network choices (I disabled the "secret" choice). I read this entire thread, loaded all the cron jobs, and checked the permissions but still nada. So, I'm assuming it's a 1.6.1 problem. On the other hand, maybe I'm doing something wrong? Here's what I get:
http://farm3.static.flickr.com/2588/4066798928_8d08cc6eb2_o.png
Anyone else get this and/or know what's the story here?
I have this problem
PHP Fatal error: Class 'gmail.plg' not found in /public_html/comunidad/mod/omni_inviter/methods/openinviter/openinviter_class.php on line 65
this can happen ???
Find a solution by modifying the file
/mod/omni_inviter/methods/openinviter/openinviter_class.php
in the line 65 adding
$class_name = explode('.',$plugin_name);
$this->plugin=new $class_name[0];
Now working fine..!!!
Hi Brett, Can you tell me how to do Cron for windows server 2003? what batch file need to exceute?
I am getting below message when yry to invite friend...
Created by: viral85 on 2009-11-23 14:07:06
Invited User's Name: Viral Sonawala
Sent Status: Stalled. (Attempts: 2, Last attempt: 2009-11-23 14:10:14)
Clicked Status: Not clicked.
Used Status: Not used.
Invitation Code: 437e145bbba6a3161bad315417f3c583
Personalized Message: Hurry up and join...I can't wait to see you here!!
Method: friend
Log:
Looking forward to your competed version.
I have Elg 1.5
I needed to upgrade OpenInviter because the plugins are not working anymore.
The plugins are now .plg.php instead of .php
Renaming them doesn't work
Uploading the complete OpenInviter gives Fatal error: Cannot redeclare class openinviter_base
Any solution or fix, HELP!
Thank you in advance.
Hello Bret,
your plugin worked well for some time, but Facebook updated the way friends retrieving works... So now, as Y.W.S. said, we have to update Openinviter version, that leads to the error he has reported.
I tried to look at your wrapper around OI, but couldn't fix the error... Do you now the way it could now load the .plg.php files ?
I understand you will only update it for 1.7 but was hoping you could quickly look into this one.
All the best !
-Mato
@Your Web Support and @mato - Missed your comments somehow...sorry.
I won't have time to fix openinviter support in the foreseeable future. I have been looking for someone to take over maintenance of development of these plugins, but have had no takers yet.
Thank you for your answer. I don't have the necessary knowledge myself to take over maintenance of this plugin. If I succeed in fixing the bug, I will post my solution here as a comment.
By the way, I follow you work on the SVN, and I can tell you have some good reasons not to have time !
Not working
Fatal error: Class 'facebook.plg' not found in /.../mod/omni_inviter/methods/openinviter/openinviter_class.php on line 67
I have identified a bug that affected the use of Omni Inviter on my server. I suppose it's a bug that affected my particular configuration because nobody else mentioned it in the comments.
I was getting an error 500 on the AJAX request made to once username + password were submitted.
The error was on line of 73 of openinviter_class.php
$this->plugin = new $plugin_name();
basically $plugin_name contained also the file extension. I had to use PHP explode function to remove the .plg extension so the class could be instantiatate correctly.
The corrected code I successfully use is
$pluginClassName = explode('.', $plugin_name);
$pluginClassName = $pluginClassName[0];
$this->plugin = new $pluginClassName();
Hi, I really like this plug in and have spent hours trying to get it to work with no joy. I've installed openinviter and its fine gathering contacts from all off the networking sites and email sites, it also has no problem queueing mails to be sent. when the system attempts to send invitations i get this error: Fatal error: Class 'openinviter_base' not found in /customers/blueeuphoria.co.uk/blueeuphoria.co.uk/httpd.www/sm/mod/omni_inviter/methods/openinviter/vendor/OpenInviter/plugins/bebo.plg.php on line 25
The same error also appears at the top of every elgg page for 10 - 15 minutes and on the omni inviter widget
Can anyone help?
@marc try to add or update the beebo.plg from the openinviter.
Iv replaced the beebo.plg and still get the same error I also get this error for the facebook.plg
Fatal error: Class 'openinviter_base' not found in /customers/blueeuphoria.co.uk/blueeuphoria.co.uk/httpd.www/sm/mod/omni_inviter/methods/openinviter/vendor/OpenInviter/plugins/facebook.plg.php on line 25
Fatal error: Class 'facebook' not found in /customers/blueeuphoria.co.uk/blueeuphoria.co.uk/httpd.www/sm/mod/omni_inviter/methods/openinviter/openinviter_class.php on line 67
I have the latest version of openinviter too, any other ideas? thanks for the quick response :)
also add the facebook then, you can see from the error
The error:
Fatal error: Class 'facebook' not found in /customers/blueeuphoria.co.uk/blueeuphoria.co.uk/httpd.www/sm/mod/omni_inviter/methods/openinviter/openinviter_class.php on line 67
was fixed by disabeling the friend invite plugin that was included in elgg.
I have updated both facebook.plg and beebo.plg and still get the errors
Fatal error: Class 'openinviter_base' not found in /customers/blueeuphoria.co.uk/blueeuphoria.co.uk/httpd.www/sm/mod/omni_inviter/methods/openinviter/vendor/OpenInviter/plugins/facebook.plg.php on line 25
invites fail to send
code around line 25 for facebook plugin is:
class facebook extends openinviter_base
{
private $login_ok=false;
public $showContacts=true;
public $internalError=false;
protected $timeout=30;
protected $userId;
can you see anything wrong with it? unfortunatley im not 100% confident with php script
Does anyone know how to fix this please? I have a que of invites to send, from the Admin menu I went to the "list Invitations" and pressed "send" but got the following error:
Fatal error: Call to undefined method ElggObject::send() in /home/bluegym/public_html/mod/omni_inviter/actions/send.php on line 32
Line 32 etc is as follows:
if ($invite->send()) {
system_message(elgg_echo('oi:invite:send_success'));
} else {
register_error(elgg_echo('oi:errors:send_fail'));
}
Does anyone know how to fix this please?
look at line 15
if (!$invite = get_entity(get_input('guid', false))) {
line 32 is trying
if ($invite->send()) {
"undefined method" means that the entity class does not have the function defined for it... most probably code problem.. that function defined for class "invitation" which extends the elggobject class ;-( brett did in the past.. ask for some else to take over development - means there may be bugs..
Hi D, OK, if it doesn't work I'll have to bin it as there is no way I could fix it... much to complex and technical for me. Shame, 'cos it is a neat plugin.
can this work with 1.7.4 version?