vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Compress Forum Templates (https://vborg.vbsupport.ru/showthread.php?t=107615)

MissKalunji 03-15-2006 03:09 AM

works fine! thanks

Trigunflame 03-15-2006 09:03 AM

Quote:

Originally Posted by DementedMindz
i was wondering if you would do anything like Hellcat's Page Compression hack
https://vborg.vbsupport.ru/showt...hlight=hellcat where it shows on the footer how much is compressed? i kinda liked that so i could tell but in the end its your call just thought it would be nice to see

Hellcats does the compression every page load, which also slows down the page..

Mine precompiles the output in the database, saving you overhead; thus you get some speed improvement as while as compression.

Choose whichever you want, I care not ;)

Trigunflame 03-15-2006 07:32 PM


Tralala 03-15-2006 11:31 PM

Quote:

Originally Posted by Trigunflame
Hellcats does the compression every page load, which also slows down the page..

Mine precompiles the output in the database, saving you overhead; thus you get some speed improvement as while as compression.

He wasn't asking for you to incorporate the same compression strategy, he was asking if you could have it display in the footer how much was compressed. To see how much of an affect your add-on really has. That's what Hellcat's does, and it's nice.

DementedMindz 03-15-2006 11:56 PM

Quote:

Originally Posted by Tralala
He wasn't asking for you to incorporate the same compression strategy, he was asking if you could have it display in the footer how much was compressed. To see how much of an affect your add-on really has. That's what Hellcat's does, and it's nice.

that is what i mean ;) would be nice to see the stats in the footer kinda like his does to truely see what we save :)

Bellinis 03-17-2006 12:18 PM

I removed this mod because it messed up my line spacing between paragraphs. As soon as I did a preview of my post or wanted to edit my post after I've posted it, the line spacings were removed.

Trigunflame 03-17-2006 01:05 PM

Quote:

Originally Posted by Tralala
He wasn't asking for you to incorporate the same compression strategy, he was asking if you could have it display in the footer how much was compressed. To see how much of an affect your add-on really has. That's what Hellcat's does, and it's nice.

I would have to add a template or a phrase or a datastore item that stored that little bit of information, and it wouldnt change.. it would stay the same.

Like Ive already said 1000000000000000 times; it does the compression once and saves them in your template table. You would just be looking at a static number everytime you loaded the page.

Trigunflame 03-17-2006 01:05 PM

Quote:

Originally Posted by Bellinis
I removed this mod because it messed up my line spacing between paragraphs. As soon as I did a preview of my post or wanted to edit my post after I've posted it, the line spacings were removed.

All you had to do was add that template to the ignore templates setting; dont blame a mod for not following directions.

mixer66 03-20-2006 03:33 PM

This plugin seems to running almost perfectly but i found 2 details and not sure if this plugin cause this details that goes wrong on by board. When you want to edit a post , you have to press 2 x the edit button, the first attempt gives a error in the browser, and first i had quick edit box inside the post (ajax ), right now it opens the advanced edit box ??? And on the PM create msg box is some extra functional ajax issues dissappered. It happen after i install the compress combo plugin's this past weekend. It's not a disaster but this where nice extra items after the 3.5.4 upgrade that i miss now. Can someone help me with this ?

Update: I did some mor investiagtion on this "Ajax Quick Edit" error. My FF error console says there is an JavaScript error:

Error: vB_Editor[vB_QuickEditor.editorid] has no properties
sourcecode: http://www.eurovan2.com/forum/client..._quick_edit.js
line: 246

Trigunflame 03-21-2006 07:50 PM

Quote:

Originally Posted by mixer66
This plugin seems to running almost perfectly but i found 2 details and not sure if this plugin cause this details that goes wrong on by board. When you want to edit a post , you have to press 2 x the edit button, the first attempt gives a error in the browser, and first i had quick edit box inside the post (ajax ), right now it opens the advanced edit box ??? And on the PM create msg box is some extra functional ajax issues dissappered. It happen after i install the compress combo plugin's this past weekend. It's not a disaster but this where nice extra items after the 3.5.4 upgrade that i miss now. Can someone help me with this ?

Update: I did some mor investiagtion on this "Ajax Quick Edit" error. My FF error console says there is an JavaScript error:

Error: vB_Editor[vB_QuickEditor.editorid] has no properties
sourcecode: http://www.eurovan2.com/forum/client..._quick_edit.js
line: 246

Find the associated template names and add them to the Ignore Setting, and recompress the templates.

MissKalunji 03-21-2006 09:30 PM

may i ask where is the ignore settings?

edit never mind :)

MissKalunji 03-26-2006 12:42 PM

thank you

dakar 04-04-2006 01:29 PM

Before I go hosing up stuff....I trust this mod hack is compatable with 3.5.4?

I'm trying everything I can to cut CPU time down as my host is griping about it since my board is taking 200K hits a day.... trying to avoid the expense of a dedicated server for as long as possible. So any other suggestions would be greatly appreciated as well.

MissKalunji 04-04-2006 01:43 PM

Quote:

Originally Posted by Mike-D
No prob at all. Did you found it? Please take care by editing these files:
PLEASE SEPERATE EACH TEMPLATE BY A SPACE! NO LINE FEED !!!
Else some templates won't works ;) -Mike

thanks :banana:

Kingzor 04-08-2006 07:06 PM

<a href="Http://hiberniagaming.net/vbull/" target="_blank">Http://hiberniagaming.net/vbull/</a>
Edit:
Did a hard refresh,now it looks like its working, but even thou the vbshout templates are in the ignore list, its made it go away from the home page?Am i doing something wrong?
Edit again:
If i tell it to be below the navbar it works, other wise it doesnt.

