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)

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.


All times are GMT. The time now is 05:48 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.01630 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)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
  • (10)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