vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Compress Forum Templates (Speed up your Forums & Save Bandwidth) (https://vborg.vbsupport.ru/showthread.php?t=79923)

The Realist 04-17-2005 04:31 PM

Dont know if this is a bug or what but I just received an Email saying a post of mine has been replied to and the email is all crunced up, all the white space has been taken out?

Hello Realist,stevo25 has just replied to a thread you have subscribed to entitled - check out this pi$$take - in the Staff Only forum of xxxxxxxxx Forums.This thread is located at:http://www.xxxxxxxxxx.com/forums/sho...to=newpostHere is the message that has just been posted:***************who know plenty of *obs on ebay***************There may be other replies also, but you will not receive any more notifications until you visit the forum again.Yours,TechTronix Forums team~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Unsubscri ption information:To unsubscribe from this thread, please visit this page:http://www.xxxxxxxxxxx.com/forums/su...=usub&t=xxxxTo unsubscribe from ALL threads, please visit this page:http://www.tech-tronix.com/forums/su...n&folderid=all

Also,

What about a link to uncompress the phrases the same as the templates?

Laters

msimplay 04-17-2005 04:33 PM

is there no uncompress phrases ?

The Realist 04-17-2005 04:46 PM

Nope

The Realist 04-17-2005 04:52 PM

This crunching of the phrases has totally buggered by forums email system up. I have uncompressed the templates as a test and Im still receiving usless crunched up emails so I now know its the phrases.

Now............. how am I going to get out of this?

Trigunflame 04-17-2005 05:10 PM

Quote:

Originally Posted by The Realist
This crunching of the phrases has totally buggered by forums email system up. I have uncompressed the templates as a test and Im still receiving usless crunched up emails so I now know its the phrases.

Now............. how am I going to get out of this?

I'll contact you, hold on just a bit; ill make a modification to remove those phrases from being compressed.

Trigunflame 04-17-2005 05:12 PM

Quote:

Originally Posted by msimplay
is there no uncompress phrases ?

Im working on it, just hold up a bit.

msimplay 04-17-2005 05:12 PM

Quote:

Originally Posted by Trigunflame
I'll contact you, hold on just a bit; ill make a modification to remove those phrases from being compressed.

any chance of uncompression of the phrases as per the template compression ?

Trigunflame 04-17-2005 05:19 PM

Quote:

Originally Posted by msimplay
any chance of uncompression of the phrases as per the template compression ?

The problem was the fact I was removing ASCII \n also, which is used in the phrases dealing with sending emails.

As for uncompress, no; it would require vbulletin hacking adding additional fields to the phrase table. It's a one way deal, but I know which template is the only one affected.

Blam Forumz 04-17-2005 05:24 PM

Wow, this is getting even better :D Thanks guy

msimplay 04-17-2005 05:34 PM

Quote:

Originally Posted by Trigunflame
The problem was the fact I was removing ASCII \n also, which is used in the phrases dealing with sending emails.

As for uncompress, no; it would require vbulletin hacking adding additional fields to the phrase table. It's a one way deal, but I know which template is the only one affected.

i updated but my emails are still compressed
Lol no wonder you haven't replaced the code with 2.5 version yet :P

Paul M 04-17-2005 05:47 PM

Quote:

Originally Posted by msimplay
i updated but my emails are still compressed
Lol no wonder you haven't replaced the code with 2.5 version yet :P

You could restore the phrases from a backup.

Personally I would not touch the phrase compression - too easy to break something - and then hard to restore it, unlike the templates where you just uncompress (restore) them.

Trigunflame 04-17-2005 05:50 PM

Update:

Its fine paul. It won't happen anymore with the newest version.

--------

Phrase Info:

There was a bug in a version that removed the ASCII \r\n, \r, \n from phrases, and many of these had to do with email.
I have fixed the bug so it won't happen anymore, but for people that were affected I suggest you restore from a backup, or download the
restorePhrases.zip file which will restore your Default English Phrases back to normal; then you can re-run the compression on the phrases.

Step 1. Download restorePhrases.zip
Step 2. Unzip restorePhrases.zip, and place both files in your forum directory
Step 3. Run restorephrases.php from the web like any other php file.
Step 4. You should now have restored the default english phrases, now you can re-compress the phrases again,
(Make absolute sure you are using the latest code, I patched it to not remove \r\n, \r, \n from phrases.)

The Realist 04-17-2005 05:59 PM

But these restorePhrases.zip file is to restore the whole phrases, what about the phrases needed for install hacks?

The Realist 04-17-2005 06:03 PM

I Would Recommend To Anyone Not To Compress Your Phrases Like I Did And Buggered Then Up With This Extra Code. Just Keep To The Templates.

A Little Tip.

not a happy chappy but for god sake who ever uses this phrase hack to do a phrase backup first.

msimplay 04-17-2005 06:19 PM

Quote:

Originally Posted by The Realist
I Would Recommend To Anyone Not To Compress Your Phrases Like I Did And Buggered Then Up With This Extra Code. Just Keep To The Templates.

A Little Tip.

not a happy chappy but for god sake who ever uses this phrase hack to do a phrase backup first.

Yep i lost a lot of my phrases because of this the phrase portion isn't worth doing unless theres some way to decompress them

Also my my queries have seemed to gone up by 4 queries
my forumhome was 13 queries its now 17
This was due to the phrases portion

Trigunflame 04-17-2005 06:23 PM

Quote:

Originally Posted by msimplay
Yep i lost a lot of my phrases because of this the phrase portion isn't worth doing unless theres some way to decompress them

Also my my queries have seemed to gone up by 4 queries
my forumhome was 13 queries its now 17
This was due to the phrases portion

Ya I was iffy about even doing this, but someone contacted me requesting it. It's marked as optional now for future reference.

Edit:

Updated Hack Documentation, Phrase Compression is Purely Optional.

msimplay 04-17-2005 06:43 PM

Quote:

Originally Posted by Trigunflame
Ya I was iffy about even doing this, but someone contacted me requesting it. It's marked as optional now for future reference.

Edit:

Updated Hack Documentation, Phrase Compression is Purely Optional.

Can u please help me decompress the phrases as my queries have gone up and some of my phrases won't show up even though they are there

Trigunflame 04-17-2005 06:46 PM

Quote:

Originally Posted by msimplay
Can u please help me decompress the phrases as my queries have gone up and some of my phrases won't show up even though they are there

Use the instructions at the bottom of the main post. It will restore all of your default templates.

Oblivion Knight 04-17-2005 07:24 PM

Thank god I had recent-ish database backups.. Just used the phrase table. :p

Trigunflame 04-17-2005 07:32 PM

Quote:

Originally Posted by Oblivion Knight
Thank god I had recent-ish database backups.. Just used the phrase table. :p

Ya I removed phrase compression altogether now, I don't want to risk other people messing their forums up.

The Realist 04-17-2005 08:31 PM

This is the best option M8.

Quote:

Originally Posted by Trigunflame
Ya I removed phrase compression altogether now, I don't want to risk other people messing their forums up.


Trigunflame 04-17-2005 08:59 PM

lol after what ive had to go through with that, i would agree XD

T3MEDIA 04-18-2005 10:44 AM

May I be honest?

Is this worth the "riga-a-m0n-row"?
Does it compress that good?

Paul M 04-18-2005 10:53 AM

Quote:

Originally Posted by T3MEDIA
Is this worth the "riga-a-m0n-row"?

huh ? Can you translate this into english please :)

Trigunflame 04-18-2005 11:11 AM

Quote:

Originally Posted by T3MEDIA
May I be honest?

Is this worth the "riga-a-m0n-row"?
Does it compress that good?

I removed phrase compression, there is no "riga-a-mon-row" to go through anymore.

Trigunflame 04-18-2005 12:24 PM

update;

ability to strip HTML Comments.

diettalk 04-18-2005 03:16 PM

Installed.. vb puts a lot of "html comments" in, that really aren't needed, unless your diagnosing a problem.

msimplay 04-18-2005 03:27 PM

does anyone have a copy of version 2.6 the one before the strip whitespace its causing some problems for me

Corriewf 04-18-2005 03:28 PM

I think that this is a GREAT hack that should of been released in the beta section first though. I installed the version right before the phrase goof and im very happy with the results, but I feel that with the discovery of additional optimization tools that this could actually be called Vbulletin optimization wizard.
Great hack :)

Paul M 04-18-2005 03:36 PM

It's getting a bit out of hand now, I'm going to click uninstall for now - too many updates every day.

How can the effects of these changes possibly be properly tested and judged.

Trigunflame 04-18-2005 03:40 PM

Quote:

Originally Posted by Paul M
It's getting a bit out of hand now, I'm going to click uninstall for now - too many updates every day.

How can the effects of these changes possibly be properly tested and judged.

phrase support was removed, there really is nothing left to update.

Paul M 04-18-2005 04:06 PM

Sorry, but I can't consider something that has changed 19 times in less than 4 days as even remotely stable - you have added things and then removed them when they break peoples boards - you have removed stuff and then added it back in the next release. How can anyone possibly keep up.

You don't even provide it as a downloadable text file, which makes it harder to install anyway.

I have had an e-mail for updates every day since I installed a version (god knows which one now) by the time I saw todays e-mail and got here, you had done two releases. Sorry but I just can't keep up with it.

Maybe in a month or so when it's calmed down, and available as a text file.

Trigunflame 04-18-2005 04:07 PM

Quote:

Originally Posted by msimplay
does anyone have a copy of version 2.6 the one before the strip whitespace its causing some problems for me

Note:

Was fixed by adding particular template he had from hacks to bad templates array.

Trigunflame 04-18-2005 04:10 PM

Quote:

Originally Posted by Paul M
Sorry, but I can't consider something that has changed 19 times in less than 4 days as even remotely stable - you have added things and then removed them when they break peoples boards - you have removed stuff and then added it back in the next release. How can anyone possibly keep up.

You don't even provide it as a downloadable text file, which makes it harder to install anyway.

I have had an e-mail for updates every day since I installed a version (god knows which one now) by the time I saw todays e-mail and got here, you had done two releases. Sorry but I just can't keep up with it.

Maybe in a month or so when it's calmed down, and available as a text file.

Maybe, in the future I will wait 6 months before I fix something *sarcasm*

Paul M 04-18-2005 05:36 PM

Quote:

Originally Posted by Trigunflame
Maybe, in the future I will wait 6 months before I fix something *sarcasm*

Right ...............

CommunityZ 04-19-2005 01:53 AM

Can i install your hacks after i install https://vborg.vbsupport.ru/showthrea...7&page=7&pp=15 buro9 hack

Trigunflame 04-19-2005 12:00 PM

Quote:

Originally Posted by CommunityZ
Can i install your hacks after i install https://vborg.vbsupport.ru/showthrea...7&page=7&pp=15 buro9 hack

Really would be no point. Just install mine.

buro9 04-19-2005 07:36 PM

Quote:

Originally Posted by Trigunflame
Really would be no point. Just install mine.

I'm buro9, and I agree with Trigunflame... which is why my hack features a link back to this one.

The only reason mine has more installs is that it has been available longer, but this hack is better in that it spares processing power by compressing the templates once and not every page every time.

You don't need to install both.

If you want the better of the two, go for this one.
If you want one that has changed in a while, by all means go for mine... but in a months time when this one hasn't changed again (it had intense development and I probably linked to it too soon) you should consider moving to this one.

:)

Trigunflame 04-19-2005 07:57 PM

Quote:

Originally Posted by buro9
I'm buro9, and I agree with Trigunflame... which is why my hack features a link back to this one.

The only reason mine has more installs is that it has been available longer, but this hack is better in that it spares processing power by compressing the templates once and not every page every time.

You don't need to install both.

If you want the better of the two, go for this one.
If you want one that has changed in a while, by all means go for mine... but in a months time when this one hasn't changed again (it had intense development and I probably linked to it too soon) you should consider moving to this one.

:)

ya, hopefully *no more development*

far as im concerned, it's done.

TTG 04-19-2005 09:39 PM

Works on 3.0.6 with loads of hacks and had no problems.

Great hack.

Clicked install :)


All times are GMT. The time now is 04:33 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.01689 seconds
  • Memory Usage 1,839KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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