Back to vBulletin 4.x Template Modifications

Turn Your vBulletin On and Off Msg
Mod Version: 1.00, by Hostboard

vB Version: 4.2.5 Rating: (0 vote - 0 average) Installs: 3
Released: 09 Sep 2021 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

Figured I would share this as there are times you need to close the site to end users while you preform some sort of maintenance. Turning vBulletin on and off is easy and I always liked to add a note to the users giving some sort of reason... This example will also date stamp the message automatically without the need of manual intervention.

Code:
<p><strong>Site Maintenance:</strong></p>
<p id="datedemo"></p>
<script>
   var d = new Date();
   const options = { year: 'numeric', month: 'long', day: 'numeric' };
   document.getElementById("datedemo").innerHTML = d.toLocaleDateString('en-US', options);
</script></p>
<p>Sorry, (Name of Your Site) is currently off line while we address some issues, test some additional functionality and or preform some upgrades.  We will be back online shortly.</p>
<p>Thank you for your understanding,</p>
<p style="color:red"><strong>The (Name of Site) Administration</strong></p>

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024