vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - vB Enterprise Translator (https://vborg.vbsupport.ru/showthread.php?t=232456)

akram2025 04-08-2010 07:26 PM

thanks man,, it was really so helpful modification

way2xtreme 04-10-2010 01:35 AM

Quote:

Originally Posted by NLP-er (Post 2017886)
You can block it by robot.txt or edit code. But first of all - why you want to do such thing??...

In google webmaster, almost all pages with duplicated titles or duplicated meta are translated pages... I was told it will hurt my seo..

How do you write it in robox.txt (i have vbseo)

Thanks

Diablotic 04-10-2010 04:07 PM

I have just migrated to vB and would love to install this mod on my website but it does not work for me unfortunately.

I am using "404 / 301 Tool" from vBSeo. This is it: http://www.vbseo.com/f2/404-301-tool...-forums-27498/

My .htaccess configuration looks like that:
Code:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

RewriteRule ^[^/]+vt([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1 [L]
RewriteRule ^[^/]+vt([0-9]+),([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1&start=$2 [L]
RewriteRule ^[^/]+vf([0-9]+)\.htm vbseo301.php?action=forum&oldid=$1 [L]
RewriteRule ^[^/]+u,([0-9]+)\.htm vbseo301.php?action=user&oldid=$1 [L]

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/

RewriteRule ^(.+)$ vbseo.php [L,QSA]

When I add your .htaccess bit at the beggining then translator works OK but my rewrite script would not work.
I would love to use this translator but I cannot get my .htaccess to work unfortunately. Can you help?

PS. Mozesz pomoc? Prosim.

NLP-er 04-10-2010 06:52 PM

Quote:

Originally Posted by way2xtreme (Post 2018674)
In google webmaster, almost all pages with duplicated titles or duplicated meta are translated pages... I was told it will hurt my seo..

How do you write it in robox.txt (i have vbseo)

Thanks

vBET translated also titles and meta. So if you have there duplicate it means that your have duplicate in your original content. vBET has nothing to do with it - it just translates your titles and meta, not increases it in any other way. Issue is not with vBET but with your original content. So just eliminate duplication on your original pages and it will disappear from translated one.
If you find some page where title or meta are not translated - please note it with exact URL.

Blocking translated pages have no sense - just uninstall vBET then, but as I wrote - there is no issue with vBET. Translating 'cat' to Polish will give you 'kot' each time. Your issue is with duplication on original content.

NLP-er 04-10-2010 06:57 PM

Quote:

Originally Posted by Diablotic (Post 2019010)
I have just migrated to vB and would love to install this mod on my website but it does not work for me unfortunately.

I am using "404 / 301 Tool" from vBSeo. This is it: http://www.vbseo.com/f2/404-301-tool...-forums-27498/

My .htaccess configuration looks like that:
Code:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

RewriteRule ^[^/]+vt([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1 [L]
RewriteRule ^[^/]+vt([0-9]+),([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1&start=$2 [L]
RewriteRule ^[^/]+vf([0-9]+)\.htm vbseo301.php?action=forum&oldid=$1 [L]
RewriteRule ^[^/]+u,([0-9]+)\.htm vbseo301.php?action=user&oldid=$1 [L]

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/

RewriteRule ^(.+)$ vbseo.php [L,QSA]

When I add your .htaccess bit at the beggining then translator works OK but my rewrite script would not work.
I would love to use this translator but I cannot get my .htaccess to work unfortunately. Can you help?

PS. Mozesz pomoc? Prosim.

Just read instructions for .htaccess file CAREFULLY! And tell me what instruction about vBET rules place is in description... Is there something about putting it at the beginning?...

Diablotic 04-10-2010 08:16 PM

When I put it just above
Code:

RewriteRule ^(.+)$ vbseo.php [L,QSA]
then my website is all messed up with no pictures etc.

When I put it just above
Code:

RewriteCond %{REQUEST_FILENAME} !-f
Then it does not work as it uses my script rewrite first.

When I put it just above
Code:

RewriteRule ^[^/]+vt([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1 [L]
Then my script does not work.

NLP-er 04-11-2010 01:22 PM

Quote:

Originally Posted by Diablotic (Post 2019151)
When I put it just above
Code:

RewriteRule ^(.+)$ vbseo.php [L,QSA]
then my website is all messed up with no pictures etc.

When I put it just above
Code:

RewriteCond %{REQUEST_FILENAME} !-f
Then it does not work as it uses my script rewrite first.

When I put it just above
Code:

RewriteRule ^[^/]+vt([0-9]+)\.htm vbseo301.php?action=thread&oldid=$1 [L]
Then my script does not work.

This is your first rule to vbseo.php:
Code:

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

Please note that condition is also part of rule. So put vBET rules in appropriate place now :) It means just before this one.

Diablotic 04-11-2010 04:09 PM

And when I put your rules above that then my script does not work :(

motorola 04-12-2010 09:06 AM

Today I got a lot of database errors like this below. What happens ?

Database error in vBulletin 4.0.3:

Invalid SQL:
SELECT cache.originaltext as originaltext, cache.translated as translated FROM vbenterprisetranslator_cache_short help, vbenterprisetranslator_cache_short cache WHERE help.originaltext='Old+forum%2Carchive+sections%21 ' AND help.tl='cy' AND cache.serie=help.serie;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Monday, April 12th 2010 @ 09:47:58 AM
Error Date : Monday, April 12th 2010 @ 09:55:46 AM
Script : http://www.mydomain.com/forum/forumd...ve&language=cy
Referrer :
IP Address : 67.195.115.116
Username : Unregistered
Classname : vB_Database
MySQL Version :

NLP-er 04-12-2010 11:14 AM

Quote:

Originally Posted by Diablotic (Post 2019508)
And when I put your rules above that then my script does not work :(

PM me access details to your forum (Admin CP + FTP) and last content of .htaccess file which you tried to use.

NLP-er 04-12-2010 11:16 AM

Quote:

Originally Posted by motorola (Post 2019836)
Today I got a lot of database errors like this below. What happens ?

Database error in vBulletin 4.0.3:

Invalid SQL:
SELECT cache.originaltext as originaltext, cache.translated as translated FROM vbenterprisetranslator_cache_short help, vbenterprisetranslator_cache_short cache WHERE help.originaltext='Old+forum%2Carchive+sections%21 ' AND help.tl='cy' AND cache.serie=help.serie;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Monday, April 12th 2010 @ 09:47:58 AM
Error Date : Monday, April 12th 2010 @ 09:55:46 AM
Script : http://www.mydomain.com/forum/forumd...ve&language=cy
Referrer :
IP Address : 67.195.115.116
Username : Unregistered
Classname : vB_Database
MySQL Version :

Google was responding slow with translations so mysql connection timed out. Just increase your timeout for mysql connection - this is official vBulletin solution for 'MySQL server has gone away' issue.

motorola 04-12-2010 01:33 PM

Quote:

Originally Posted by NLP-er (Post 2019881)
Google was responding slow with translations so mysql connection timed out. Just increase your timeout for mysql connection - this is official vBulletin solution for 'MySQL server has gone away' issue.


and how can I do that ?

Noerenberg 04-12-2010 08:27 PM

Quote:

Originally Posted by NLP-er (Post 2017891)
Please turn on option to nod transalte usernames. Please note that this option works in specific places - there still can be some places where usernames are translated. In such case please describe specifically where it happens. Also - you cannot use mods which are clearing HTML comments - otherwise usernames will be translated, because mark about not translating it will be removed.

I turn it ot, but the username are translate.

mikeinjersey 04-17-2010 06:35 PM

I'm interested in this.

For the people that have this installed already, Has it increased traffic for ya ? If so, how much ? And how long did it take ?

I'm visually it must be weird having people from other countries signing up. The spelling must be hard to interpret at times. (even though its still converted over for us)

thx much

motorola 04-19-2010 11:18 AM

Quote:

Originally Posted by motorola (Post 2019932)
and how can I do that ?

Someone an answere :( .
Please !
Thanks :)

mikeinjersey 04-19-2010 02:31 PM

Quote:

Originally Posted by motorola (Post 2023714)
Someone an answere :( .
Please !
Thanks :)


Here's the technical reference -

http://dev.mysql.com/doc/refman/5.1/en/gone-away.html

But i'm sure if you google "increase time out mysql" , you'll find a more basic solution.

Jesh 04-19-2010 02:55 PM

Quote:

Originally Posted by NLP-er (Post 1949580)
Integration instructions:
You just have to edit one file: vbseo_sitemap_functions.php in vbseo_sitemap directory.

Find:
PHP Code:

vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior"); 

And place AFTER it...

For SEO links
PHP Code:

//additional code 
$alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi'); 
if(!
$archived) { 
  
$strlenhost strlen($vbseo_vars['bburl']."/"); 
  
$currentthreadurl vbseo_url_thread($threadrow1$archived);
  
$currentthreadurl_before substr($currentthreadurl,0,$strlenhost);
  
$currentthreadurl_after "/".substr($currentthreadurl,$strlenhost);
  
$lastpost =& $threadrow['lastpost'];
  
$vbseo_stat['t'] += sizeof($alanguages);
  foreach(
$alanguages as $language) { 
    
vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after$prior$lastpost$freq); 
  } 
}   
//end additional code 

NOTE: REMOVE YOUR DEFAULT LANGUAGE CODE from $alanguages
Also if you disabled some languages in option panel you have to delete its codes too.

For links with language=
PHP Code:

//additional code
$alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi');
if(!
$archived) {
  
$currentthreadurl vbseo_url_thread($threadrow1$archived) . '&language=';
  
$vbseo_stat['t'] += sizeof($alanguages);
  
$lastpost =& $threadrow['lastpost'];
  foreach(
$alanguages as $language) {
    
vbseo_add_url($currentthreadurl.$language$prior$lastpost$freq);
  } 
}  
//end additional code 

NOTE: REMOVE YOUR DEFAULT LANGUAGE CODE from $alanguages
Also if you disabled some languages in option panel you have to delete its codes too.

NOTE FOR SITEMAP INTEGRATION:
If you want to add to sitemap also links for other thread pages (if thread have several pages), then additional code must be added BEFORE:
PHP Code:

$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls

Also in additional code you have to change 1 to $p.


Piece of cake :)

Do I have to do BOTH or just one? Meaning, do I add additional code before $vbseo_stat AND also before "vbseo_log_entry..."? Or do I only do additional code 1x?

Jesh 04-19-2010 04:01 PM

Also, has anyone managed to get this implemented with photopost gallery?

NLP-er 04-23-2010 08:01 PM

Quote:

Originally Posted by motorola (Post 2019932)
and how can I do that ?

Just Google ;) MySQL manual about this issue:
http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

NLP-er 04-23-2010 08:04 PM

Quote:

Originally Posted by Noerenberg (Post 2020134)
I turn it ot, but the username are translate.

Make sure that you are not using any mod which removes html comments. If you do, then this is a reason...
Also vBET do not translate usernames in specific places (as I remember those are described in parameter description), so in other place those still will be translated. You can write me in which places exactly usernames are still translated and I will work on it for future version.

NLP-er 04-23-2010 08:06 PM

Quote:

Originally Posted by mikeinjersey (Post 2022809)
... I'm visually it must be weird having people from other countries signing up. The spelling must be hard to interpret at times. (even though its still converted over for us)

thx much

Not at all. On this forum you will wind lot of threads where people discuss with each other in different languages and understand each other completely clear :) See here: http://www.vbenterprisetranslator.com/forum/

NLP-er 04-23-2010 08:08 PM

Quote:

Originally Posted by Jesh (Post 2023812)
Do I have to do BOTH or just one? Meaning, do I add additional code before $vbseo_stat AND also before "vbseo_log_entry..."? Or do I only do additional code 1x?

You cannot have booth kinds of links. One instruction is for one kind of links, 2nd for 2nd. You have only one kind of link, so you choose instruction for you :) Just 1

NLP-er 04-23-2010 08:10 PM

Quote:

Originally Posted by Jesh (Post 2023858)
Also, has anyone managed to get this implemented with photopost gallery?

Paid version has official and confirmed way to support photopost gallery translation. Free is not supporting it and will not, because photopost is not using global_complete hook and just push results to output. If you are interested - please feel free to see vBET official page.

LoveStream 04-25-2010 04:32 AM

Thank you, NLP-er, lovely man. ;)

I installed with new version like,

Uskana 04-25-2010 01:23 PM

Quote:

3. Import in vB Admin CP -> Plugins & Products -> Manage Products -> Add/Import Product -> Choose product file, set Allow Overwrite to yes and click Import ,
Wich file ?

thnx

hany_c_v 04-25-2010 01:47 PM

Thank you for this great mod.

i installed it here http://www.mngol.com but i still have one problem

it's work only in the main page and when you try to translate the posts or any thing else it doesn't work , i am using php to html convert when i disable it it works fine , any way to make work with this html hack ?

Thank you very much

sKippah 04-26-2010 03:20 PM

Very Nice ;)
i have 2 Question.

1. How do I prevent the translation of individual text parts? I have special parts, for mirc, i dont want to be translated (e.g. /msg TEXT)

2. Is there a translation difference between the full and this (lite) version?

platini 04-27-2010 06:45 AM

hello , I have installed the mod but the translation page it's blank !!
CURL and ICONV it's active..

please help me..

http://www.newhobbysat.org/forum/index.php

basilrath 04-27-2010 02:29 PM

This mod has crashed the whole server ................... its loading rediculous errors now

Jesh 04-27-2010 03:07 PM

GREAT Mod! I installed it and bought full version a week later. Increase is great... if you don't read the directions it may be a little difficult to install, but it works nice on our site, and we are still tweaking:

NLP-er 05-02-2010 09:44 PM

Quote:

Originally Posted by Uskana (Post 2027043)
Wich file ?

thnx

/do-not-upload/product-vbenterprisetranslator.xml

NLP-er 05-02-2010 09:47 PM

Quote:

Originally Posted by hany_c_v (Post 2027056)
Thank you for this great mod.

i installed it here http://www.mngol.com but i still have one problem

it's work only in the main page and when you try to translate the posts or any thing else it doesn't work , i am using php to html convert when i disable it it works fine , any way to make work with this html hack ?

Thank you very much

Please go to mod author which made conflict to resolve it. He can contact me to get help :)
Also - what means "doesn't work" - what exactly happens.

NLP-er 05-02-2010 09:50 PM

Quote:

Originally Posted by sKippah (Post 2027653)
Very Nice ;)
i have 2 Question.

1. How do I prevent the translation of individual text parts? I have special parts, for mirc, i dont want to be translated (e.g. /msg TEXT)

2. Is there a translation difference between the full and this (lite) version?

1. Use not translated area - details in features list

2. There is big speed diference, because paid one is optimizedand it much better in performance area. Also paid version translates RSS and supports multilingual community (people can write in their own languages). And have lot other features. For details/examples please go to vBET forum :)

NLP-er 05-02-2010 09:53 PM

Quote:

Originally Posted by platini (Post 2027992)
hello , I have installed the mod but the translation page it's blank !!
CURL and ICONV it's active..

please help me..

http://www.newhobbysat.org/forum/index.php

Is it blank on every page or just on some specific (main, post...)? Do you get any error messages in logs? Did you try to temporally disable other mods to check does it is caused by some conflict?

NLP-er 05-02-2010 09:54 PM

Quote:

Originally Posted by basilrath (Post 2028127)
This mod has crashed the whole server ................... its loading rediculous errors now

This is no information for me. What help you want to get - "I'm sorry"?... ;)
Please share details if you want help.

Jabong82 05-02-2010 10:30 PM

Quote:

Originally Posted by Jabong82 (Post 2008580)
Hello this looks like a great mod, but when I install I get a white screen and this error:


"Parse error: syntax error, unexpected $end in /home/user/public_html/includes/class_core.php(4010) : eval()'d code on line 127

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4010) : eval()'d code:127) in [path]/global.php(29) : eval()'d code on line 217"

Any help would be appreciated. Thank you.

Sorry I haven't visited this thread in a while. I will send you the file (for some reason it is jumbled). If you can fix this I will purchase the commercial version. Thank you.

sKippah 05-03-2010 01:26 PM

<span style="text-decoration: line-through">Hi there. Can anybody help and tell me how i can get the Flags on a place like similiar in the attachment? Thanks</span>

Done Oo

docvader 05-06-2010 04:30 PM

Well so far it's working great for me, as advertised. I don't use VBSEO (just using standard vb 4 seo techniques). I have quite a few mods running on top of that.

Hope you get it sorted out. It's a great device to have on your site.

Jesh 05-06-2010 04:48 PM

Hate to say it guys but the mod works. It's most likely a configuration error... I made some mistakes on the install and same issues. Actually the free version installed w/o a hitch. The paid one I misconfigured...

NLP-er 05-06-2010 08:55 PM

Quote:

Originally Posted by Jabong82 (Post 2030812)
Sorry I haven't visited this thread in a while. I will send you the file (for some reason it is jumbled). If you can fix this I will purchase the commercial version. Thank you.

Where did you send it?


All times are GMT. The time now is 01:10 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.01787 seconds
  • Memory Usage 1,900KB
  • 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
  • (9)bbcode_code_printable
  • (4)bbcode_php_printable
  • (24)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