PDA

View Full Version : Invitation for Registration


Lizard King
05-15-2005, 05:37 PM
Currently I disabled registration in my boards but my members are asking if there can a mod for inviting new members. Also I am thinking this I want my members to be able to invite members my sending e-mail to them. Is there a way to make an invitation mod. I still want to keep registration disabled but if someone is invited by a member then he will be able to register.

Skyline_GT
05-16-2005, 07:00 AM
yea. I want this add on too.

artonex
05-16-2005, 10:08 AM
yeah would be a kool hack, i would love something like this :D

Dark s.s. Trunk
05-16-2005, 11:50 AM
i'll get started on it right away

Essamz
05-17-2005, 12:10 AM
this idea remainds me by gmail's Invitations :D

Dark s.s. Trunk
05-18-2005, 01:02 PM
lol
you should see the installer! I am making JAVA version installers....NO MANUAL CODING AT ALL

JUST upload and click....lol

nexialys
05-18-2005, 01:22 PM
same as any Invite System, simple to have. you need a url that activate the permission to register... like register.php?invite=yes?referrerid=XX

so when people visit the register.php, instead of simply hitting the vboptions to activate registration, they activate it by this simple url.

SOOO SIMPLE!

EDIT: here is the code:

in register.php FIND:if (empty($_REQUEST['do']) AND empty($_REQUEST['a']))just BEFORE, add:if($_REQUEST['invite'] == 'yes') $vboptions['allowregistration'] = 1;
now, you simply have to create an invite url like this:register.php?invite=yes?referrerid=$bbuserinf o[userid]

that's all...

you can also join with this hack: Refer Friend from Erwin: https://vborg.vbsupport.ru/showthread.php?t=59708 and simply change the URL in the message to the one i just gave here!

Lizard King
05-23-2005, 10:38 AM
Thanks nexialys

spooler
05-24-2005, 04:50 AM
Just my opinion here..

A url like this register.php?invite=yes?referrerid=$bbuserinfo[userid]

can easily be made by any 1...
register.php?invite=yes?referrerid=1

The above url will work and will most prob be invited by admin himself:D (or who so ever has id =1)

So basically any random no. between 1 and total members of board will work.

Just my opinion :p:

So basically u need to have another table named invitee with fields ( random number(unique), timestamp)

When u generate invite url, add new row in the table and your invite url will be register.php?invite=random number

In register.php make a query to see if tht random number exists. If it does allow else kick him away:D

Do remeber to clear the row once used.
Also add to cron to clear rows in invite table with timestamp older than 1 day or whtever

Adrian Schneider
05-24-2005, 04:57 AM
Couldn't this be bypassed/abused pretty easily? They can just enter 1 or look at your site and pick a user out. If you are serious about it you should prevent them from seeing your board.

spooler
05-24-2005, 05:16 AM
Couldn't this be bypassed/abused pretty easily? They can just enter 1 or look at your site and pick a user out. If you are serious about it you should prevent them from seeing your board.

Even if you prevent them from seeing your board, a userid between 1-20 is bound to exist(99.99% :D)

Lizard King
05-29-2005, 12:48 PM
Just my opinion here..

A url like this

can easily be made by any 1...


The above url will work and will most prob be invited by admin himself:D (or who so ever has id =1)

So basically any random no. between 1 and total members of board will work.

Just my opinion :p:

So basically u need to have another table named invitee with fields ( random number(unique), timestamp)

When u generate invite url, add new row in the table and your invite url will be register.php?invite=random number

In register.php make a query to see if tht random number exists. If it does allow else kick him away:D

Do remeber to clear the row once used.
Also add to cron to clear rows in invite table with timestamp older than 1 day or whtever
How can this be done :) Can you write a tutorial or some examples so i can work it out.

T3MEDIA
05-29-2005, 01:48 PM
I was using this hack here (https://vborg.vbsupport.ru/showthread.php?p=650730&highlight=template#post650730)... and wanted to use a HTML template. I was asking Erwin but I never got a response so I dropped the idea.

Maybe nexialys or TheSpecialist could help out on that. Its done. I have even uploaded a template. This would boost users going to your forum in seconds.
Who ever wants the HTML for the example I posted is welcome to take the HTML code.

Lizard King
05-30-2005, 01:38 PM
This url is not working. register.php?invite=yes?referrerid=1 when i invite someone with this link then it still gives me administration disabled registration.

EricaJoy
05-30-2005, 10:12 PM
I too would be very interested in a hack for this. Any updates from anybody?

techhouse
05-31-2005, 05:56 AM
I want too!

artonex
06-20-2005, 07:21 PM
any updates?

techhouse
07-12-2005, 08:59 AM
help please with this hack...

akanevsky
07-12-2005, 11:29 AM
There is a "Refer your Friends" hack (I am not sure of its exact name). I think it would be a wise idea to make a mod to that hack instead of making a new one.

techhouse
07-12-2005, 12:26 PM
The ideal variant would be this https://vborg.vbsupport.ru/showpost.php?p=657520&postcount=9

techhouse
07-26-2005, 09:55 AM
Nobody is interesting this hack?

techhouse
09-28-2005, 08:58 AM
bump

amcd
11-21-2005, 04:32 AM
The ideal variant would be this https://vborg.vbsupport.ru/showpost.php?p=657520&postcount=9
I'm very much interested in that, but I'm not into php and html or sql... :(
so can someone well versed with those can implement spoolers suggestions pls..
and also is it possible to give this invite facility to only few usergroups?!

GreysAnatomy
04-21-2006, 11:58 AM
This url is not working. register.php?invite=yes?referrerid=1 when i invite someone with this link then it still gives me administration disabled registration.


Same here. Is there any way I can fix this? I've searched the whole board as well as any other vBulletin help site I know of and everyone kept linking me back to this thread. :confused:

T3MEDIA
04-25-2006, 01:38 PM
I think the idea is dead. Hi5 lets you upload your phone book.
check it out (http://hi5.com/friend/displayWhosIn.do).

Not sure if you have to be a member to see it.

Not sure if anyone wants to take that one on.