vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Twitter Over Capacity Error Message (https://vborg.vbsupport.ru/showthread.php?t=210255)

testbot 04-03-2009 10:52 PM

Twitter Over Capacity Error Message
 
I was thinking it would be nice to make something like twitter has ((Twitter Over Capacity Error Message") for my site/forum.

We do marketing campaigns and you never know if the news, digg, or something is going to feature you. It would be nice to be prepared for such an advent because it would be much nicer to see a message like that instead of a page can't be displayed error.

Anyone know the architecture behind this and how it can be achieved?

Thanks in advance!

AHealthForum 04-04-2009 03:46 AM

You can set the server load limit from the AdminCP that will tell them that the capacity is reached already

Dismounted 04-04-2009 05:34 AM

Note that server loads are measured for the whole server. So if you are on a shared account, it will measure the whole server, not just your own usage.

testbot 04-05-2009 12:56 AM

it's running on a two dedicated servers so i don't have to worry about the shared thing. :)

unrelated to vbulletin but is it easy to set that up for a regular site that isn't a forum. it's cool if you don't answer since it's not vbulletin related.

i guess it's a php script that detects server load and displays a message instead of running a query?

KevinL 04-05-2009 01:04 AM

I actually think I remember seeing something along these lines in the 3.8 mod forum. Of course it would have to customized a little. But if remember it threw up an error page?

Hunt through there you might get lucky :)


All times are GMT. The time now is 06:33 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.00986 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
  • (5)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