Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 04-20-2003, 01:46 PM
FUD FUD is offline
 
Join Date: Apr 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can vB be made to ping another site before ...

Our server admin has been called away for several months and with him gone, we are experiencing a great deal of down time -- an hour here, a couple of hours there, etc.

I'm wondering if it is possible to:
  1. Buy another vB license and install it on another server? ( ... should be no problem with doing that ...)
  2. ( ... here's the hard parts ...) Configure vB so that when someone tries to use it (to either view or post), it will first check the primary site (by ping'ing or some other method which might be easier to program) to see if the main site is up.

    A. If the main board is up, then vB will forward the user to the main board.

    B. If the main board is down, then vB will allow the user to carry out the action (post or view).
I don't want to have both boards up at the same time because we already tried something like that a couple of years ago and it lead to confusion and a weakening of the board since the membership was split across the two sites and we were in effect competting with ourselves.

However, members are calling for a place to hang out during down time. I would envision the back-up site to just be a skelton site with a staff room and a single forum for the members.

Is this possible? Has something like this been done? Any comments / suggestions on how to do something like this would be appreciated. Thanks in advance.
Reply With Quote
  #2  
Old 04-20-2003, 10:52 PM
gengar003's Avatar
gengar003 gengar003 is offline
 
Join Date: Apr 2002
Location: .::|The Matrix|::.
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm by no means experienced, but I think I might no how to help.

1. on the main site, make a seperate .html page, for purposes of this example, test.html with the following contents:

<script>

function openpopup(){
var popurl="http://yourmainsite.com/vb/"
winpops=window.open(popurl,"","width=800,height=60 0,toolbar,location,directories ,status,scrollbars,menubar,resizable,")
}

openpopup()

</script>

what that does is automatically goes to your main site 1 second after the page loads.

2. on your backup board, put this code, in the footer template:

<iframe name="iframe" src="http://yourmainsite.com/yourdir/test.html" frameborder="0" border="0" scrolling="no" width="0" height="0" MARGINWIDTH=0
MARGINHEIGHT=0 noresize></iframe>

what this does is places in invisible Iframe at the bottom of your backup board, and fills the iframe with a javascript code that will popup your main forums page. thus, if your backup forum is hosted on a DIFFERENT server than your main one, when the main one is down, the little Iframe will not load, and members will not see the main forums popped up, but if it IS up, then they'll be redirected.

also, change "http://yourmainsite.com/yourdir/test.html" to the location of the testing page, and change "http://yourmainsite.com/vb/" to your main forums directory.
Reply With Quote
  #3  
Old 04-21-2003, 01:33 AM
FUD FUD is offline
 
Join Date: Apr 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the input. Now that I know that this is possible, we'll have to have a fund raiser to raise the money for another license and hosting services. Thank you again.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03595 seconds
  • Memory Usage 2,172KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete