vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - vB Global Translator - Multiply your indexed pages & put search traffic on autopilot (https://vborg.vbsupport.ru/showthread.php?t=216218)

tansu 06-16-2009 10:40 AM

its in the localhost, I cant pm you the url :)

tansu 06-16-2009 10:41 AM

Quote:

Originally Posted by Dave Hybrid (Post 1830612)
right, but the files need to be uploaded to /doctus too. Have you done that?

Domain root and forum root are not the same.

Yes, files are in the /doctus folder

Dave Hybrid 06-16-2009 10:41 AM

Quote:

Originally Posted by tansu (Post 1830613)
its in the localhost, I cant pm you the url :)

Then I cant support you. Sorry.

yahoooh 06-16-2009 10:42 AM

conflict with vbseo

ibanez32 06-16-2009 10:55 AM

please post for VBseo !!

ubcforums 06-16-2009 10:55 AM

Hi...Can You Please Add Hindi ? (Indian Language)
Thanks ..and please post .htaccess for vbseo users because many use them

Dave Hybrid 06-16-2009 10:57 AM

It would require my coder to rework the htaccess, he is away for the next 10 days or so. After that time I may look into it.

ibanez32 06-16-2009 11:15 AM

hi

i have placed your Ht beofor VBseo Ht code:

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]
##############################################################





# 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

# 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]


but i have the following error :eek: :

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Dave Hybrid 06-16-2009 11:25 AM

I have uploaded a vbseo version, no .htaccess needed, see the origianal post for install, demo and download.

Dave Hybrid 06-16-2009 11:26 AM

Quote:

Originally Posted by ibanez32 (Post 1830625)
hi

i have placed your Ht beofor VBseo Ht code:

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]
##############################################################





# 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

# 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]


but i have the following error :eek: :

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in [path]/translate.php on line 60

Sounds like translate.php is not uploaded at all or in the correct folder. PM me your URL for further support.

GhoHan 06-16-2009 01:38 PM

Hello sir how about htaccess?
i'm not using apache but i'm using nginx as webserver.

Dave Hybrid 06-16-2009 01:41 PM

Please let me know how you get on, keen to know of any successful installs.

Dave Hybrid 06-16-2009 02:07 PM

Quote:

Originally Posted by i-comers.com (Post 1830687)
Hello sir how about htaccess?
i'm not using apache but i'm using nginx as webserver.

As you are running standard vb urls you must use the htaccess method. If you cannot use htaccess then this is not for you I'm afraid.

Dave Hybrid 06-16-2009 05:27 PM

New version released.

Now no htaccess files at all so this should run on all servers, linux, windows etc.

It is however restricted to standard vB users and vBSEO users because of URL formats.

Install is the same for both except you download a different zip for each type.

If you have already installed this I suggest you check the new instructions and reinstall, if you tried it and it didn't work I would try again.

Hope you vBSEO lot are now happy. :P

Thanks for your patience.

GamerPerfection 06-16-2009 05:52 PM

Quote:

Originally Posted by Dave Hybrid (Post 1830812)
If you have already installed this I suggest you check the new instructions and reinstall, if you tried it and it didn't work I would try again.

So I should reinstall too?

Dave Hybrid 06-16-2009 05:54 PM

Yes. The update uses much nicer flags and fixes a few bugs too. It is also now working for vbseo users.

GamerPerfection 06-16-2009 07:22 PM

Quote:

Originally Posted by Dave Hybrid (Post 1830826)
Yes. The update uses much nicer flags and fixes a few bugs too. It is also now working for vbseo users.

Re-installed, and no problems this time. :p

Dave Hybrid 06-16-2009 07:24 PM

Great, the coding is now much better to accommodate more people. Thanks.

hilfe-forum 06-16-2009 10:20 PM

HELP ;)

Warnung: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/var/www/) in [path]/translate.php (Zeile 60)

burlesque 06-16-2009 10:35 PM

I just tried the vbseo version and I received a blank white screen when I activated the first plugin. I've double checked everything and I've not done anything wrong.
:(

Dave Hybrid 06-16-2009 10:37 PM

Quote:

Originally Posted by hilfe-forum (Post 1830956)
HELP ;)

Warnung: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/var/www/) in [path]/translate.php (Zeile 60)

php is being overly protective by restricting access to the script, pass the error to your host.

You need to set open_basedir to none or comment it out in php.ini

It's a common problem with php scripts and hosts eg; http://forum.mamboserver.com/showthread.php?t=1263

Let me know how you get on and if I can help further.

Dave Hybrid 06-16-2009 10:39 PM

Quote:

Originally Posted by burlesque (Post 1830966)
I just tried the vbseo version and I received a blank white screen when I activated the first plugin. I've double checked everything and I've not done anything wrong.
:(

I am more than happy to take a look if you PM me your URL and a temp admin/FTP login.

I have installed this on quite a few peoples sites including vBSEO enabled ones.

Without seeing what is going on properly it's hard to troubleshoot.

Sweeks 06-16-2009 10:52 PM

Not working for me properly, it just constantly loads when clicking a language. Any ideas?

Dave Hybrid 06-16-2009 10:56 PM

Quote:

Originally Posted by Sweeks (Post 1830977)
Not working for me properly, it just constantly loads when clicking a language. Any ideas?

It will, translation can take time, especially with large pages.

But, as your site gets 'cached' the pages will load as fast as normal vB pages.

I tested your site and it seems slow you can login to phpmyadmin and refresh it to watch the db to be sure it is caching.

Oh, and thanks for removing the credit badge/link.

Sweeks 06-16-2009 10:58 PM

Just did ;)

Sweeks 06-16-2009 11:00 PM

I wasnt too happy about it being thrown in there without any warning in the first post of this thread. Is it okay to have removed it? Thanks

The DB size doesnt seem to have increased at all.

Dave Hybrid 06-16-2009 11:02 PM

Quote:

Originally Posted by Sweeks (Post 1830980)
Just did ;)


Pages do translate http://www.teenforumz.com/a/?hl=ar

Seems others overload your server a bit, what load are you running? and shared hosting , VPS etc?

Sweeks 06-16-2009 11:03 PM

Shared, what is the best setting do you recommend? :)

Dave Hybrid 06-16-2009 11:03 PM

Quote:

Originally Posted by Sweeks (Post 1830981)
I wasnt too happy about it being thrown in there without any warning in the first post of this thread. Is it okay to have removed it? Thanks

Was it really that big of a deal? Whats the harm in giving credit to something that will benifit you and was given away for free.

Dave Hybrid 06-16-2009 11:04 PM

Quote:

Originally Posted by Sweeks (Post 1830984)
Shared, what is the best setting do you recommend? :)

Well if your server cant handle it not much you can do but upgrade.

Sweeks 06-16-2009 11:06 PM

It wasnt a big deal at all no, I would have preffered to have known it was going to be there instead of thrown in amongst the languages.

I guess this one will be getting disabled until we upgrade in the future then :)

hilfe-forum 06-16-2009 11:12 PM

Quote:

Originally Posted by Dave Hybrid (Post 1830969)
php is being overly protective by restricting access to the script, pass the error to your host.

You need to set open_basedir to none or comment it out in php.ini

It's a common problem with php scripts and hosts eg; http://forum.mamboserver.com/showthread.php?t=1263

Let me know how you get on and if I can help further.

ok i deactivate open_basedir now i got blank Page....

http://forum.hilfe-forum.eu/?hl=it

Dave Hybrid 06-16-2009 11:13 PM

Quote:

Originally Posted by Sweeks (Post 1830987)
It wasnt a big deal at all no, I would have preffered to have known it was going to be there instead of thrown in amongst the languages.

I guess this one will be getting disabled until we upgrade in the future then :)


Seems ok now,

http://www.teenforumz.com/chillout-r...you.html?hl=da

http://www.teenforumz.com/chillout-r...you.html?hl=sv

Some times it can take a few refeshes to cache the page. The search bots will hit them enough, and over time they will be cached and indexed fine.

TimberFloorAu 06-16-2009 11:14 PM

Good Idea but.

1. you must constantly click the language icon of your choice, as you navigate to each page/post/thread

2. your demo, is quite basic. With one forum post with one word in it. I would like to see this on a busy board, I hazzard a guess, the page load would be immensely slow

Dave Hybrid 06-16-2009 11:18 PM

Quote:

Originally Posted by hilfe-forum (Post 1830990)
ok i deactivate open_basedir now i got blank Page....

http://forum.hilfe-forum.eu/?hl=it

You're using a subdomain, im not sure it is compatible. I would need to see what is going on behind the scenes.

Dave Hybrid 06-16-2009 11:21 PM

Quote:

Originally Posted by TimberFloorAu (Post 1830993)
Good Idea but.

1. you must constantly click the language icon of your choice, as you navigate to each page/post/thread

2. your demo, is quite basic. With one forum post with one word in it. I would like to see this on a busy board, I hazzard a guess, the page load would be immensely slow

And as I have said, once pages get cached after a few loads it works just fine. I have it on a few personal huge sites.

The search bots will happily hit the pages all day long until they load, caching them for you.

It is a tool for getting more pages indexed and more traffic without writing 100x more content. That's it.

hilfe-forum 06-16-2009 11:22 PM

Quote:

Originally Posted by Dave Hybrid (Post 1830994)
You're using a subdomain, im not sure it is compatible. I would need to see what is going on behind the scenes.

:( hmm ok i try on this:
http://www.hilfe-forum.eu/hilfe-forum/
tomorrow ;)

Sweeks 06-17-2009 12:10 AM

Is it normal for the DB size to not increase at all or change? Thanks

SuperTaz 06-17-2009 12:16 AM

I will install this later on tonight. Seems like a great mod.

TimberFloorAu 06-17-2009 12:29 AM

Surely tho:

To enable bots to spider all of your pages, you would need to allow guests to read all posts/threads etc.

So the reality is, based on your figures:

If you have 10,000 threads
average 5 replies per thread, and limit guest viewing to 1 view per thread, then yes you are getting potentially 280,000 indexed posts. But surely this makes no difference to the pages being indexed, because the indexing is carried out based on the language for the forum.

Your forum button doesnt change this ( icon wise )

Isnt it a bit like saying, if you have 30 styles, then it would be 30 x 10,000 x 28 languages, which would increase indexing. Which in reality it does not.?


All times are GMT. The time now is 01:04 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.02491 seconds
  • Memory Usage 1,859KB
  • 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
  • (2)bbcode_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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