vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Disabling user registration and pointing people to a contact page (https://vborg.vbsupport.ru/showthread.php?t=245079)

ShyK 06-22-2010 08:21 PM

Disabling user registration and pointing people to a contact page
 
I know this may seem like an easy case but I'd like to verify what's the best way of doing this.
I manage a small forum that only has a few registrations from real, living human beings (as opposed to an insane amount of bots, no matter with what anti-bot measures), so manually registering them myself would not be a problem at all.

I suppose I should just "disable new registrations" completely in the vB options. If so, then is there a "streamlined" way of changing the "Sorry, registration has been disabled by the administrator." text on that page, or do I have to modify some php file in every update?

Thanks.

Edit: alright, I figured I had to enter a "translation" for that "phrase". If anyone has any suggestion (except attempting to deal with neverending spam), let me know.

JasonReynolds 06-23-2010 02:11 AM

I would say put up the built in maintenance page on VBulletin, and use a php/html code re-directing to the contact us form, See if that works

noppid 06-23-2010 04:22 AM

create a phrase named contact_us_to_register containing something like... "Registration is done via email. Please contact us to have an account set up." Put it in the Phrase Type register.

Now create a plugin on hook register_start.

Name the hook and title it "Redirect Register Page to Contact us.

For the php code, put....

eval(print_standard_redirect('contact_us_to_regist er '));

Then maybe edit template contactus and add info about asking to be registered.

Something like that.


All times are GMT. The time now is 06:38 AM.

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.00959 seconds
  • Memory Usage 1,706KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete