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: Nov 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 10
Released: 06 Jun 2006 Last Update: Never Downloads: 19
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:	183
Size:	37.1 KB
ID:	48931  

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
Administrative and Maintenance Tools Remove all (Template-)Comments from any HTML-Output MrZeropage vBulletin 3.8 Add-ons 27 04 Aug 2010 01:24
Coppermine VbCode and HTML output DjTaz vBulletin 3.0 Full Releases 9 19 Feb 2006 01:20

Comments
  #2  
Old 06 Jun 2006, 14:09
manguish manguish is offline
 
Join Date: Apr 2003
Looks good - i will try this thanks
Reply With Quote
  #3  
Old 06 Jun 2006, 15:34
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Real name: Atakan KOÇ
Thanks
__________________
vBulletin 5 : http://www.atabb.com/
Reply With Quote
  #4  
Old 06 Jun 2006, 21:42
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Real name: Jack
Installing! This is great.

JS would be awesome too!


joke of the day: PHP Comments would be awesome too! :P :P lol
__________________
cobraws
Reply With Quote
  #5  
Old 06 Jun 2006, 21:45
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
I like the idea of your mod.

Do you know if this conflicts in any way with this mod?
__________________



Last edited by Freesteyelz; 06 Jun 2006 at 23:33.
Reply With Quote
  #6  
Old 07 Jun 2006, 00:01
bairy bairy is offline
 
Join Date: Oct 2005
Real name: Chris
It's a simple search/replace, doubtful they'll be a conflict with anything of a similar nature.

One thing to remember is that some mods (e.g. visitors in the last 24 hours) insert their data into the template using the comments to find their position.
In other words, using this hack may stop others from displaying their output.
Reply With Quote
  #7  
Old 07 Jun 2006, 05:43
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
hi MrZeroPage,
Really nice to see that u r even walks in different path rater than ibpro

Would u mind to say..what is the benifit of this plugins plz? Faster Page Loading or any thing els ?


Thanx in Advance Man.

Last edited by Zia; 07 Jun 2006 at 05:45.
Reply With Quote
  #8  
Old 07 Jun 2006, 05:47
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Originally Posted by Zia
hi MrZeroPage,
Really nice to see that u r even walks in different path rater than ibpro

Would u mind to say..what is the benifit of this plugins plz? Faster Page Loading or any thing els ?


Thanx in Advance Man.
It will make the HTML file they download smaller, which will speed things up for them a bit.
__________________
Sr Software Developer / Tech Lead
Reply With Quote
  #9  
Old 07 Jun 2006, 06:30
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Real name: Marcel
One thing to remember is that some mods (e.g. visitors in the last 24 hours) insert their data into the template using the comments to find their position.
In other words, using this hack may stop others from displaying their output.
No problem if you make sure my PlugIn runs at least, so others can use comments for their insertions and after that my PlugIn will remove the comments

Would u mind to say..what is the benifit of this plugins plz? Faster Page Loading or any thing els ?
Benefit is that you can write more internal things in the Template-Comments as you don't have to mind they will ever be readable in User's Browser
__________________
Get the most installed modification for your vBulletin (more than 8400 installations and 148.000 downloads!):
ibProArcade 2.7.6+ download here | Click here to enter the ibProArcade-Support-Section
Don't miss the new Google Analytics Integration (GDPR/DSGVO) for vB4.x
Reply With Quote
  #10  
Old 07 Jun 2006, 08:25
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by MrZeropage
No problem if you make sure my PlugIn runs at least, so others can use comments for their insertions and after that my PlugIn will remove the comments

Benefit is that you can write more internal things in the Template-Comments as you don't have to mind they will ever be readable in User's Browser
How can you make sure it runs last?
Reply With Quote
  #11  
Old 07 Jun 2006, 09:46
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
Cheers!
__________________
Reply With Quote
  #12  
Old 07 Jun 2006, 09:52
bairy bairy is offline
 
Join Date: Oct 2005
Real name: Chris
Originally Posted by Boofo
How can you make sure it runs last?
3.6 will let you choose what order plugins run in. Pretty sure 3.5.* doesn't.
And yes MZP, running it last will do the trick, good thinking
Reply With Quote
  #13  
Old 07 Jun 2006, 10:05
DAVARCI's Avatar
DAVARCI DAVARCI is offline
 
Join Date: Apr 2006
thank you MrZeropage
Reply With Quote
  #14  
Old 07 Jun 2006, 13:03
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Real name: Marcel
Yes, vBulletin 3.6 will have an option to setup the order of execution for plugins within the same hook - meanwhile for vBulletin 3.5.x you have to use this Hack if there are more plugins within the hook my HTMLmodifier uses
__________________
Get the most installed modification for your vBulletin (more than 8400 installations and 148.000 downloads!):
ibProArcade 2.7.6+ download here | Click here to enter the ibProArcade-Support-Section
Don't miss the new Google Analytics Integration (GDPR/DSGVO) for vB4.x
Reply With Quote
  #15  
Old 23 Jul 2006, 09:50
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Real name: Marcel
I just released a version for vBulletin 3.6.0 which automatically makes sure the PlugIns are executed at least

http://www.vbulletin.org/forum/showthread.php?t=121872
__________________
Get the most installed modification for your vBulletin (more than 8400 installations and 148.000 downloads!):
ibProArcade 2.7.6+ download here | Click here to enter the ibProArcade-Support-Section
Don't miss the new Google Analytics Integration (GDPR/DSGVO) for vB4.x
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


New To Site? Need Help?

All times are GMT. The time now is 15:23.

Layout Options | Width: Wide Color: