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=217329)

Saviour 07-01-2009 11:45 PM

Thanks, Dave...

Fixed! It was an issue with the $mysqlserver = "localhost"; edit.

Just had to change that to the database server for the MySQL database.

floggerss 07-02-2009 12:07 AM

Quote:

Originally Posted by Dave Hybrid (Post 1841036)
It clearly states in the vbseo thread that you edit the vbseo_functions file, please pay attention.

If you edited the standard vb functions file than i would re-download the original from vb.com


I didnt edit anything, i only follow the instructions... i re upload the file.,. but the same error.

floggerss 07-02-2009 01:21 AM

wait, i use the same database... is the same?? i config that in the translate.php

1Unreal 07-02-2009 03:58 AM

Brilliant mod. Can't seem to get the flag bit to work though lol. Not sure why.

Voted 5 stars and nominated :)

Dave Hybrid 07-02-2009 10:12 AM

Quote:

Originally Posted by 1Unreal (Post 1841162)
Brilliant mod. Can't seem to get the flag bit to work though lol. Not sure why.

Voted 5 stars and nominated :)

Thanks, if you need any help, PM me your URL and ill take a quick look.

pericolosogr 07-02-2009 12:01 PM

Every time i hit a flag to translate i get a blank page!
All steps done, i have a standard vbulletin forum without vbSeo!

Any solutions?

Dave Hybrid 07-02-2009 12:13 PM

Quote:

Originally Posted by pericolosogr (Post 1841374)
Every time i hit a flag to translate i get a blank page!
All steps done, i have a standard vbulletin forum without vbSeo!

Any solutions?

Without an error message it is hard to say. If you dont get one try asking your host to turn on php errors on in the browser or ask them for your php error logs. Thanks.

pericolosogr 07-02-2009 12:17 PM

Nevermind i just saw the update!
It would be cool if you'd update immediately, just to save time to those who are experiencing this kind of problem!

NLP-er 07-02-2009 12:34 PM

Hello right now google translates non braking spaces to normal spaces what can damage some layouts. To change this behaviour edit vb Global Translator hook

and replace:
Code:

require_once("translate.php");
$output=callback($output);

to:
Code:

$output = str_replace("&nbsp;", "<&nbsp;>", $output);
require_once("translate.php");
$output=callback($output);
$output = str_replace("<&nbsp;>", "&nbsp;", $output);

Thanks :)

1Unreal 07-02-2009 01:43 PM

Quote:

Originally Posted by Dave Hybrid (Post 1841317)
Thanks, if you need any help, PM me your URL and ill take a quick look.

It was ok I worked it out. I set the hook as global complete not global start :p

You should make it into a product to help us simpletons out :p


All times are GMT. The time now is 01:55 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.01288 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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