vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   When forum is turned off, display nothing but a log in form (or blank page) (https://vborg.vbsupport.ru/showthread.php?t=263691)

n.stanley 05-15-2011 09:10 PM

When forum is turned off, display nothing but a log in form (or blank page)
 
Defaulty, when you turn your forum off, you have the ability to display a "reason for turning off", which is displayed for anyone visiting the site, and the ability to navigate around the website is disabled.

Is there any way for me to further limit what is displayed when the forum is turned off, so that there is only a log in form, and nothing else? For example, just a log in form in the middle of the page with literally nothing else would be ideal.

Boofo 05-15-2011 09:31 PM

I have mine set up where it doesn't show the login or announcements when the board is turned off. I have a link in my browser to my admincp if I need it. The login won't do any good for anyone other than admins anyway.

n.stanley 05-15-2011 09:34 PM

Quote:

Originally Posted by Boofo (Post 2196123)
I have mine set up where it doesn't show the login or announcements when the board is turned off. I have a link in my browser to my admincp if I need it. The login won't do any good for anyone other than admins anyway.

Fair enough, how do you do this? A completely blank page would work, too.

Boofo 05-15-2011 09:39 PM

I would have to look at my code and see exactly how I did it. I did it a while back and added it to my tools product, which also has about 16 other mods in it for my site.

n.stanley 05-15-2011 09:54 PM

If you could, that'd be great :D

This is really high priority for me.

n.stanley 05-17-2011 07:45 AM

Bump. Any ideas, anyone?

HMBeaty 05-17-2011 02:15 PM

Why not just use .htaccess?

n.stanley 05-19-2011 07:51 AM

Can you be more specific, please? I've used .htaccess a little in the past, but don't know what you mean in relation to my original question.

HMBeaty 05-19-2011 09:12 PM

Quote:

Originally Posted by n.stanley (Post 2197466)
Can you be more specific, please? I've used .htaccess a little in the past, but don't know what you mean in relation to my original question.

When you want to close your forums, just use an .htaccess file to password protect your forums, which in turn, will display only a login box


All times are GMT. The time now is 08:44 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.00942 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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