vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Disable Notices on CMS (https://vborg.vbsupport.ru/showthread.php?t=231994)

kall 01-02-2010 10:00 PM

Disable Notices on CMS
 
1 Attachment(s)
As requested here:

In navbar, find:
PHP Code:

<vb:if condition="$show['notices']"

Replace with:
PHP Code:

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

Done.

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

Merjawy 01-03-2010 02:55 AM

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

Dr.osamA 01-03-2010 03:40 AM

installed

thanxx
________
Homemade vaporizers

capy 01-03-2010 07:55 PM

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

kall 01-04-2010 08:19 PM

Quote:

Originally Posted by capy (Post 1946308)
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. :)

gurler 01-05-2010 01:27 PM

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

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

capy 01-05-2010 03:13 PM

kall, thank you. it works now:)

merk_aus 01-09-2010 05:17 AM

i love you kall will you have my babies? haha

kall 01-09-2010 06:30 AM

Quote:

Originally Posted by merk_aus (Post 1950919)
i love you kall will you have my babies? haha

What, being your own personal Code Fairy isn't enough?

:p

Shanj 01-09-2010 03:18 PM

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


All times are GMT. The time now is 06:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01185 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete