Helpful Information
 
 
Category: vBulletin 4.x Modifications
Mini Mods - Disable Notices on CMS

As requested here (http://www.vbulletin.com/forum/showthread.php?334904-Remove-notice-from-CMS):

In navbar, find:
<vb:if condition="$show['notices']">
Replace with:
<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'vbcms'">

Done.

Oh, probably good to save the navbar template. Then you're done.

I totaly agree with the request.. it shouldn't have notice on CMS, Blogs or when the board is closed either..

I've reported that as a bug since beta

Thanks for the hack

installed

thanxx
________
Homemade vaporizers (http://homemadevaporizers.info/)

is this something I can do from the admincp or do I have to edit an PHP file?

is this something I can do from the admincp or do I have to edit an PHP file?
It's a Template Modification, so the edit is done in the AdminCP - Styles And Templates - Style Manager. :)

thank you.
very useful. i reported as a bug this option at here:
http://www.vbulletin.com/forum/project.php?issueid=33028

please make a comment at the bug.
people can set a notice where to enable or disable (forum, cms, blog etc.)

kall, thank you. it works now:)

i love you kall will you have my babies? haha

i love you kall will you have my babies? haha
What, being your own personal Code Fairy isn't enough?

:p

Sorry to be a bit dim but which sections are Notices?

sorry to dredge this up again, but, <vb:if condition="$show['notices']"> is not in my 4.1.2 navbar template
has the 'find' code been changed? Or is it in a different template now?

I already have the following code in my navbar:

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">


What do I have to add/change to make this mod work?

Installed, works. Thanks!

http://www.teamotec.net for preview

What exactly does this disable?

For the newer version I think this is correct. Works for me on 4.1.4.

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'vbcms'">










privacy (GDPR)