vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - vB Enterprise Translator (https://vborg.vbsupport.ru/showthread.php?t=220886)

jaconi 08-15-2009 12:31 PM

1 Attachment(s)
plugin manager > Ep translator flags

elenh 08-15-2009 12:37 PM

Quote:

Originally Posted by jaconi (Post 1867837)
plugin manager > Ep translator flags

I have changed the path like you say but still not showing...

chick 08-15-2009 12:40 PM

I too changed the plugin path and it did not work, should I change it in the product xml and reupload??

basilrath 08-15-2009 12:43 PM

hmmmmmmmmm still no flags

paths changed

strange any thoughts?

basilrath 08-15-2009 12:49 PM

arrrrrrrrrrrrr !

i have sussed this problem ............... flags showing

elenh 08-15-2009 12:56 PM

Quote:

Originally Posted by basilrath (Post 1867847)
arrrrrrrrrrrrr !

i have sussed this problem ............... flags showing

Yeah? Haha tell us how.. please?

chick 08-15-2009 12:59 PM

Yes geez give a clue please

basilrath 08-15-2009 01:04 PM

ok

plugin manager > vB Enterprise Translator - Flags

look for the codeline:

PHP Code:

 $path '/vbenterprisetranslator_flags/';
        if (
'/' != DIR) {
          
$path DIR.$path;
        } 

if your forum is like my path ie...........http://www.yoursite.co.uk/forum/vben...anslator_flags

then change code to this:

PHP Code:

 $path '/forum/vbenterprisetranslator_flags/';
        if (
'/' != DIR ) {
          
$path $path;
        } 


NLP-er 08-15-2009 01:05 PM

Quote:

Originally Posted by bollie (Post 1867707)
Thanks
you use paypal ?

My paypal account: michal.podbielski@wp.pl

Great thanks! :)

NLP-er 08-15-2009 01:07 PM

Quote:

Originally Posted by yahoooh (Post 1867711)
also i want to prevent translation of the users name
can i use groupuser
and but code before and after user name
so it will prevent translations

You can modify templates which are generating username and set username in translation save area - see in mod description in features :)

elenh 08-15-2009 01:08 PM

Lol is working.Thanks my friend.

basilrath 08-15-2009 01:09 PM

oh and the additional css

img {border:0;}

to remove border from icons

NLP-er 08-15-2009 01:10 PM

Quote:

Originally Posted by crazymilk (Post 1867781)
loaded up but flags images not shown?

ALREADY RESOLVED IN 1.0.5

Link please and tell me your settings for flags. Did you uploaded everything from upload directory? :)

chick 08-15-2009 01:11 PM

They are showing now, the issue is this and must be this below

$path = $path;

NLP-er 08-15-2009 01:15 PM

Quote:

Originally Posted by chick (Post 1867791)
Same here on the flags, I have them in the proper location according to mouse over on the flag, using 3.8.4 vbulletin and they do not show.

ALREADY RESOLVED IN 1.0.5

Also - link please :)

NLP-er 08-15-2009 01:17 PM

Quote:

Originally Posted by jaconi (Post 1867792)
So here everything is fine and working :)

still one question , because i'm not a coder or something :eek:

if i want no border around the flags , wich code ( no border ....) must i have , and were to place it ?

Best regards a happy guy :)

Ps : i use version 3.8.4 & 1.4zip
(i did clean install !)

You can modify template for flag and set border="0" inside of img tag, or modify css, but 1st one is much easier :)

oh - if you mean about border around all flags then edirt template for flags start and set border for div

NLP-er 08-15-2009 01:21 PM

Quote:

Originally Posted by Sweeks (Post 1867806)
Thanks for the update, I dont seem to be getting messed up templates now :D

One slight problem, with URL tracking on I have a small problem where once translated I cant get back to the primary language as it translates to a different language.

ALREADY RESOLVED IN 1.0.5

Just keep available flag for your language - it will allow you to go back :)

Sweeks 08-15-2009 01:22 PM

Quote:

Originally Posted by NLP-er (Post 1867868)
You can modify template for flag and set border="0" inside of img tag, or modify css, but 1st one is much easier :)

oh - if you mean about border around all flags then edirt template for flags start and set border for div

border="0" is deprecated, he should use the CSS alternative either like this for all of his sites images:

img {border:none;}

or add the a class to the flags and the following so it only applies to the flags images:

img.flags {border:none;}

:)

NLP-er 08-15-2009 01:22 PM

Quote:

Originally Posted by elenh (Post 1867800)
Flags are not showing.. but very nice addon!

ALREADY RESOLVED IN 1.0.5

Link and settings for flags plese :)

NLP-er 08-15-2009 01:23 PM

Quote:

Originally Posted by basilrath (Post 1867805)
same here ..... flags not showing

paths are incorrect

ALREADY RESOLVED IN 1.0.5

What is wrong with the paths? :)

Sweeks 08-15-2009 01:24 PM

I have a slight problem and im not sure if Firefox is messed up, its as if the flag images arent being cached by FF for me:

Teen Forums

Look at the footer as you load the page each time it seems to reload the flag images.

NLP-er 08-15-2009 01:29 PM

Quote:

Originally Posted by elenh (Post 1867823)
The path is correct but the images are not showing...
PHP Code:

        $path '/vbenterprisetranslator_flags/'

The root folder of my forum is 'forum' i have try with that too but still not showing..

ALREADY RESOLVED IN 1.0.5


Actually it is:
Code:

        $path = '/vbenterprisetranslator_flags/';
        if ('/' != DIR) {
          $path = DIR.$path;
        }

Please give me link to your forum or at least leat me see html generated for flags.

NLP-er 08-15-2009 01:36 PM

Quote:

Originally Posted by basilrath (Post 1867857)
ok

plugin manager > vB Enterprise Translator - Flags

look for the codeline:

PHP Code:

 $path '/vbenterprisetranslator_flags/';
        if (
'/' != DIR) {
          
$path DIR.$path;
        } 

if your forum is like my path ie...........http://www.yoursite.co.uk/forum/vben...anslator_flags

then change code to this:

PHP Code:

 $path '/forum/vbenterprisetranslator_flags/';
        if (
'/' != DIR ) {
          
$path $path;
        } 


ALREADY RESOLVED IN 1.0.5


Hello :) I was hoping that this if clause will do it automatically. I want to set generic solution working for everyone without any editing. Byt my forum uses root directory and I dont have a possibility to test it. Can somebody set test forum with different directory, or give me access to existing one? I need access to admincp and ftp. Great thanks for someone who will be so kind :) It will alow me to fix it in next release :)

basilrath 08-15-2009 01:37 PM

just change to .........

PHP Code:

$path '/forum/vbenterprisetranslator_flags/';
        if (
'/' != DIR) {
          
$path $path;
        } 

fixes the issue

basilrath 08-15-2009 01:39 PM

i will set one up now

so the problem is global..... with no editing needed

NLP-er 08-15-2009 01:40 PM

Quote:

Originally Posted by chick (Post 1867865)
They are showing now, the issue is this and must be this below

$path = $path;

I don't get it :)

NLP-er 08-15-2009 01:41 PM

Quote:

Originally Posted by Sweeks (Post 1867872)
border="0" is deprecated, he should use the CSS alternative either like this for all of his sites images:

img {border:none;}

or add the a class to the flags and the following so it only applies to the flags images:

img.flags {border:none;}

:)

Even better :)

NLP-er 08-15-2009 01:46 PM

Quote:

Originally Posted by Sweeks (Post 1867875)
I have a slight problem and im not sure if Firefox is messed up, its as if the flag images arent being cached by FF for me:

Teen Forums

Look at the footer as you load the page each time it seems to reload the flag images.

Check does somesthing is sending header for no cache.

NLP-er 08-15-2009 01:47 PM

Quote:

Originally Posted by basilrath (Post 1867882)
i will set one up now

so the problem is global..... with no editing needed

ALREADY RESOLVED IN 1.0.5


Great thanks :):up: PM me details - I wil fix it once for all :)

jaconi 08-15-2009 01:51 PM

Quote:

Not translated save areas - if you need something to be not translated simply edit appropriate template and put it between <!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA-->
What is the name of the template ?

NLP-er 08-15-2009 01:58 PM

Quote:

Originally Posted by jaconi (Post 1867889)
What is the name of the template ?

You can put it whereever you want... In every template you want - the name? It depends what you want to put in translation save area.

jaconi 08-15-2009 02:08 PM

Quote:

Originally Posted by NLP-er (Post 1867892)
want - the name? It depends what you want to put in translation save area.

just username
but i'm a newbie with VB so don't know where to add it :erm:

vktechnology 08-15-2009 02:21 PM

wowww unbelieveable
This translator is very fast....

mode of the month

NLP-er 08-15-2009 02:46 PM

Quote:

Originally Posted by jaconi (Post 1867895)
just username
but i'm a newbie with VB so don't know where to add it :erm:

Hmmm... In many places... Username is shown in navbar, it is shown in postbit and also in legacy version. It would be best if you look for templates which include:
$lastpostinfo['lastposter']
or
$bbuserinfo[username]
or
$post[musername]
or
$post[username]

I don't guarantee this is all :)

Sweeks 08-15-2009 02:48 PM

Nominated for MOTM :)

NLP-er 08-15-2009 02:50 PM

Quote:

Originally Posted by vktechnology (Post 1867903)
wowww unbelieveable
This translator is very fast....

mode of the month

Took me some time to do this :) Thanks for appreciation :):up:

NLP-er 08-15-2009 02:51 PM

Quote:

Originally Posted by Sweeks (Post 1867921)
Nominated for MOTM :)

:D:D:D

imported_silkroad 08-15-2009 03:59 PM

I do not recommend people use the shared mod for the vBSEO sitemap generator for the following reasons:

The mod "interweaves" the language links (link.html?language=flag) in a serial manner, so when you work with Google sitemaps, you have no idea how much of the translated pages have been indexed in your sitemaps.

This is OK, and you can certainly do this "kludge" if you wish, if you are not comfy with a little manual labor and command line performance :D

If you want more control over your sitemaps (so you can submit Chinese language sitemaps to China, etc. and also watch the indexing process of each language) then I advise you to do something like this (what we do and it works great!):

(1) Copy the vBSEO sitemap files to another directory, for example for Korean, you could create a /sitemaps/ko directory and copy all the sitemaps from the ./vbseo_sitemaps/data directory over there.

(2) Unzip all the files with gzip -d.

(2) Edit the index file, sitemap_index.xml and put the path to the directory where you have the specific language sitemaps. You can do this with vi, for example, in 2 seconds, or sed in about the same time or less.

(3) Use sed to append ?language=flag, for example ?language=ko (for Korean) at the end of your loc files, for example </loc> tag, sed to ?language=ko</loc> This takes about 3 - 5 seconds on a big site with a 400K links in the sitemap.

(4) gzip the files.

(5) Manually add the sitemap -- sitemap/ko/sitemap_index.xml.gz (in the example above) to your favorite search engine webmaster dashboard :D

Well, you don't have to follow our advice, but that is how we do it, and we like it much better than the "interwoven, giant, humongus sitemap" method hack provided so far.

You certainly can do it that way, if you have a small site and don't actively manage your sitemaps. Or you can do it that way if you don't care :p

However, if you want to observe / manage the actual progress of how your various languages are indexed, I recommend you make a sitemap_index.xml.gz for each language, as outlined above. It takes only about 15 - 30 seconds max for each sitemap, so if you use only the top 10 Internet-languages like we do, then it only takes a few minutes, between 5 and 10 minutes manual labor.

Then again, you can use any method you like :D

I am simply sharing how we do it, and it works great. We tried "the other way" and found it "unmanagable" for a site with over 400K links in the origin language sitemap. It take a while for Google to index a large sitemap anyway, so we recommend you focus on the top 10 Internet-languages for maximum benefit :up:

Cheers!

LoveStream 08-15-2009 04:28 PM

Hello, I greet you again.
This time do you works alone this product? Anyway I need more efficient version to run.

I would like to say thank you.

Well, what least minimum version of PHP or MySQL needed to run this module?

Can I install it on the PHP 4.x.x?

Yours.

NLP-er 08-15-2009 04:51 PM

Quote:

Originally Posted by LoveStream (Post 1867975)
Hello, I greet you again.
This time do you works alone this product? Anyway I need more efficient version to run.

I would like to say thank you.

Well, what least minimum version of PHP or MySQL needed to run this module?

Can I install it on the PHP 4.x.x?

Yours.

This time it is whole mine. Each line of code. My own new algorithms, DB. Everthing :)

About minimum mysql and php - if vbulletin is working this mod should be working ;)

Unfortunatelly I don't know mnimum - but it is very easy to install and uninstall, so just try :)


All times are GMT. The time now is 01:02 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.02357 seconds
  • Memory Usage 1,851KB
  • 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
  • (1)bbcode_code_printable
  • (6)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)pagenav_pagelinkrel
  • (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