vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   pay to register (https://vborg.vbsupport.ru/showthread.php?t=111047)

dethfire 03-22-2006 12:42 AM

pay to register
 
how hard would a hack be to make that made ppl pay before they could register, or pay during registration?

amykhar 03-22-2006 01:28 AM

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.

dethfire 03-22-2006 01:30 AM

how do you send them directly to the subscription page?

gravesend46 04-24-2006 03:04 PM

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!

amykhar 04-24-2006 03:23 PM

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.

amykhar 04-24-2006 03:24 PM

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.

gravesend46 04-24-2006 03:29 PM

Thanks amykhar - that sounds good. Just one question, where in the code do I perform the redirect? Thanks!

bada_bing 04-24-2006 05:44 PM

I would like to know also...

Mythotical 07-03-2006 02:35 AM

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

Stoneyreef 07-07-2006 05:36 PM

I use email confirmation and when I imported Mythotical's product I get a 404 error for register.php


All times are GMT. The time now is 04:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01053 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete