The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Send Guests to an External URL or Static Page
We're working on a heavily customized site for a client. This is a closed, "invitation-only" site.
So all guests need to go to a static HTML page with information and a login form. The external page works fine, and the login works fine. Right now, I'm able to force guests to log in with a custom plugin hooked on global_state_check Code:
if ($vbulletin->userinfo['usergroupid'] == 1) { if ((THIS_SCRIPT == 'login') or ($_POST['do'] == 'login')) { } else { $templater = vB_Template::create('custom_login'); print_output( $templater->render()); } } Running vBulletin 4.1 (Still porting our customized navigation to 4.2.) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|