![]() |
did u have curl ? in your server
it will not work without it |
Many of you might have a busy site (like us) and things can slow down during your peak traffic times. Or, you just might want to speed up serving your translated pages, regardless of the speed of translation across the net, by pre-fetching your translations and populating your dB cache.
We do this very simply, and manually, during off-peak times using the urllist.txt file generated by vBSEO, as follows (linux wget example): (1) Copy the ./data/urllist.txt file to something like ja.txt (we will use Japanese as an example here). (2) Simply use either vi or sed (or your favorite tool) to append ?language=ja (or whatever language you use) to the end of each URL. Example: %s/$/?language=ja/ (3) Optional: Remove the posts and index URLs if you want to focus on showthreads and tags, etc. This step is optional, and can be easily done with grep. (4) Run this command in the same directory: Code:
wget -b -O /dev/null -i ja.txt -o links.txt -U your_site_wget_ja Also, you can add the wait (-w) option in wget if you need it, but we run this off peak, so nevermind. I found using wget against a modified version of urllist.txt works great to prefetch translations :D This is very and you can easily run it on your (linux) server. Enjoy :cool: |
I have the Forum Home tabs mod installed NPL-er and it will not translate the tabs content, cache produces a DB error but I disable and it works fine on all other pages except index using Tabbed Forum Home Mod by Bobster65.
Any help would be appreciated - Thanks! & MOTM ;) S-MAN |
Quote:
But you can be pretty cool even with that limitation. NOTE: we are talking about 1800 characters of plain text - It means there is no even any break inside nor image or link. Even if people write really long posts there are lot of breaks there - so it is automatically truncated and translated right now :) It has to be over 1800 characters without html part inside - only in this case it is not translated now. And it will be in next major release :) I just needed to see that it is worth to invest more time, and with all yours appreciation and support I'm sure that it is :) |
Quote:
|
How its different from the other hack ?
Czym sie rozni twoj hack od poprzedniego w ktorym byly chyba podziekowania dla Ciebie ? Dzieki z gory |
how do i get it to show up in vbadvance?
|
Quote:
I don't have such file /includes/class_yui.php - so it have to be from some mod. And this mod causes conflict. Please tell me from which mod it is (maybe it is included in file) or PM me content of that file - I will look at it :) |
Quote:
|
Quote:
|
All times are GMT. The time now is 08:18 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:
|