Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Remove all (Template-)Comments from any HTML-Output Details »
Remove all (Template-)Comments from any HTML-Output
Mod Version: 1.00, by MrZeropage (Coder) MrZeropage is offline
Developer Last Online: Dec 2016 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (5 votes - 5.00 average) Installs: 64
Released: 23 Jul 2006 Last Update: Never Downloads: 173
Not Supported Uses Plugins  

This small PlugIn will give you the option to remove all comments you put in your templates before the HTML-code gets spit out to the client's browser.

You can activate or deactivate this feature via AdminCP (vBulletin Settings -> General Settings) and even allow usergroups to view those comments anyway (like for Developer, Styler, Admins ect.)

In addition you are able to activate the removal of blank Lines in the HTML-output, this makes the code more clean after removing the comments



Just import the product and adjust the settings the way you need it

Don't forget to click INSTALL if you use this



Bugs:
none found yet

Planned feature:
1) remove //-Comments from JavaScript

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	commenthack.JPG
Views:	484
Size:	37.1 KB
ID:	50977  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Remove all (Template-)Comments from any HTML-Output MrZeropage vBulletin 3.5 Add-ons 16 02 Oct 2006 12:56
Coppermine VbCode and HTML output DjTaz vBulletin 3.0 Full Releases 9 19 Feb 2006 01:20

Comments
  #2  
Old 23 Jul 2006, 13:44
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
I'll definitenly install this when I get back to home. Thanks!
Reply With Quote
  #3  
Old 23 Jul 2006, 16:22
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Real name: Tyler
Oh, neat..

This is something I actually thought about yesterday. Thanks.
Reply With Quote
  #4  
Old 23 Jul 2006, 23:27
MGM MGM is offline
 
Join Date: Jan 2003
Real name: Bara
While I understand that having a lower page size makes things load faster, what is the effect of using the coding to remove the comments? Like, does it add more server load? Do the disadvantages outweigh the advantages?

MGM out
Reply With Quote
  #5  
Old 24 Jul 2006, 07:11
tako tako is offline
 
Join Date: Sep 2002
How does it effect to the board's loading and parsing performance? Positive or negative? Oops, same question as MGM's...
Reply With Quote
  #6  
Old 24 Jul 2006, 07:15
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Real name: Marcel
This way you can add more internal information to the code, by now there are often more information in the sourcecode than you think of.

Example:
most modification add their code in templates like
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This means although the user can't use/see this function, he has some information about installed addons in his sourcecode.
__________________
Get the most installed modification for your vBulletin (more than 8400 installations and 144.000 downloads!):
ibProArcade 2.7.3+ download here | Click here to enter the ibProArcade-Support-Section
Reply With Quote
  #7  
Old 24 Jul 2006, 07:39
MGM MGM is offline
 
Join Date: Jan 2003
Real name: Bara
But again, is the advantages of removing the comments better than the disadvantage of having the code check every template and remove every comment line for line?

MGM out
Reply With Quote
  #8  
Old 24 Jul 2006, 07:53
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Real name: Marcel
But again, is the advantages of removing the comments better than the disadvantage of having the code check every template and remove every comment line for line?
It does not check the code line-per-line it is just some simple replacements in the final output, only one command per comment-type
__________________
Get the most installed modification for your vBulletin (more than 8400 installations and 144.000 downloads!):
ibProArcade 2.7.3+ download here | Click here to enter the ibProArcade-Support-Section
Reply With Quote
  #9  
Old 26 Jul 2006, 01:33
utw-Mephisto utw-Mephisto is offline
 
Join Date: Feb 2005
Works perfect - thanks

Some people did not understand in your 3.5x release what it does ..

Here a screenshot (including spelling mistakes ) :
Attached Images
File Type: jpg untitled.JPG (111.8 KB, 283 views)

Last edited by utw-Mephisto; 26 Jul 2006 at 01:42.
Reply With Quote
  #10  
Old 29 Jul 2006, 22:01
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Real name: Mudvayne
Installed n working fine for RC3 ..
Reply With Quote
  #11  
Old 29 Jul 2006, 22:25
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
So how does this affect script code that is enclosed inside <!-- --> ?
__________________

Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #12  
Old 29 Aug 2006, 06:53
nevetS nevetS is offline
 
Join Date: Jun 2005
I just installed. I noticed this script in my page:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It was properly untouched. I haven't tested it extensively, but it seems to do the trick. I don't know the real SEO affect of something like this, but I do like the idea of removing a lot of template-related comments from the code.
Reply With Quote
  #13  
Old 29 Aug 2006, 07:04
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Real name: Marcel
This was done to remove comments from the templates (so I can put some more information for myself in it without any user getting those information) and not for any SEO-related thing
__________________
Get the most installed modification for your vBulletin (more than 8400 installations and 144.000 downloads!):
ibProArcade 2.7.3+ download here | Click here to enter the ibProArcade-Support-Section
Reply With Quote
  #14  
Old 29 Aug 2006, 12:34
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Isn't there already an opion to remove comments from output in the regular VB control panel?
Reply With Quote
  #15  
Old 29 Aug 2006, 16:04
ForumDog ForumDog is offline
 
Join Date: Jul 2006
That just affects template identification comments as far as I know.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 07:40.

Layout Options | Width: Wide Color: