The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
vB Global Translator - Multiply your indexed pages & put search traffic on autopilot Details »» | |||||||||||||||||||||||||||
vB Global Translator - Multiply your indexed pages & put search traffic on autopilot
Developer Last Online: Dec 2013
vB Global Translator Note - There are 2 versions of this script depending on your setup. This script is compatible with users running standard vBulletin and vBSEO only and all vB release versions. If you cannot install this I am more than happy to answer support questions. So what does this do? vB Global Translator automatically translates your forum into 28 other languages via the Google translate API, stores those translations in a MYSQL database then rewrites new URLs so you end up with 28 new pages for every current page. So, if you have 10,000 pages, this MOD will translate those pages into 28 languages making a total of 280,000 pages in 28 languages. This results in a flood of international traffic and referrals from the search engines. If you are getting 1,000 visits a day from your 10,000 pages imagine how many referrals you will get from 280,000 pages! The current languages this MOD works with are all supported by AdSense so you can expect your income to rise accordingly. I have this running on a 20,000 page forum and after a few months I have more than doubled my search engine traffic. How do I Install? Note - Please make sure you have CURL enabled on your server, it will be listed in you php.ini file. If in doubt ask your host. First download the relevant package below for your setup. Next you need to add a new MySQL database to your domain to store the translated pages. Open the database in phpmyadmin or similar and import the db.sql file to install the database tables. Once you have done that you need to select the 'wt_cache' table on the left then 'operations' from the top menu and change the storage engine to InnoDB, then click Go. Add your new database details to translate.php then, if your forums base language is different to English, change your country code. Otherwise ignore this step. Find: Code:
REMOVED Code:
REMOVED CHMOD overloadcache.txt to 777 In your vBulletin admin panel add a new plugin with the following settings. Hook Location: global_complete Title: vB Global Translator Execution Order: 5 Plugin PHP Code: Code:
REMOVED In your vBulletin admin panel add another new plugin with the following settings. Hook Location: global_start Title: vB Global Translator Flags Execution Order: 5 Plugin PHP Code: Code:
REMOVED Finally add the code below to your template so the flags to select languages appear. This is typically the header, navbar or footer so that they display on every page. Code:
REMOVED This script is can be quite server intensive for large sites. As you are adding links to all of these new pages from all of your current pages the search engine bots will crawl these 1,000's of new pages fast. As the MySQL trys to deal with the many, many translations and querys I have seen my server load spike a bit. To combat this we have written in a condition that if server load is more than 1.5, the cache setting will disable and pages will be read live from the Google API and no database writing will take place. If you feel this setting too high/low you can change it by finding the variable below in translate.php and editing accordingly. The only reason to change this is if - A) You are on a slow server and it is overloaded/crashing or B) You have a very fast server and it can handle more, this will mean your site will get fully cached faster resulting in faster page load times when people re-visit the translated pages. Code:
if(floatval(getServerLoad()) >= 1.5) Please rate and click install THANK YOU! Version History: v1.7 * Removed ioncube encryption to bring script inline with vBulletin.org rules v1.6 * Fixed nofollow block on flag links for users with vbseo sites * Fixed adsense ads showing for translation services etc. by adding section targeting ignore tags v1.5 * Fixed database speed issues by using InnoDB instead of MyISAM * Code encrypted with ioncube v1.0 * Script base version Show Your Support
|
Comments |
#22
|
||||
|
||||
If enough people chime in running vbseo I will look into it further and release how to add it for those users.
|
#23
|
||||
|
||||
Quote:
Can't we just merge the htaccess files? or do you have code, which will interfere? |
#24
|
||||
|
||||
Marked as Installed again.
I realised I had to change the code for the template from: http://www.galaxyofstars.co.uk/ar/ to http://www.galaxyofstars.co.uk/forums/ar/ So i've now gone through all the list and added forums/ to it. I'm now testing all of the languages. It's going to take a little while, so think i'll get some sleep before I finish it off. However, the only one not to work so far is: http://www.galaxyofstars.co.uk/forums/zh-TW/ Not sure why. |
#25
|
||||
|
||||
Try this htaccess. I have updated the main download also.
Code:
############################################################# # DefaultType application/x-httpd-php5 ############################################################## Options +FollowSymLinks RewriteEngine On # Set file extension you wish to translate here [you may add your desired extension] # Definition ##/[^\./]*## for translating index files or files without extension [delete to disable] ############################################################## RewriteRule !(/[^\./]*|\.(|shtml|shtml|html|htm|shtml|php|php3|php4|php5|php6))$ - [S=1] RewriteRule ^(sq|ar|bg|ca|zh-CN|zh-TW|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|id|it|ja|ko|lv|lt|mt|no|pl|pt|ro|ru|sr|sk|sl|es|sv|th|tr|uk|vi)/(.*)$ $2?hl=$1 [L,QSA] # If not valid html file, view as original (without traslation) RewriteRule ^(sq|ar|bg|ca|zh-CN|zh-TW|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|id|it|ja|ko|lv|lt|mt|no|pl|pt|ro|ru|sr|sk|sl|es|sv|th|tr|uk|vi)/(.*)$ $2 [L,QSA] ############################################################## |
#26
|
||||
|
||||
Right, I tested out all of the languages/ They all work except this one:
http://www.galaxyofstars.co.uk/forums/zh-TW/ Not sure why, but i'm off to bed. I'm glad I got this working. |
#27
|
||||
|
||||
See my post above.
|
#28
|
||||
|
||||
Ah ok, I'll take a look tomorrow. Thanks again.
|
#29
|
||||
|
||||
You're welcome, glad you stuck with it and put up with being a beta tester
Can't be helped sometimes, so many server and vb configs. |
#30
|
||||
|
||||
n\a
|
#31
|
||||
|
||||
looks great, guess i'll have to give it a try
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|