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)

CThiessen 08-31-2009 01:17 PM

Hi thanks for that great mod.

But I do have two issues.
The version “address?language=en” is working fine.
But if I try to use “/en/address” it is nor working.

The links I do have are wrong. /en/forum/… instead of „/forum/en/…“
I do have:
vBSEO
.htaccess with the modifications in the /forum/ directory

I put in “/forum” at the Forum directory section, but it look like that is totally ignored what I put in there.


And a little one:
“ar” means Arabic but the flag is from Argentina

Christian

Dr.LoVe 08-31-2009 05:50 PM

Quote:

Originally Posted by NLP-er (Post 1874861)
I don't know what you mean - it is reversed. Even scroll bar is on left side. It works fine :)

Note that browser is responsible for reversing - mod just give a hint that it should be done. Opera supports it - which browser are you using?

Maybe , but i don't use Opera

i'll install it on my VB and also i'll tell you

thanx

CThiessen 09-01-2009 06:43 AM

Good morning,
some News from Google:
http://googleblog.blogspot.com/2009/...speaks-51.html
Quote:

Today, we're excited to announce that we've added nine new languages to Google Translate: Afrikaans, Belarusian, Icelandic, Irish, Macedonian, Malay, Swahili, Welsh and Yiddish. That means that Google Translate now supports 51 languages and 2550 language pairs ? including all 23 official EU languages.
Christian

imported_silkroad 09-02-2009 08:37 AM

Quote:

Originally Posted by CThiessen (Post 1877610)
Good morning, .... some News from Google:

It might be better if Google Translate would use the ISO 3166-1 Alpha 2 standard for country codes when possible.

For example, Google uses "JA" for Japanese, but the country code for Japan is actually "JP". Google uses "SV" for Swedish, but the ISO standard for Sweden is "SE" (SV is El Salvador) . Google uses "DA" for Danish, but the ISO standard for Denmark is "DK" etc.

I tried to comment about this on the official Google blog, but they (Google) don't permit comments. I realize that the 2 digit country codes do not map directly to languages, but the way Google does it does not make any sense to me, especially for country/language pairs such as Japan/Japanese, Denmark/Danish, Sweden/Swedish, etc.

:confused::confused::confused:

NLP-er 09-02-2009 09:46 AM

Sorry guys - I'm very busy this and next week.

I will read each post and PM when I will find time, answer all the questions and give support where it will be still needed.

Right now I just have to take care about own issues :)

Sp32 09-02-2009 05:32 PM

all forums are coming up empty, no links are being shown and no threads on forumhome are coming up, I uninstalled vbseo and error still occured, really want this mod :(

CThiessen 09-02-2009 06:47 PM

Hi,
did you set your Forum Forum language?
If not this is a reason why the pages are empty.

Christian

NLP-er 09-03-2009 07:29 AM

Quote:

Originally Posted by LoveStream (Post 1876905)
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.

Hi :) For me this error line have no sense ;) Also cannot imagine how my mod can influence this behaviour, because there are just constant values added to some internal variables. Are you sure that this is the line? Are you sure that this mod causes conflict (dissable it and check does problem still egsists)?

NLP-er 09-03-2009 07:37 AM

Quote:

Originally Posted by CThiessen (Post 1877162)
Hi thanks for that great mod.

But I do have two issues.
The version “address?language=en” is working fine.
But if I try to use “/en/address” it is nor working.

The links I do have are wrong. /en/forum/… instead of „/forum/en/…“
I do have:
vBSEO
.htaccess with the modifications in the /forum/ directory

I put in “/forum” at the Forum directory section, but it look like that is totally ignored what I put in there.


And a little one:
“ar” means Arabic but the flag is from Argentina

Christian

Hi thanks for note :)

Setting /forum at the forum directory makes not SEO links working for you :)

SEO links are not tested on forums with directory in URL. I'm still wayting for someone who will set me test forum with vbSEO and directory in URL, or give me access to exicting one. Till then I have no possibility to test it.

So if you want this functionality working for you give me place to implement it. If you don't need it, then case is closed :)

About flags - I know there are also some other wrong flags - It will be corrected in next relese :)

NLP-er 09-03-2009 07:43 AM

Quote:

Originally Posted by Dr.LoVe (Post 1877297)
Maybe , but i don't use Opera

i'll install it on my VB and also i'll tell you

thanx

I just checked it also on IE8, Mozilla Firefox and Chrome - everywhere works fine. What kind of browser are you using:confused:


All times are GMT. The time now is 11: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.02149 seconds
  • Memory Usage 1,792KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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