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)

ShawneyJ 08-27-2009 01:23 AM

great mod, has anyone here noticed an increase in traffic since using this mod???
thnks.

iGuides.ru 08-27-2009 05:20 AM

Hi. I have installed it, but i have error
https://vborg.vbsupport.ru/external/2009/08/6.png

Konstantinos 08-27-2009 01:07 PM

when using the new feature site.co/de/forum directs to 404 not found

imported_silkroad 08-27-2009 01:19 PM

Quote:

Originally Posted by Konstantinos (Post 1875260)
when using the new feature site.co/de/forum directs to 404 not found

I think you should try:

site.com/forum/de/blahblahblah

luksze 08-27-2009 03:35 PM

Not working for me with vbseo 3.3.0 and vB 3.8.4

TurkeySub 08-27-2009 03:40 PM

Quote:

Originally Posted by luksze (Post 1875325)
Not working for me with vbseo 3.3.0 and vB 3.8.4

I have it working, what issues you having?

NLP-er 08-27-2009 04:06 PM

Quote:

Originally Posted by Losko (Post 1874972)
Yes I have problems with the mod if set for the links SEO. The problem's in my forum and not by vBadvanced

PM details with forum link.

NLP-er 08-27-2009 04:11 PM

Quote:

Originally Posted by TurkeySub (Post 1875105)
HI Guys,

Found a bug/issue:

If you go directly to a page (http://www.gamerslifeline.com/news-a...-expo-pax.html) and then click the translate images, it will refresh back to English.

If you go to the forum root, index.php, then change language and go back to the page, it will be fine.

Maybe an issue with the VBSEO version of the product?

I see why It is - in flag link is not vbSEO link - just normal vB link. What is your setting for links type? Are sure that it is correct?

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

Quote:

Originally Posted by Konstantinos (Post 1875260)
when using the new feature site.co/de/forum directs to 404 not found

Link please also what are your mod settings?

NLP-er 08-27-2009 04:16 PM

Quote:

Originally Posted by luksze (Post 1875325)
Not working for me with vbseo 3.3.0 and vB 3.8.4

What kind of support you are expecting with this message? ;)
What happens? Forum link please. Some error messages?... Help me to help you :)

Losko 08-27-2009 04:23 PM

Quote:

Originally Posted by NLP-er (Post 1875339)
PM details with forum link.

PM sent yesterday

TurkeySub 08-27-2009 05:34 PM

Quote:

Originally Posted by NLP-er (Post 1875344)
I see why It is - in flag link is not vbSEO link - just normal vB link. What is your setting for links type? Are sure that it is correct?

Hi,

I believe so: Create URL's according to SEO link consensus (i.e. '/en/address') (with vbSEO only) - is what I have checked off and .htaccess updated.

RedHacker 08-27-2009 06:04 PM

NLP-er this mod worked with closed forum.....?

TurkeySub 08-27-2009 06:52 PM

Quote:

Originally Posted by RedHacker (Post 1875413)
NLP-er this mod worked with closed forum.....?

As long as your board can contact google you should be fine.

Assuming closed means, passworded or something of the sort.

NLP-er 08-29-2009 06:19 AM

Quote:

Originally Posted by TurkeySub (Post 1875399)
Hi,

I believe so: Create URL's according to SEO link consensus (i.e. '/en/address') (with vbSEO only) - is what I have checked off and .htaccess updated.

I asked about 'Link Type' not about 'Translation links type'. I mean do you have set: 'REQUEST_URI' or 'VBSEO_URI'?

NLP-er 08-29-2009 06:20 AM

Quote:

Originally Posted by RedHacker (Post 1875413)
NLP-er this mod worked with closed forum.....?

What do you mean by 'closed forum'?

NLP-er 08-29-2009 06:35 AM

Quote:

Originally Posted by Losko (Post 1875355)
PM sent yesterday

Answered :)

NLP-er 08-29-2009 06:41 AM

Quote:

Originally Posted by iGuides.ru (Post 1875173)
Hi. I have installed it, but i have error
http://pic.ipicture.ru/uploads/090827/B3rroLlNHs.png

:D I found reason (by error number 1267) - it is mySQL bug - see here:
http://bugs.mysql.com/bug.php?id=9648

