![]() |
Remove all (Template-)Comments from any HTML-Output
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 :cool: Don't forget to click INSTALL if you use this ;) Bugs: none found yet Planned feature: 1) remove //-Comments from JavaScript |
Looks good - i will try this thanks ;)
|
Thanks ;)
|
Installing! This is great.
JS would be awesome too! joke of the day: PHP Comments would be awesome too! :P :P lol |
|
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. |
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. |
Quote:
|
Quote:
Quote:
|
Quote:
|
Cheers! ;)
|
Quote:
And yes MZP, running it last will do the trick, good thinking :) |
thank you MrZeropage
|
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 :)
|
I just released a version for vBulletin 3.6.0 which automatically makes sure the PlugIns are executed at least :)
https://vborg.vbsupport.ru/showthread.php?t=121872 |
This will disable many hacks and definately about 60 % of mine :)
|
use the version for vBulletin 3.6.x it makes sure this is running at least so all other plugins ect. work fine :)
|
All times are GMT. The time now is 11:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|