The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#10
|
|||
|
|||
![]()
Does your local server run a web server of any description and if not is it possible to install one?
If yes, then there is a much easier solution.... Create a "server is online" image and put it on your local webserver, for example: http://mylocalwebserver.dyndns.com/online.gif Then create a "server is offline" image and put it on your internet/forum server, for example: http://www.myinternetforum.com/offline.gif Once you have the two images, you would then use javascript to attempt to load the "online.gif" image from your local server and if not possible it displays the "offline.gif" from the internet server. Job done EDIT: I did this for a project a few years ago, I will see if I can dig out the JS for it. No promises though EDIT: Found it: Code:
<html> <head> </head> <body> <img name="serverStatusImage" src="checking.gif" alt="Checking Server Status..."> <script type="text/javascript"> <!-- function SetOnlineStatus() { document["serverStatusImage"].src = onlineImageSrc; document["serverStatusImage"].alt = 'Server Online'; } function SetOfflineStatus() { document["serverStatusImage"].src = offlineImageSrc; document["serverStatusImage"].alt = 'Server Offline'; } var onlineImageSrc = 'http://www.google.co.uk/images/nav_logo3.png' var offlineImageSrc = 'http://www.myinternetsite.com/offline.gif' var onlineImage = new Image(); onlineImage.onload = SetOnlineStatus; onlineImage.onerror = SetOfflineStatus; onlineImage.src = onlineImageSrc; //--> </script> </body> </html> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|