Read mySQL bug discussion to find solution, or change mySQL version to some without this bug :)

Also please give me full error message - maybe I'm able to do somesthing with that.

imported_silkroad 08-29-2009 10:11 AM

Hey NLP-er,

Here is another thing for your "TODO" list :D

It is pretty easy to integrate Geotargeting by GeoIP into vBulletin.

Basically, you can have an option that when a user visits from a country, say Japan, the page is automatically redirected. For example, search referral visits from Spain, Spanish page is shown etc.

There is an old, unsupported vB mod that, with a minimal amount of work, can easily be integrated with this mod, and they fit together very nicely too :D

https://vborg.vbsupport.ru/showthread.php?p=1532639

NLP-er 08-29-2009 02:12 PM

Quote:

Originally Posted by imported_silkroad (Post 1876273)
Hey NLP-er,

Here is another thing for your "TODO" list :D

It is pretty easy to integrate Geotargeting by GeoIP into vBulletin.

Basically, you can have an option that when a user visits from a country, say Japan, the page is automatically redirected. For example, search referral visits from Spain, Spanish page is shown etc.

There is an old, unsupported vB mod that, with a minimal amount of work, can easily be integrated with this mod, and they fit together very nicely too :D

https://vborg.vbsupport.ru/showthread.php?p=1532639

Added in TODO list :D
But I think that it will be better and faster to use browser language settings instead of IP. Browsers send in heades language preferences :)

jaryx 08-29-2009 04:21 PM

Quote:

Originally Posted by NLP-er (Post 1876367)
Added in TODO list :D
But I think that it will be better and faster to use browser language settings instead of IP. Browsers send in heades language preferences :)

Or announcements/pop-up with ask for change to preferred browser language.
People like to have free choice :)

imported_silkroad 08-29-2009 04:41 PM

Quote:

Originally Posted by NLP-er (Post 1876367)
Added in TODO list :D
But I think that it will be better and faster to use browser language settings instead of IP. Browsers send in heades language preferences :)

Not always.

We read the log files :D

imported_silkroad 08-29-2009 04:43 PM

Quote:

Originally Posted by jaryx (Post 1876437)
Or announcements/pop-up with ask for change to preferred browser language.
People like to have free choice :)

That is why is an "an option" it is up to the forum admin to configure their forum how they like :D

Maybe people don't like pop-us and find them annoying.... that is why there are options :D

NLP-er 08-29-2009 05:14 PM

Quote:

Originally Posted by imported_silkroad (Post 1876273)
Hey NLP-er,

Here is another thing for your "TODO" list :D

It is pretty easy to integrate Geotargeting by GeoIP into vBulletin.

Basically, you can have an option that when a user visits from a country, say Japan, the page is automatically redirected. For example, search referral visits from Spain, Spanish page is shown etc.

There is an old, unsupported vB mod that, with a minimal amount of work, can easily be integrated with this mod, and they fit together very nicely too :D

https://vborg.vbsupport.ru/showthread.php?p=1532639

I already implemented this, but before testing I had to stop. How exactly it should work to still allow users change languages? If I force redirection then user will not be able to see other languages if he want. Also what with spiders - does spiders are using language headers?...

Just forcing redirection is weak strategy. User will use flag and will be redirected back to his browser settings...

NLP-er 08-29-2009 05:30 PM

Quote:

Originally Posted by imported_silkroad (Post 1876449)
Not always.

We read the log files :D

What log files have common with that? How it could be used to determine user language and how possibly it can be faster than just check of $_SERVER["HTTP_ACCEPT_LANGUAGE"] with simple parsing?

NLP-er 08-29-2009 05:32 PM

Quote:

Originally Posted by jaryx (Post 1876437)
Or announcements/pop-up with ask for change to preferred browser language.
People like to have free choice :)

Good idea :)

imported_silkroad 08-29-2009 05:44 PM

Quote:

Originally Posted by NLP-er (Post 1876459)
I already implemented this, but before testing I had to stop. How exactly it should work to still allow users change languages? If I force redirection then user will not be able to see other languages if he want. Also what with spiders - does spiders are using language headers?...

Just forcing redirection is weak strategy. User will use flag and will be redirected back to his browser settings...

