vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Translate Your Pages Via Google (https://vborg.vbsupport.ru/showthread.php?t=88508)

Bryan Ex 10-02-2004 08:38 PM

I get a syntax error if I try to use the XHTML portion but the big issue for me is only being about to use translation on pages not requiring a login to view (guest access). I may have to go to a commercial script in this one I guess...

58sniper 10-02-2004 09:25 PM

Do you get the error when the page with the code loads, or when you attempt to submit it?

I just checked my code again, and it worked fine. Let me know, and we'll see if we can't work it out.

Bryan Ex 10-02-2004 09:51 PM

It's when the page loads. The pop up error notice indicates a link to my forum directory and the line specified is the onsubmit function

Bryan Ex 10-02-2004 09:53 PM

LOL... I get an error on this page too actually (nothing to do with translation). Something about "null" is not a valid object. :confused:

tomshawk 10-02-2004 11:47 PM

It doesn't work for me either.

I get no translation at all

http://www.tech-unity.com

I just get errors

Actually with the old code or the new

I tryed the new code first, and right now I have the old code

Still nothing

Any help would be greatly appriciated

58sniper 10-03-2004 01:01 PM

Okay - are the errors on the resulting Google page? If so, go to YOUR site, get the source code for the page, and post the resulting code for this hack and we'll take a look (or gimme a link). It sounds like the action variable for the form might be getting set correctly.

58sniper 10-03-2004 01:06 PM

tomshawk -

I looked at yours, and the code is correct, but I notice that right after the code is another </form>.

When I copied just the code for this hack to a new document, it worked fine. I would say figure out why that extra </form> is in there.

edit: BTW - validator.w3.org reports that as a extra </form> as well, and that there isn't an open form. I'd say comment it out and see if that fixes the problem.

58sniper 10-03-2004 09:40 PM

Okay - seems there was a missing closing quote in the code I posted (which is interesting, because in the code I have in my forums, it's there).

Anyways, I updated the code above.

tomshawk 10-04-2004 10:31 AM

Quote:

Originally Posted by 58sniper
tomshawk -

I looked at yours, and the code is correct, but I notice that right after the code is another </form>.

When I copied just the code for this hack to a new document, it worked fine. I would say figure out why that extra </form> is in there.

edit: BTW - validator.w3.org reports that as a extra </form> as well, and that there isn't an open form. I'd say comment it out and see if that fixes the problem.

I think it was the </form> comment, but I did use your corrected code too, so.

Thank you, it works perfectly now ;)

imported_chuanse 12-09-2004 01:37 PM

Works perfect to me :D


All times are GMT. The time now is 09:58 AM.

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.01854 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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