Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications

Reply
 
Thread Tools
Translate Your Pages Via Google Details »»
Translate Your Pages Via Google
Version: 1.00, by AN-net AN-net is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-21-2004 Last Update: Never Installs: 8
 
No support by the author.

Description:
Instantly translate all vb pages that include a footer from English to german,french,italian,and spanish.

Authors:
Sweet22 and Antonbomb22

Credits:
To google for its translation service

Tested only on Vb3 Rc3 and Rc4. There may have been code changes since betas and gamma to the templates that need to be edited by this hack. If you experience difference in code please post it and ill tell you what to do

**PLZ NOTE THAT WHEN TRANSLATING IT LOGS YOU OUT AND YOU CAN NOT LOG IN ON A TRANSLATED PAGE!** I hope to fix this issue sometime in the future, if anyone has a fix or suggestion on how to fix it is welcome.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-02-2004, 09:38 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #23  
Old 10-02-2004, 10:25 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 10-02-2004, 10:51 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 10-02-2004, 10:53 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL... I get an error on this page too actually (nothing to do with translation). Something about "null" is not a valid object.
Reply With Quote
  #26  
Old 10-03-2004, 12:47 AM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #27  
Old 10-03-2004, 02:01 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 10-03-2004, 02:06 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 10-03-2004, 10:40 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 10-04-2004, 11:31 AM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 12-09-2004, 01:37 PM
imported_chuanse imported_chuanse is offline
 
Join Date: Feb 2003
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect to me
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:32 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.08402 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete