The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Multiple registration pages for different usergroups?
Does anyone know how to setup or knows of a hack that will allow me to have mutable registration pages that I can assign to links directed back to my site?
I have a few dedicated links posted on different types of websites. I want to see if there is a way to have a different registration page made for each site and will assign a different usergroup based on each link.. Basically multiple default usergroups assigned to multiple registration links "register.php defaults to membergroup and register2.php defaults to membergroup2.php The problem I have is many different types of people come to my site. For the people that like something like heavy metal and are coming from a link posted on a heavy metal website, it will direct them to lets say "register3.php" that has "membergroup3" already assigned as the default.. So lets say Mary poppins from site another linked site registers, she gets a nice friendly theme and doesnt get a SLAYER theme. I was looking around and didn't find any solutions yet. Any help would be greatly appreciated. I will also be willing to pay. So PM me please if you are selling such a service. |
#2
|
||||
|
||||
Well, I dunno if I'd wanna do it for pay, but I'd be willing to help YOU do it. :P
And yes, it's very possible to do. First, you've have to make sure you can allow outside sites access to your database (the sites that you want to place the registration page on in particular). Next, you'd put a hidden form element in the registration form on each page with the usergroup ID that you want someoen to belong to. Finally, you'd make a plugin that would assign said usergroup to an individual upon registration. :3 Pretty simple, and I'll help walk you through the steps if you're patient. |
#3
|
|||
|
|||
Quote:
But just to ask. Could someone run multi copies of register.php that was renamed and a edit to VB's index.php or which ever files takes over at that point? I know nothing about programing, but it just kinda seems to fit. Dunno. Any help will would be great. I will owe you one. :up: |
#4
|
||||
|
||||
Quote:
Quote:
Okay, step 1 is taking a look at and understanding the registration page somewhat. I know you're not a coder, but don't worry, it's not hard. In "register.php", there is a block of code that begins like this: PHP Code:
Question before we delve any deeper into this... Is there any way possible that you can put up a stripped-down installation of vBulletin on these sites? See, what we "need*" is vBulletin to be completely set up, but then the values in the "config.php" should be pointing to your server. Specifically, this one: PHP Code:
*NOTE: We do not NEED vBulletin to be set up, but it will make things 100 times easier, because all of the functions and includes are right there. :3 Otherwise, we basically have to re-write some functions, and that'll be a big pain in the ass. If we can set up vB on that server, then we'll just have to delete the admincp and modcp directories, maybe delete a few of the others, delete all files in the main directory EXCEPT for register.php, and we'll be golden. Then we just have to edit the template for the registration form to include that hidden field I was talking about. (Which I guess we should leave the AdminCP up until AFTER we do that, geh heh heh heh, to make it easier to modify the template.) (And sorry for the scattered post, I juuust woke up. XD) |
#5
|
|||
|
|||
I know this is an old thread, but I think I am looking for the same process to do this too...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|