vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Quick "Translate This Page" Link (https://vborg.vbsupport.ru/showthread.php?t=166360)

rcwild 01-05-2008 03:50 PM

Quote:

Originally Posted by iogames (Post 1415495)
Well after a few hours I've improved mine alot!

http://chat.iogames.com/ ;)

even I put flags :D

That is AWESOME! How did you do it?

Netaudio 01-05-2008 05:26 PM

Thx! Installed...

SuperTaz 01-06-2008 08:26 AM

I dont have the double <br /> code in my template, just one. Where should I put your code at?

Code:

<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
        <form action="forumdisplay.php" method="get">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="daysprune" value="$daysprune" />
        <strong>$vbphrase[forum_jump]</strong><br />
        <select name="f" onchange="this.form.submit();">
                <optgroup label="$vbphrase[site_areas]">
                        <option value="cp" $frmjmpsel[usercp]>$vbphrase[user_control_panel]</option>
                        <option value="pm" $frmjmpsel[pm]>$vbphrase[private_messages]</option>
                        <option value="subs" $frmjmpsel[subs]>$vbphrase[subscriptions]</option>
                        <option value="wol" $frmjmpsel[wol]>$vbphrase[whos_online]</option>
                        <option value="search" $frmjmpsel[search]>$vbphrase[search_forums]</option>
                        <option value="home" $frmjmpsel[home]>$vbphrase[forums_home]</option>
                </optgroup>
                <optgroup label="$vbphrase[forums]">
                $jumpforumbits
                </optgroup>
        </select>$gobutton
        </form>
</div>


wim s 01-06-2008 02:07 PM

install

RWerksman 01-07-2008 02:31 AM

Warden,

I'd put it in right above the </div> and after the form end. You might need to plop a line break or two in there for it to look right.

RWerksman 01-07-2008 02:32 AM

Quote:

Originally Posted by wim s (Post 1416519)
install

Click the install button please - don't just post it in the notes. :)

wim s 01-07-2008 06:10 PM

sleeping ;), done now.

ginnser 01-10-2008 04:53 AM

THANKS VERY MUCH!!!

This was just what I was looking for, surprised so few people have installed this

Mark

SBlueman 01-10-2008 05:30 AM

Quote:

Originally Posted by RWerksman (Post 1411611)
Admin CP -> vBulletin Options -> General Settings

Add translate.google.com to the Post Referrer Whitelist.

Save.

Still logs me out even after adding this link to the Post Referrer Whitelist.

ginnser 01-13-2008 06:26 AM

I see from the Google Translate site that Chinese translation is supported, how do i amend the code to have English to Chinese (Simp and Trad) ?

Also would like to move the translate button from the Jump page, to somewhere higher up the page, can anyone sugguest a suitable location and the code !

Much appreicated


All times are GMT. The time now is 02:22 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.01139 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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