htscpl 04-19-2006 12:24 PM

Installed hack (RC3) this morning and it seems to work just fine. My question is, on the instructions it says
Quote:

- Click "Rebuild Hook Cache". This will build the cache used for compiling plugin code into the FileSystem, anytime you add a new hook location in the code you will want to re-run this to reparse the file and update the cache.

- Click "Rebuild All Plugins". This will take care of compiling all of your enabled
plugins into their appropriate files.
I don't have any place to click to rebuild hook cache nor to rebuild all plugins unless it is some place I haven't looked.

Can anyone let me know if I should keep looking or uninstall or what?

Thanks,
Henry :D

MissKalunji 04-19-2006 12:41 PM

Quote:

Originally Posted by htscpl
Installed hack (RC3) this morning and it seems to work just fine. My question is, on the instructions it says

I don't have any place to click to rebuild hook cache nor to rebuild all plugins unless it is some place I haven't looked.

Can anyone let me know if I should keep looking or uninstall or what?

Thanks,
Henry :D


thats only if you have plugin accelerator installed

DementedMindz 04-19-2006 12:42 PM

you should have a tab on the left in admincp Plugin Accelerator but for this hack it would only show Template Compressor... i think you ment to post this in the Accelerated Plugins thread

Christopher 47 05-12-2006 01:17 PM

...and place the (cpnav_tpl_compress.xml)
What does it mean, bro?

almqdad 05-14-2006 05:18 PM

hi
installed the plugin
resulted in View all Subscribed Threads and pm disappeared

can some one tell me which template to add to ignore list

thanks

Barteken 05-17-2006 05:59 PM

installed the hack too but now the hack "Members who have visited the forum (Today or last 24 hours)." dissapeared.
what can i do?

Grtz

cucarot 05-18-2006 08:49 PM

same here, the hack "Members who have visited the forum (Today or last 24 hours)." dissappeared and the gender stats + topxstats + gallery forumhome too!
Please help me to fix this problem!

cucarot 05-18-2006 09:25 PM

this is a bad hack! you should place in your titles that it could cause a lot of problems! I'm trying to uncompressed it and then recompessed it over and over again! But my mods still dissapeared.
Please, at least tell me how to remove completely this damn hack!

cucarot 05-18-2006 09:40 PM

and the question is, even I upload new templates (which one that I backup before) it still doesnt work?
What happened with the system? please try to resolve, or how to remove your hack!

cucarot 05-19-2006 03:33 AM

after some tries, I fixed this, the problems is because of the Plugin Accelerator Hacks, when I installed it and enabled it, my forum was running well. But when I diabled or uninstall it, my forum met problem again!
Please find a way to fix that or remove that hack :D

Coldhands 06-15-2006 03:25 AM

Does this work with 3.5.4???

sdenike 06-16-2006 09:00 PM

Seems to be working fine with 3.5.4 ... atleast on my install of it.

JohnBee 07-04-2006 02:25 PM

This hack has negative effect on other plugins.

I would not recommend installing this unless you have a default plugin free board otherwise there can be side effects.

GrCh_Jeff 07-04-2006 02:32 PM

Quote:

Originally Posted by JohnBee
This hack has negative effect on other plugins.

I would not recommend installing this unless you have a default plugin free board otherwise there can be side effects.

He's right." Not Knocking the hack" Since I installed it The "vBgalleryforum home hack" which shows latest photos on forum home doubles up.It shows one on top of the other.

Zia 07-20-2006 09:03 AM

hello trigun,

are u thinking for an update for vb3.6.3 ?
we need that.........

DementedMindz 07-21-2006 12:42 AM

Zia i dont think it will truely be anytime soon or any updates soon the last he was on was Mar 2006

testpig 08-13-2006 04:08 AM

Bugger - this was a great hack. Would be good to see it updated to vB 3.6.

testpig 08-13-2006 04:13 AM

OK -I've just redone the edit of template.php in the admin folder (as noted in the release instructions).

The hack seems to be working fine with 3.6.

MissKalunji 08-23-2006 03:30 AM

workign on 3.6 as well

bairy 09-10-2006 07:49 AM

Some plugins use string replace to find the comment code and insert their output under/above it. This hack remove the comments. To stop it removing them, remove this line from admincp/template.php:
Code:

$c = preg_replace('/<!--[^\{\[]*?-->/i',"",$c);
Don't forget to uncompress/recompress your temps after doing so.

bairy 09-16-2006 03:32 PM

Another tip.

In the admincp/template.php edit,
before // Finished, add:
Code:

$db->query_write("OPTIMIZE TABLE " . TABLE_PREFIX ."template");
Compressing the templates means removing data, so the table will become unoptimized.

Illustrious 10-25-2006 06:48 PM

How do you add to the bad templates array? I looked over the php install code, and I didn't see the array.

bairy 10-25-2006 07:23 PM

AdminCP > vB Options > Template Compressor

Zia 01-31-2007 04:23 PM

Quote:

Originally Posted by bairy (Post 1076299)
Another tip.

In the admincp/template.php edit,
before // Finished, add:
Code:

$db->query_write("OPTIMIZE TABLE " . TABLE_PREFIX ."template");
Compressing the templates means removing data, so the table will become unoptimized.

cant u relase modified/updated version?

rjmjr69 02-16-2007 01:22 AM

How can I add a specific user to be allowed to view the stats like the admins can? He is an admin but thats set as his secondary usergoup for personal reasons. So I can't change it there.

And by the way this add on IS the best so far IMO for speeding the site up


All times are GMT. The time now is 05:49 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
  • Page Generation 0.01371 seconds
  • Memory Usage 1,825KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete