MyBB Community Forums

Full Version: plugin to flip on and off header banner
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a header banner i put when i do maintenance

I put this in my header template


				<!--
				<div style="text-align: center;border: 1px solid #ccc;background: #ffde69;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;padding: 8px 12px;margin: 10px 0 0;">
	Server maintenance occurring. Expect possible downtime in short increments, possible data loss, or site modifications. If you want to make a copy of threads you posted to, you can archive them <a href="https://archive.org/web/" target="_blank" >here</a> at the bottom entitled <b>save page now</b>. Hopefully that is just being too cautious. More info <a href="https://python-forum.io/Thread-Maintenance-Banner">here</a>. Sorry for any inconvenience.
	</div><br>
				-->
 
and as you can see i have it commented out. When i want it to show i removed the <!-- and --> to make it active. 

Is there a way instead of doing this manually, to have a setting in ACP to turn soemthing like this on and off? Or is there a plugin already available?
Maybe you are searching for ACP -> Configuration -> Settings -> Board Online / Offline
I'd suggest to use a announcements plugin - may be this Announcement plugin
Quote:Maybe you are searching for ACP -> Configuration -> Settings -> Board Online / Offline
No i dont want to turn my board off, i just want a notification banner

Thanks .m. ill try that and see. 

EDIT:
Thanks the announcements was exactly was i was looking for.  The ability to make different announcements and ssave them, and be able to flick them on and off on the fly.