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)

NLP-er 08-19-2009 01:28 AM

Just a message to great users who set option to show flags only for guests.

Maybe you will be interested about hiding last post date for guests (less translations ;))

https://vborg.vbsupport.ru/showthread.php?t=218723

TheLastSuperman 08-19-2009 05:28 AM

Quote:

Originally Posted by TheLastSuperman (Post 1870159)
I think we both lost each other on images as that was never an issue just that Webdeveloper Plus mod I provided a link to in a previous post, that would translate but the DB error resulted form text in that however we know now that the table was never created so that was not the cause of the error ;)

And MySQL version per the previously posted DB error:



I'll drop that table ASAP and try the new, thanks for the revision and prompt replies :D.

S-MAN

Ok, table gone new one up and settings are correct:

URL tracking
If on then to URL's from your forum domain will be added language param. In other words with this option when you translate to some language, then going to other page will keep translation. = YES

It still won't carry over :(

Still nice they can simply click but it would be nice :erm: but if you think of anything else let me know & thanks regardless for the help.

S-MAN

T2x 08-19-2009 07:58 AM

Okay I have updated my vBSEO url formatting code ONE MORE TIME :D

And hopefully this is the final time that it will be necessary.

I had come to the realization that I was using an old version of the vBSEO htaccess and that although the code worked okay for some people, anybody with the latest version would have problems.

The code is updated now to take both situations into account so it will work with the latest version and be backwards compatible for a few versions back :D

You can find the post here:

https://vborg.vbsupport.ru/showpost....&postcount=181

Sweeks 08-19-2009 09:13 AM

Quote:

Originally Posted by T2x (Post 1870306)
Okay I have updated my vBSEO url formatting code ONE MORE TIME :D

And hopefully this is the final time that it will be necessary.

I had come to the realization that I was using an old version of the vBSEO htaccess and that although the code worked okay for some people, anybody with the latest version would have problems.

The code is updated now to take both situations into account so it will work with the latest version and be backwards compatible for a few versions back :D

You can find the post here:

https://vborg.vbsupport.ru/showpost....&postcount=181

It never worked this time unfortunately for me. I still get URLs in this format:

http://www.teenforumz.com/?language=sl

imported_silkroad 08-19-2009 09:29 AM

Quote:

Originally Posted by T2x (Post 1870306)
Okay I have updated my vBSEO url formatting code ONE MORE TIME :D

And hopefully this is the final time that it will be necessary.....

We quickly tried it and our board crashed... :D

I'll look into more this weekend.

Thanks for trying so hard, T2x ! :up:

imported_silkroad 08-19-2009 09:37 AM

For reference, we are running all our .htaccess code here on Ubuntu:

Code:

/etc/apache2/sites-enabled/000-default

Code:

<Directory /site/wwwroot/>

Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

RewriteEngine On

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

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

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

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(competition|admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

#              RewriteCond %{QUERY_STRING} !vbseourl=
#              RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|vbtest)
#              RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]


#              RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
#              RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

</Directory>


Lee G 08-19-2009 09:51 AM

Quote:

Originally Posted by Sweeks (Post 1870338)
It never worked this time unfortunately for me. I still get URLs in this format:

http://www.teenforumz.com/?language=sl

Same with my forum. Be one of those laws by a guy called sod that will no doubt be at fault :o

imported_silkroad 08-19-2009 10:31 AM

1 Attachment(s)
I noticed that many forums "before adding this new vBSEO code" if you try:

Code:

http://www.site.com/ar/
or

Code:

http://www.site.com/ar/link.html
(like our site)

Your get the attached error message: Invalid Forum specified. If you followed a valid link, please notify the administrator

FYI for T2x.

This error apparently happens in:

Code:

./includes/class_dm_forum.php
as

Code:

$this->error('invalid_forum_specified');
So, it seems that somewhere vB thinks that the first /en/ or /es/ or /aaa/ is a forum.

Perhaps this is not interesting or relevant... :confused: just FYI.

chick 08-19-2009 11:16 AM

Donated, thank you, MOTM vote. This is a great tool.

T2x 08-19-2009 04:08 PM

Quote:

Originally Posted by Sweeks (Post 1870338)
It never worked this time unfortunately for me. I still get URLs in this format:

http://www.teenforumz.com/?language=sl


The code I provided will not modify your flags, that is still to come.

Install just the vbseo.php code I provided and then try something like http://www.teenforumz.com/de/index.php


As far as imported_silkroad, I went over the code he sent me back and it turns out when he was modifying it he made a small typo that ended up causing the crash.

Also
Quote:

Originally Posted by imported_silkroad (Post 1870378)
I noticed that many forums "before adding this new vBSEO code" if you try:

FYI for T2x.

This error apparently happens in:

Code:

./includes/class_dm_forum.php
as

Code:

$this->error('invalid_forum_specified');
So, it seems that somewhere vB thinks that the first /en/ or /es/ or /aaa/ is a forum.

Perhaps this is not interesting or relevant... :confused: just FYI.


Yes this is to be expected, what my code does is entirely remove that first part that corresponds to the language from ever being seen by vBSEO or vB.

Effectively if you type in /de/index.php, vBSEO and vB will believe the page you are accessing is index.php?language=de


All times are GMT. The time now is 06:28 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.01535 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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