The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
pay to register
how hard would a hack be to make that made ppl pay before they could register, or pay during registration?
|
#2
|
||||
|
||||
It would be kind of redundant when all you have to do is have them register into a group with little or no permissions and send them immediately to the subscription screen upon registration. Once the subscription is paid, it could promote them to a user group with rights.
|
#3
|
|||
|
|||
how do you send them directly to the subscription page?
|
#4
|
|||
|
|||
I'd be interested in knowing this too - as right now the subscription page is buried right in the User CP. Any guides for how to do this? Thanks!
|
#5
|
||||
|
||||
It's a code mod, and it depends on how you handle registrations - if you validate emails and such. Different ways of registration are handled differently.
After registration, the forum currently saves the last page the user was viewing before registration, and sends them there. You change that to make it send the user to payments.php instead. |
#6
|
||||
|
||||
One other option that would be a template mod, not a code mod. In the header include template, check the usergroup of the viewer. If they are a member, but not in your paid group, redirect them to payments.php. Don't let them go anywhere else.
|
#7
|
|||
|
|||
Thanks amykhar - that sounds good. Just one question, where in the code do I perform the redirect? Thanks!
|
#8
|
||||
|
||||
I would like to know also...
|
#9
|
|||
|
|||
I have made a small addon that will do a redirect to the payment page as soon as they click Register:
vB 3.6.X version: https://vborg.vbsupport.ru/showthread.php?t=120194 vB 3.5.X version: https://vborg.vbsupport.ru/showthread.php?t=120198 |
#10
|
|||
|
|||
I use email confirmation and when I imported Mythotical's product I get a 404 error for register.php
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|