Xuups
Get an account!     Login

Utilities

Main menu

Who's Online

32 user(s) are online (1 user(s) are browsing News)

Members: 0
Guests: 32

more...

Get Xoops

Support Xuups Project

News > Modules > My Inviter > My Inviter 1.0 Beta

My Inviter 1.0 Beta

Published by trabis on 2009/4/24 (25407 reads)
What is myinviter Module (v1.0) ?
======================

With this Xoops module you can allow users to import addressbook/contacts from different email providers like Yahoo, Gmail, Hotmail, Live etc
and send email invitations.

The module can :
. Allow users/anonymous to invite their contacts to join your site
. Control how many emails are sent per package (avoiding your site to get blacklisted)
. Control time between package sending
. Check if given contacts are already registered or not
. Check if given contacts are already pending for invitation
. Allows the invited ones to add their emails to blacklist, respecting their privacy
. Other options such has sandbox, overiding reply-to, html/text plain emails, etc
. More than 70 plugins available


Requirements
====================

XOOPS 2.3.x only
Php5
Curl php extension


How to install myinviter
====================

Copy myinviter folder into the /modules directory of your website.

Give write permission to 'Cookies' folder.

There are several plugins available in 'plugins/unused' folder. Move the ones you want to 'plugins' folder.

Log in to your site as administrator, go to System Admin > Modules, look for the myinviter
icon in the list of uninstalled modules and click in the install icon.

Follow the directions in the screen.

Go to myinviter preferences and set them as you wish.

Place a myinviter block in your front page if possible.

Very important: Emails sending routine is activated when someone visits myinviter index page or when the block is rendered.
You must set your preferences accordingly to your site traffic.
Setting 100 emails per hour will not work as expected if you do not have at least one visitor per hour!!!


Tips
====================

You can set a cron Job to hit myinviter index.php page to assure the emails are sent.

You can also use "blocks anywhere" smarty plugin to render myinviter block without displaying it.
http://www.xuups.com/modules/publisher/item.php?itemid=10

If you have a limit of 600 emails per hour you can use this settings:
600 emails for 3600 seconds period (60 minutes)
100 emails per 600 seconds period (10 minutes)
10 emails per 60 seconds period (1 minute)

Don't make your users wait while emails are being sent,
the last option would be the best one if you have a high traffic website!

Files linked to this article
File name Published on Hits
Download this file XOOPS2_mod_myinviter_1.0_beta_trabis.zip
2009/4/24 987

Navigate through the articles
My Inviter 1.0 Next article
Rating 3.00/5
Rating: 3.0/5 (1 vote)
Votes are disable!
The comments are owned by the poster. We aren't responsible for their content.
Poster Thread
urban
Posted: 2009/4/26 14:02  Updated: 2009/4/26 14:02
Not too shy to talk
Joined: 2009/2/25
From:
Posts: 21
 Re: My Inviter 1.0 Beta
Trabis, for me this module don't work...

only blankpage (with sandbox and without sandbox)
Check here http://tinyurl.com/cuomh2

Tnx
trabis
Posted: 2009/4/26 15:28  Updated: 2009/4/26 15:28
Moderator
Joined: 2008/4/7
From: Portugal
Posts: 303
 Re: My Inviter 1.0 Beta
Plugins require php5, do you have php5?
urban
Posted: 2009/4/26 15:35  Updated: 2009/4/26 15:43
Not too shy to talk
Joined: 2009/2/25
From:
Posts: 21
 Re: My Inviter 1.0 Beta
yes
PHP version 5.2.9
Curl installed (i'm on Hostmonster.com)

Normal version of open inviter seems to be ok
http://tinyurl.com/ch8sfr

xoops 2.3.2

debug show
Fatal error: Call to undefined method XoopsUserHandler::getAll() in /home/noisecol/public_html/site/modules/myinviter/include/functions.php on line 261

if the password is wrong the module show error message, if the password is ok blank page with this message of debug.
trabis
Posted: 2009/4/26 16:10  Updated: 2009/4/26 16:10
Moderator
Joined: 2008/4/7
From: Portugal
Posts: 303
 Re: My Inviter 1.0 Beta
Do you have this lines in kernel/user.php?
class XoopsUserHandler extends XoopsPersistableObjectHandler
{
    function 
__construct(&$db
    {
        
parent::__construct($db"users"'XoopsUser'"uid""uname");
    }
}


It looks like your xoops 2.3.2 is missing something
trabis
Posted: 2009/4/26 16:13  Updated: 2009/4/26 16:13
Moderator
Joined: 2008/4/7
From: Portugal
Posts: 303
 Re: My Inviter 1.0 Beta
I found a bug when using on linux.

Please edit include/functions.php and replace this function:
function myinviter_writeFile($number 0$file 'myinviter_lasttime.txt')
{
    
$default 0;
    
$fileName dirname(dirname(__FILE__)) . '/cookies/' $file;
    @
unlink($fileName);
    
$fileHandler fopen($fileName'w');
    if (!
$fileHandler) return $default;
    
fwrite($fileHandler$number);
    
fclose($fileHandler);
    return 
$number;
}


If you don't do this then you have to give write permissions to
cookies/myinviter_lasttime.txt
cookies/myinviter_emailssent.txt
urban
Posted: 2009/4/26 17:12  Updated: 2009/4/26 17:18
Not too shy to talk
Joined: 2009/2/25
From:
Posts: 21
 Re: My Inviter 1.0 Beta
does not work, I tried changing permissions and editing the file. the error is always the same

[edit]

I not seen the other post.
this code is non presents..
pablo103
Posted: 2009/4/26 23:48  Updated: 2009/4/26 23:48
Not too shy to talk
Joined: 2009/1/10
From:
Posts: 21
 Re: My Inviter 1.0 Beta
Great module!
icedogg
Posted: 2009/10/24 0:41  Updated: 2009/10/24 0:41
Just popping in
Joined: 2009/8/8
From: Canada
Posts: 6
 Re: My Inviter 1.0 Beta
i keep getting an error

Unable to get contacts!
 

Ajax Search


Advanced Search

Recent articles

News
My Tabs
My Comments
My Search
Dummy
Publisher
Defacer
Membership
My Points
My Inviter
Others Modules
Tools
My Pics
My Menus
Smarty plugins