Hey! I agree there are numerous issues and it can be complicated, maybe too complicated?

So, maybe it is too complicated to think of all the options and catch all the exceptions at this time?

I need to think about this more, since it is more complicated than first meets the eye D

Maybe useful for serving ads or other widgets in context, etc, but more difficult for page translations?

imported_silkroad 08-29-2009 05:46 PM

Quote:

Originally Posted by NLP-er (Post 1876466)
What log files have common with that? How it could be used to determine user language and how possibly it can be faster than just check of $_SERVER["HTTP_ACCEPT_LANGUAGE"] with simple parsing?

Let me think about this... .thanks.

yahoooh 08-29-2009 09:37 PM

i still need to make the links :URL's according to SEO link consensus (i.e. '/en/address')

for vba links , vbgallery and other addon that in subdomain

plz nlp try to test them in subdomain and see how it works
vba links and dyna have .htacssess and seo
so they need some test

NLP-er 08-29-2009 11:45 PM

Quote:

Originally Posted by imported_silkroad (Post 1876450)
That is why is an "an option" it is up to the forum admin to configure their forum how they like :D

Maybe people don't like pop-us and find them annoying.... that is why there are options :D

Also good point. I will made it fully configurable. Off, forced, and with asking. Also it will work only for first request in session - so user will be able to go wherever he wants and change language, even if he has forced redirection at first.

NLP-er 08-29-2009 11:50 PM

Quote:

Originally Posted by yahoooh (Post 1876560)
i still need to make the links :URL's according to SEO link consensus (i.e. '/en/address')

for vba links , vbgallery and other addon that in subdomain

plz nlp try to test them in subdomain and see how it works
vba links and dyna have .htacssess and seo
so they need some test

Give me place to test and I will work on this. If you don't like to share access to your forum, then just set up some test forum with those things in subdomain and PM me access details.

remotay 08-30-2009 12:00 AM

Wow. this plugin seems very powerful. Works like the WP-Global translator I see =P

NLP-er 08-30-2009 12:19 AM

In next release I will abandon T2x code for vbSEO integration. It will stay commented to give him credit for first integration, but not used anymore. It will be abandoned because: there was bug (didn't work for vbSEO setting where forum id act as directory), it is twisted and hard to maintain.

I already made my own solution. Safe and easy (T2x solution has 90 lines of code - mine has 5 :D). It is already tested on 2 forums and will be included in next release. My solution is a bit faster (you will not feel it, but server do less things to recognize seo translation links) and changes with .htaccess will be easier (only add new rules - no changes of existing rules like now). So for those who already have mod installed it can be little inconvenience - you will have to change .htaccess again, but this is the last time and for new installation it will be much easier :)

Also I would like to add possibility to made translations SEO links for forums without vbSEO. Just need a playground. So if someone wants this functionality - give me access to some test forum without vbSEO :)

NLP-er 08-30-2009 12:21 AM

Quote:

Originally Posted by remotay (Post 1876600)
Wow. this plugin seems very powerful. Works like the WP-Global translator I see =P

Like it? :D - Nominate it! :D

Sweeks 08-30-2009 05:27 AM

Quote:

Originally Posted by NLP-er (Post 1876603)
In next release I will abandon T2x code for vbSEO integration. It will stay commented to give him credit for first integration, but not used anymore. It will be abandoned because: there was bug (didn't work for vbSEO setting where forum id act as directory), it is twisted and hard to maintain.

I already made my own solution. Safe and easy (T2x solution has 90 lines of code - mine has 5 :D). It is already tested on 2 forums and will be included in next release. My solution is a bit faster (you will not feel it, but server do less things to recognize seo translation links) and changes with .htaccess will be easier (only add new rules - no changes of existing rules like now). So for those who already have mod installed it can be little inconvenience - you will have to change .htaccess again, but this is the last time and for new installation it will be much easier :)

Also I would like to add possibility to made translations SEO links for forums without vbSEO. Just need a playground. So if someone wants this functionality - give me access to some test forum without vbSEO :)

Awesome so is it best to turn off seo links for now?

imported_silkroad 08-30-2009 08:37 AM

Quote:

Originally Posted by NLP-er (Post 1876591)
Also good point. I will made it fully configurable. Off, forced, and with asking. Also it will work only for first request in session - so user will be able to go wherever he wants and change language, even if he has forced redirection at first.

Perfect. :D I was thinking the same thing but it seemed too much to ask you to do :o Thank so much for this idea!

NLP-er 08-30-2009 08:40 AM

Quote:

Originally Posted by Sweeks (Post 1876678)
Awesome so is it best to turn off seo links for now?

Not at all. In next release link will look same. Also mentioned bug is visible only for forums which have specific vbSEO configuration (forums act like dictionaries but not by name - just by id). Only in this case seo crasches. Next release will be safe for all configurations (but still have no playground to test it in forum with vbSEO and directory in URL...)

imported_silkroad 08-30-2009 10:18 AM

Hey NLP-er,

In case you did not see this:

http://us3.php.net/manual/en/book.geoip.php

DR.vBProf 08-30-2009 02:35 PM

çalışmıyor sanırım vbseo 3.3.0 ve vb 382 desteği yok

LoveStream 08-30-2009 04:44 PM

Dear.

I notice that I set the latest version but this conflict with photopost.

I didn't see the code of photopost what is the reason.

Here, I got the error message from the photopost header. I use the same template in the gallery with forum.

HTML Code:

Fatal error: [] operator not supported for strings in /home/hosting_users/wavero/www/gallery/index.php on line 187

I quoted the portion of error from index.php and marked with red color.
PHP Code:

    if ( $Globals['undercat'] == "yes" ) {
        
// Lets get the Recent Comments
        
$numcompal = ($Globals['numcompal'] + 5);
        
$queryz ppmysql_query("SELECT c.username,c.userid,c.cat,c.photo,c.comment,p.bigimage,p.cat,p.storecat,p.userid,p.width,p.height
                                  FROM 
{$Globals['pp_db_prefix']}comments c
                                  LEFT JOIN 
{$Globals['pp_db_prefix']}photos p ON p.id=c.photo
                                  WHERE comment != '' ORDER BY c.date DESC LIMIT 
$numcompal"$link);
        
$numfound 0;
    
        while ( list(
$cache['comments']['username'][$numfound], $cache['comments']['userid'][$numfound], $cache['comments']['cat'][$numfound], $cache['comments']['lcphoto'][$numfound], $comcomment$thumbimg$thumbcat$storecat$thumbuid$thumbw$thumbh ) = mysql_fetch_row($queryz)) {
            if ( 
$storecat != $thumbcat $storecat;
            
            
// Clean up html conversions
            
$comcomment un_htmlspecialchars($comcomment);        
            
            
// Strip out BB codes
/* --------------- this error line ---------------            
            $find[] = '#\[.*/
?\]#siU';  $replace[] = '';
--------------------------------------------------------------- end of error line */            

             
$comcomment preg_replace($find$replace$comcomment);

            
$cache['comments']['cat'][$numfound] = $thumbcat;
            
$cache['comments']['comment'][$numfound] = ( strlen($comcomment) > 100 substr($comcomment,0,100)."..." $comcomment );
            
$cache['comments']['thumblink'][$numfound] = get_imagethumb$thumbimg$thumbcat$thumbuid101$thumbw$thumbh );
            
            
// Rotated? We need unrotated...
            
if ( $Globals['rotatel'] > || $Globals['rotatep'] > )
                
$cache['comments']['thumblink'][$numfound] = str_replace("/thumbs/""/mini/"$cache['comments']['thumblink'][$numfound]);

            if ( 
$Globals['spider'] == "yes" $cache['comments']['link'][$numfound] = "{$Globals['maindir']}/showphoto.php/photo/{$cache['comments']['lcphoto'][$numfound]}/cat/{$cache['comments']['cat'][$numfound]}";
            else 
$cache['comments']['link'][$numfound] = "{$Globals['maindir']}/showphoto.php?photo={$cache['comments']['lcphoto'][$numfound]}&cat={$cache['comments']['cat'][$numfound]}";

            if ( 
$numfound == $Globals['numcompal'] ) break;
            
$numfound++;
        }
    } 

Yours.


All times are GMT. The time now is 01:47 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.02389 seconds
  • Memory Usage 1,888KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (28)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