vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Languages Chose Navbar (Flag Picture) (https://vborg.vbsupport.ru/showthread.php?t=118016)

Atakan KOC 06-07-2006 10:00 PM

Languages Chose Navbar (Flag Picture)
 
Languages Chose Navbar (Flag Picture)

Installation

Installation in three easy steps:

1. Upload all the files from the "files" directory in this zip into your forums directory.

2. Import product-langnav.xml as a product. (Via "Plugin System" > "Manage Products" > "Add/Import Product" in your Admin CP.)

3. Open Template navbar

Find

HTML Code:

<div align="center">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">

    <tr align="center">

Place under it

HTML Code:

$dilsec 
Upload

images/flag/*.* == forum/images/flag/*.*

Support Given For Who Clicked Install {ONLY}

ged 06-13-2006 06:17 AM

A nice beginning for 3.6. :)

Bulent Tekcan 08-05-2006 10:08 AM

Atakan selam

Kodu birdaha incele ??nki sorun var,3.5.4 e bakmadım ama bunda var.Ana sayfada fark edilmiyor ama konu i?indeyken değişim yapınca hata veriyor....

Quote:

Invalid Forum specified. If you followed a valid link, please notify the administrator
Gelen mesajda bu...

Sevgiler

----------------------------------------

Something wrong in base code I think.Please try...go to any forumdisplay or thread then change language.

Thanks

Bulent Tekcan 08-09-2006 08:19 PM

This plugin supoorted or not supported ? Because still same fault in this code :)

Thanks

derfelix 08-24-2006 02:47 PM

hmm does this add an extra query?
whats the advantage of this one vs. a javascript solution?
and does it redirect you to the page your were?

thx for reply

felix

Gnappy 08-28-2006 03:46 PM

thx dude, very nice hack

voter 01-18-2007 06:24 PM

When you are in a thread it is not able to detect the $session[sessionurl_q] and a error message in new language comes out "No topic specified. If you followed a valid link, please notify the administrator"

Changeing the language replaces everything, that stay after ? sign in actual sessionurl

Except this everything else is ok.
Installed

synwave 01-18-2007 06:54 PM

I dont see a folder called "Files" when I extract the Zip file.

Am I missing something?

voter 01-19-2007 01:29 PM

Quote:

Originally Posted by synwave (Post 1162394)
I dont see a folder called "Files" when I extract the Zip file.

Am I missing something?

It's misprinting, possibly a copy past from old threads.
All what you need to do is
-copy the content of images\flag subfolder into your forum/images/flag via ftp
-then use Add/Import Product in admincp to import the product-langnavbar.xml
Ready.
As well, don't blame ;o) when pressing the flag buttons in navbar in deeper levels like topics and subforums you will get error message - it means language is changed but your actual url is lost.

trickfly 01-19-2007 02:20 PM

Hi voter is this mod working then or not ? what other languages are there ? only turkish ?


All times are GMT. The time now is 09:46 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.04498 seconds
  • Memory Usage 1,745KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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