![]() |
ok, well here is your solution to all the bugs. One problem is its in english and not php...
You need to parse out multiple white spaces + newlines in all of the code, you also need to remove html comments. HOWEVER you must ignore anything between <pre> <textarea> and <script> tags. Ok well theres the brief... i'll see what i can do in a bit. (I think a good starting place would be to see how Vb3.5 handles bb tags especially the [nocode] tag or whatever it is that prevents bb code parsing between it.) edit: Well i've been messing arround for a bit and havn't got anywhere... The only 'hacked' solution i could come up with is to match the text area tags to a variable do the white space removal and put the text areas back in again. |
when i get bored ill try my hand at making it conditional... but with my setup it appears immune to the issue unless i use the commented out line of code instead of what i actualy had enabled
|
this problem is really bugging me now... i haven't been able to come up with a singal working regex expression...
|
Leaving it installed but disabling it for now. The linebreaks in advanced mode are just impossible to work around.
|
Can this be modded to only strip commented out code?
|
yes. comment out the fist replacment command
|
How could i make that the text...
[Output: 37.45 Kb. compressed to 36.00 Kb. by saving 1.45 Kb. (3.87%)] be in the same color that the background? I dont find the template o the code in the footer for this hack. Thank u. |
Quote:
Your best bet is to try editing the plugin itself. |
Quote:
|
just open the xml and find this line
Code:
$output = str_replace('</body>', '<center><span class="smallfont">[Output: ' . $page_kilobyte . ' Kb. compressed to <b>' . $pagenew_kilobyte . '</b> Kb. by saving <b>' . $pagesaved_kilobyte . '</b> Kb. (' . $pagesaved_perc . '%)]</span></center></body>', $output); |
All times are GMT. The time now is 07:44 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:
|