The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
Is it possible to make it so that when you close your VB boards, it ONLY displays a login box?
I want to hide the menu, and other stuff and just display a login box. I have searched and searched and found nothing. Any ideas or where to get started? --------------- Added [DATE]1198642125[/DATE] at [TIME]1198642125[/TIME] --------------- Nevermind. I guess I just thought of something. Here is my train of thought for those of you that might want to do this, and land here by doing a search. Turn off guest access, and use this: https://vborg.vbsupport.ru/showthrea...ghlight=deluxe Then just add a global start hook that like this one: Code:
if (!$vbulletin->userinfo['userid'] AND THIS_SCRIPT != 'ClosedLogin') { header("Location: " . $vbulletin->options['bburl'] . "/login.php"); } Code:
define('THIS_SCRIPT', 'ClosedLogin'); Thank you. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|