Programminghow to make it so you need an invite code to register?Posted:

Status: Offline
Joined: Sep 05, 20126 Year Member
Posts: 1,440
Reputation Power: 161
so im adding a forum to my wesbite and i need to know how to add a custom invite code for you to be able to resgister. im using myBB btw if that helps.
if anyone could IM me and help me that would help. i can also squeeze a reward to someone that helps me
#2. Posted:
-Deano
  • Rated Awesome
Status: Offline
Joined: Aug 19, 20108 Year Member
Posts: 4,971
Reputation Power: 430
If you have access to your server, you could set up an invites table in your database.
Create a php script where you generate a unique invite ID and supply that as a parameter to a signup script (You could use hidden input fields to store it).
If the invite ID doesn't match an already generated one in the database then it's clearly someone who wasn't invited so you can ignore their signup request.

If you don't want to make it yourself, you could try a plugin like [ Register or Signin to view external links. ]
#3. Posted:
Gavin-
  • Ninja
Status: Offline
Joined: Nov 02, 20134 Year Member
Posts: 4,307
Reputation Power: 827
-Deano wroteIf you have access to your server, you could set up an invites table in your database.
Create a php script where you generate a unique invite ID and supply that as a parameter to a signup script (You could use hidden input fields to store it).
If the invite ID doesn't match an already generated one in the database then it's clearly someone who wasn't invited so you can ignore their signup request.

If you don't want to make it yourself, you could try a plugin like [ Register or Signin to view external links. ]


Thats exactly what I was thinking would be the right way to go.
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS