vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - [OzzModz] Style & Language Selector In NavBar (https://vborg.vbsupport.ru/showthread.php?t=305168)

ozzy47 11-28-2013 11:00 PM

[OzzModz] Style & Language Selector In NavBar
 
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png


This is just a simple mod, to allow you to have the Style Chooser and/or
the Language Chooser in the navbar, or in the header.

To add the choosers in the header, requires you to add the following code to the very end in your header template.
Code:

{vb:raw show.ozzmodz_style_lang_chooser}
It is a simple installation, just import the product XML, product-ozzmodz_styles_navbar

Note: There is two XML's in the zip file, one is for vB versions 4.2.0 and above, the other one is for vB versions 4.1.12 and below, so choose the one to install accordingly.

You can edit the options under the settings, [OzzModz] Style & Language Selector Settings

Complete Feature List
  • Option to disable the mod completely.
  • Option to show the Style Chooser
  • Option to show the Language Chooser.
  • Option to disable the auto deploy of the mod, so you can manually add it to your header..
First screenshot is how it looks in the header, second one is how it looks in the navbar, third one is of the settings.

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

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

v1.0.0 Initial Release

-------------------------------------------------------------------------------------------
Contributions Received (members who clicked on, and followed through with the Support Developer button)

bazookajoe

ozzy47 11-29-2013 05:32 PM

Reserved

bazookajoe 11-30-2013 02:20 AM

Excellent Mod! Thanks Ozzy!

Downloaded and installed, work great!

ozzy47 11-30-2013 02:21 AM

Quote:

Originally Posted by bazookajoe (Post 2464713)
Excellent Thanks Ozzy!

Don't forget to mark as installed. :)

Edit: I see you now did, and thanks for the donation, I noted it in the first post. :D

bazookajoe 11-30-2013 02:44 AM

More donations coming..I've installed a couple of your other mod so I will pitch in more as I know it takes time and skills for this work.

New Joe 11-30-2013 04:23 AM

Nice to see someone still making good mods for vB4 good on ya mate.
Keep them coming

ozzy47 11-30-2013 04:32 AM

Thanks. :)

SLY LS1 01-04-2014 05:56 AM

Great mod

Note: this has an issue when using IE11

It add and extra space between the navbar and the header image

Work fine in IE11 compatability mode though

cheers

RichieBoy67 01-04-2014 07:03 AM

Great idea Ozz! Will check it out soon!

ozzy47 01-04-2014 11:15 AM

Glad ya like it, and thanks for marking as installed. :)

RichieBoy67 01-04-2014 11:39 AM

I like this but thinking I want to move it to the top bar. Not sure but going to play around with it. it is great for newer Vbulletin users to see that there are other themes they can use if wanted.

I usually have a low res theme, default and a main modified theme but who knows how many people ever look at the bottom of the page for the theme selector.

Thanks again brother

#-Update

This is where I added minehttps://vborg.vbsupport.ru/data:imag...BJRU5ErkJggg==

I just added it here in the top links section in the header template. Nice mod dude!

PHP Code:

<vb:if condition="$show['member']">

    <
div id="toplinks" class="toplinks">
            <
ul class="isuser">
<
li>{vb:raw show.ozzmodz_style_lang_chooser}</li


ozzy47 01-04-2014 11:52 AM

Cool, glad it actually works up there. :)

mitch84 01-20-2014 04:04 PM

conflict with this style, can you fix that? thx
https://vborg.vbsupport.ru/showpost....&postcount=492

RichieBoy67 01-20-2014 05:15 PM

Quote:

Originally Posted by mitch84 (Post 2475580)
conflict with this style, can you fix that? thx
https://vborg.vbsupport.ru/showpost....&postcount=492

Your link leads to something that really does not explain anything. Can you be more specific?

Did you try the instructions he gave me a few posts up about turning off auto edits?

ozzy47 01-20-2014 06:18 PM

I have no trouble with it in that style waiting for more feedback in the style's thread. :)

RichieBoy67 01-20-2014 06:28 PM

Oh yeah, I see now. I did not even think to look at the full version of the thread. I thought it was a link to another post in this thread but I just realized this thread is new with only 13 posts and the number on that one was very high. My bad - :erm:

TheLastSuperman 01-20-2014 06:39 PM

Quote:

Originally Posted by mitch84 (Post 2475580)
conflict with this style, can you fix that? thx
https://vborg.vbsupport.ru/showpost....&postcount=492

Fix is in this post: https://vborg.vbsupport.ru/showpost....&postcount=495

;)

Quote:

Originally Posted by ozzy47 (Post 2475605)
I have no trouble with it in that style waiting for more feedback in the style's thread. :)

I reckon it depends on whether you have it auto-placing itself or defining the position manually using {vb:raw show.ozzmodz_style_lang_chooser} in your templates. It is however confirmed by me that it's a issue related to my custom style, has nothing to do with the functionality of this mod ;).

Barcham 01-27-2014 09:27 PM

I have a board that caters to both English and French members and this will be extremely useful for me so that members can see right off the bat that they can change the language to their preference. Thanks a lot! Great hack.

ozzy47 01-27-2014 11:19 PM

Glad ya like it, and thanks for marking as installed. :)

fxdigi-cash 04-17-2014 10:56 PM

great mod!! Thanks ozzy47.

I have one question though. is it possible to append a language to style directly through coding??

meaning if I go to forum 3 the language and style change based on coding.

for example, let's say we have forums 1,2,3 are English and Blue style Skin, and forums 5,6,7 are in Hebrew or Arabic with Red style Skin. Whoever go around these forums 1,2,3 the language and style are always the same. However, the language and style change whenever a user goes to forums 5,6,7....

I know this can be done manually by clicking language from time to time, but is there a way how to do that without clicking manually??

Thanks


All times are GMT. The time now is 09:57 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.04279 seconds
  • Memory Usage 1,797KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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