vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Template Name in CSS Comments (https://vborg.vbsupport.ru/showthread.php?t=229002)

MoMan 11-27-2009 04:08 PM

Template Name in CSS Comments
 
I've disabled the 'show template names in html comments' ACP setting, yet still see this in my styles:

Code:

/*
 
 
 vBulletin 3.8.4 CSS
 
 Style: 'Modern Skin (Green)'; Style ID: 8
*/

Any idea what could be causing this? Thanks!

Lynne 11-27-2009 04:14 PM

Just do a search for "Style ID:" in your vbulletin files and you'll find where it is getting added and you can modify the text if you want.

kh99 11-27-2009 04:14 PM

It looks like that's added when you save a style from the comtrol panel, includes/adminfunctions_template.php line 809 or so.

(ETA: Lynne was trying to teach you and I went and blurted out the answer... :o).

MoMan 11-27-2009 04:42 PM

Quote:

Originally Posted by Lynne (Post 1921691)
Just do a search for "Style ID:" in your vbulletin files and you'll find where it is getting added and you can modify the text if you want.

Quote:

Originally Posted by kh99 (Post 1921692)
It looks like that's added when you save a style from the comtrol panel, includes/adminfunctions_template.php line 809 or so.

(ETA: Lynne was trying to teach you and I went and blurted out the answer... :o).

I'm not on my main PC so I can't run an easy 'search all' over all the files, but I'll have a look at the adminfunctions and see if I can't cut the code out. Thanks for the help!

--------------- Added [DATE]1259347793[/DATE] at [TIME]1259347793[/TIME] ---------------

Quote:

Originally Posted by MoMan (Post 1921700)
I'm not on my main PC so I can't run an easy 'search all' over all the files, but I'll have a look at the adminfunctions and see if I can't cut the code out. Thanks for the help!

Edit: Removed this code and rebuilt CSS, and the comments vanished perfectly!

PHP Code:

"/**\r\n* vBulletin " $vbulletin->options['templateversion'] . " CSS\r\n* Style: '$title'; Style ID: $styleid\r\n*/\r\n" 

Thanks again!

Lynne 11-27-2009 05:13 PM

Quote:

Originally Posted by kh99 (Post 1921692)
(ETA: Lynne was trying to teach you and I went and blurted out the answer... :o).

Yeah, that's my style. I try to teach so users can then do some of this stuff the next time on their own. It kinda gives you a sense of accomplishment to do something on your own without having someone tell you. Of course, we are here to help if you break something when doing it on your own. :D

kh99 11-27-2009 05:21 PM

Well I'm trying to learn myself so I've been doing it partly by finding answers for other people (stealing their learning opportunities) - sorry if I'm getting in the way of your style. I've just had some down time, probably I'll be moving on to other things soon. :)

Lynne 11-27-2009 05:27 PM

Quote:

Originally Posted by kh99 (Post 1921714)
Well I'm trying to learn myself so I've been doing it partly by finding answers for other people (stealing their learning opportunities) - sorry if I'm getting in the way of your style. I've just had some down time, probably I'll be moving on to other things soon. :)

Oh, no problem at all! I was just explaining why I do things the way I do.


All times are GMT. The time now is 05:04 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.01161 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete