1
vinit
Invites / Invitation Module
  • 2004/6/17 18:44

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


hi,

Can we have a module that take email address and send an invitation to the given address to join website.

Here the invited email address is given and the invitee is the loged in user.

And on the basis of nubmer of users added on invites, increase the karma (value/rating) of the invitor.

Its more like refferal program.

2
vinit
Re: Invites / Invitation Module
  • 2004/6/20 4:17

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


This doesnt look to be too complex, i think there must be some module having similar functionality. If anyone knows of any such module please provide a link to it.

Thanks

3
intrinsical
Re: Invites / Invitation Module
  • 2005/4/25 11:58

  • intrinsical

  • Just popping in

  • Posts: 6

  • Since: 2005/1/14


Hi, I'ld just like to mention thst I will be working on adding this functionality to my XOOPS based website soon. My current thoughts is to add a new "Invite friends" item in the user menu.

I am also considering adding a database table to track invitations, so registered users can be notified when their friends have registered and so on.

Tell me what you think. Any other features you'ld like to see added?

4
limecity
Re: Invites / Invitation Module
  • 2005/4/25 12:07

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


ah this sounds like a good idea. invites.
maybe a page of top invites? ranking.

5
intrinsical
Re: Invites / Invitation Module
  • 2005/4/25 20:11

  • intrinsical

  • Just popping in

  • Posts: 6

  • Since: 2005/1/14


Alright, I need a little programming help here. Suppose I have a textarea for users to enter a list of email addresses. How do I use regular expressions to extract an array of emails? Currently, I am using the pattern "[\w-\.]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]{2,3}" to match email addresses. For example, if the user entered the following list of emails

John Doe
Jane Doe
bart@simpsons.com, marge@simpsons.com, homer@simpsons.com

How do I turn this text into an array that looks like:

Array
(
[0] => Array
(
[name] => John Doe
[email] => johndoe@somewhere.com
)
[1] => Array
(
[name] => Jane Doe
[email] => jane@cox.net
)
[2] => Array
(
[name] =>
[email] => bart@simpsons.com
)
[2] => Array
(
[name] =>
[email] => marge@simpsons.com
)
[2] => Array
(
[name] =>
[email] => homer@simpsons.com
)
)

Login

Who's Online

315 user(s) are online (258 user(s) are browsing Support Forums)


Members: 0


Guests: 315


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