Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2009, 04:08 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 11-27-2009, 04:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 11-27-2009, 04:14 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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... ).
Reply With Quote
  #4  
Old 11-27-2009, 04:42 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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 View Post
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... ).
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 View Post
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!
Reply With Quote
  #5  
Old 11-27-2009, 05:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
(ETA: Lynne was trying to teach you and I went and blurted out the answer... ).
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.
Reply With Quote
  #6  
Old 11-27-2009, 05:21 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 11-27-2009, 05:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:00 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.07130 seconds
  • Memory Usage 2,229KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete