Board Closed - enhancement
Ok we all have to do various things to keep our boards on the move and updated, which obviously at times means "board closure" to allow us to do the required work within the sites admin. The little mod below simply gives those who visit the site when the board is closed something other than a very bland message that annoys guests / new registers and members alike.
Firstly: Download the attatched zip folder named: board closed Extract the two files: player.swf and swfobject.js Next: Upload both files to your server into the same place ie http://www.mysite.com/forum/player.swf and http://www.mysite.com/forum/swfobject.js Next: In your admin cp find vBulletin Options then from the drop down clcik Turn Your Vbulletin On and Off Next: In the Reason For Turning Forum Off phrase box add the code below changing the paths etc (make sure there correct): Code:
<center><font size -="5"><font color ="red"> <b>The number one site is currently having essential maintenance carried out at the moment and will be back shortly. Please feel free to enjoy the video below. We thank you for your patience.................Number One Site Team.</font> <br /><br /> <center> <script type="text/javascript" src="http://www.yoursite.com/forum/swfobject.js"></script> <div id="player">This text will be replaced</div> <script type="text/javascript">var so = new SWFObject('http://www.mysite.com/forum/player.swf','mpl','640','480','9');so.addParam('allowscriptaccess','always');so.addParam('allowfullscreen','true');so.addParam('flashvars','&file=yourvideofilename.flv&logo=http://www.yoursite.com/forum/yourlogo.gif');so.write('player');</script> </center><br /> You can edit the wording to your board Make sure the file name in blue is the name of your file The floating top right logo is optional but if you make one as i have then add the orange code path to your image The 640 and 480 in bold are just sizes which can be changed for your board but looks nice at that size. Then try it ! (with the board off) I have included a demo ........ this is not with my board closed for obvious reasons but is an exact of how it looks when closed via the php file............. http://www.tabletennistalk.co.uk/forum/board_closed.php so you can here and hear it with the video in place. Download
board closed.zip (46.6 KB, 54 downloads) Screenshots |