1
trabis
My Inviter 1.0 beta is released for testing
  • 2009/4/24 22:00

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


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!

Download it here:
http://www.xuups.com/modules/publisher/item.php?itemid=11

2
demian
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/24 23:26

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


trabis did his magic again..

thanks trabis..will try this on my live server

3
trabis
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/25 0:49

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Thanks for your nice comment demian, I went to your profile and found something you were looking for, here it is a little gift for you:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=68345&post_id=310835#forumpost310835

4
deka87
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/25 6:30

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


good news trabis. i've already implemented a block. waiting for results
Mind anchors

5
deka87
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/25 6:33

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


is there any way to include some other providers like http://www.vkontakte.ru (the europe largest community website btw) and yandex.ru?

and one more thin. hwo do i restrict sending invitations for registered users only? nothing like this in prefs. and if I want to allow anonymous users to send invitations it looks kind of weird that administrator invites them (the 1st user id in the prefs). maybe make some kind of "From: name" line to make the template look liek "John sent you ...". Think it sounds sensible.
Mind anchors

6
blackrx
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/25 11:41

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


nice but i'm afraid to put this on my site..

how to convince my user this is secure and i'm not trying to get their email username and p/w

7
trabis
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/25 14:40

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Deka, you can block module access to anonymous.

Second, my idea was that admin could create a user "John" and give them an avatar. At first, I was doing two different templates, one for anonymous, other for registered user. But then I realized it would be more simple, and IMO, better, to create a default user. You don't need to use the admin and that was not my idea.

Plugins for other email providers have to be made.
Yandex seems to be in plugins/unused folder, just move it to plugins.

8
deka87
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/25 14:51

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


i just thought about it from the point of view of the one who gets an invitation. like lets assume i get an invitation. it says "some dude you don't know" whose profile is right here invites you there. looks like kind of spam or something. i used to get soemthing like this from yahoo the other day from some jamalu lee and heck if i know who was that guy. another thing if you get an email that says "your bro John" wants to see ya there and you are like hell yeah let's check this out. IMHO of course. anyways i do realize that i can restrict it to the registered users only to get what i am talking about. nice work anyways trab, thanks!
Mind anchors

9
trabis
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/25 14:52

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

blackrx wrote:
how to convince my user this is secure and i'm not trying to get their email username and p/w


Big problem, you don't. But you can make a block with something like "trust us please" and try.

Really, just by enabling logging you could take this users emails and passwords and commit crimes. As a webmaster, you have several ways to steal user informations, infect their pcs, etc, don't you. Your users have to trust you just by using the site.

Honestly, someone show me a demo of this script on a live site and I did not enter my info. It is to much risk.

I would use this script in my own site but, I would not use this script on your site.

10
trabis
Re: My Inviter 1.0 beta is released for testing
  • 2009/4/25 14:57

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Deka, Please read the readme.txt

I believe is better to use this module just for registered users.
In this case you need the block to be rendered but not displayed to anonymous.
That is why I talk about the "blocks anywhere" smarty plugin.
Have a look pls.

Login

Who's Online

350 user(s) are online (271 user(s) are browsing Support Forums)


Members: 0


Guests: 350


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits