vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Translate every page on the fly (https://vborg.vbsupport.ru/showthread.php?t=215248)

doa24uk 06-02-2009 10:00 PM

Translate every page on the fly
 
NOTE: This MOD will work on ANY version of vBulletin - 3.4,3.5,3.6,3.7,3.8 etc...


This will give you a Google translate box which will allow users to translate your pages on the fly into their own language!


Step 1


Go here and choose your forum native language, copy the code given in the box.

Step 2


In FORUMHOME FIND

Code:

<!-- end today's birthdays -->
</if>

INSERT AFTER

{Code copied from Step 1}


In FORUMDISPLAY FIND

Code:

<!-- ############## END THREADS LIST ##############  -->
</if>


INSERT AFTER

{Code copied from Step 1}


In SHOWTHREAD FIND

Code:

<!-- / social bookmarking links -->
</if>

INSERT AFTER

{Code copied from Step 1}


In USERCP FIND

Code:

$template_hook[usercp_main_pos6]

INSERT AFTER

{Code copied from Step 1}


DEMO:

FORUMHOME
FORUMDISPLAY
THREAD DISPLAY


All times are GMT. The time now is 01:10 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.00941 seconds
  • Memory Usage 1,710KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete