The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Lightweight Style Options for "Lightweight Style" Details »» | ||||||||||||||||||||||||
Lightweight Style Options for "Lightweight Style"
Developer Last Online: Oct 2023
Firstly - this is only of use if you have installed the Lightweight Style
Secondly - make sure you read the notes if you use the Mobile Style and the Mobile Style Options addon. OK, now that the formalities are over, this is an add-on to the Lightweight Style It allows you to customise a few common parts of the style without needing to edit templates. It also adds in options to disable some products when the Lightweight style is being used and optionally adds "Posted by Mobile Device" type text into posts created using the mobile style. * Optionally adds links to default style (in footer or header) * Optionally add 'Posted Via Mobile' message to new posts/threads (message can be customised) * Optionally display "What's Going On" box in forum home * Optionally display Style Chooser in footer * Set 'Home' link URL (rather than editing templates) * Can optionally hide mobile style from Style Chooser Version Control: 1.0.0 - 26 AUG 2010 - Initial Release Notes: If you have installed "Mobile Style Options" (vb4) and make use of the 'Posted via Mobile Device' option, uninstalling Mobile Style Options will remove all records of posts made using the Mobile Style. The posts will of course remain, just the message will be gone. If this is not an issue for you - uninstall it BEFORE installing this addon. If you wish to keep those records, rather than uninstall it, disable it OR edit the product via Product Manager and remove all the uninstall code, save and then uninstall (this last option is the cleanest) Running them both is OK, but you will need to disable the "Add Posted By Mobile Message to Post" plugin on the Mobile Style Options product. Uninstalling one of them will affect the other and cause errors as they share database columns. If you uninstall one without making the uninstall code changes, you shjould uninstall both and then re-install the one you are staying with. Download Now
Show Your Support
|
Comments |
#142
|
|||
|
|||
how is the code to disable the portal?
|
#143
|
|||
|
|||
Thanks, excellent work!
|
#144
|
||||
|
||||
Can anybody tell me how I can disable the v3Arcade product in this style?
I found the "Enter code here to disable add ons" in the Lightweight options, but I don't have a clue about what to put in this. The v3Arcade has an option to disable the add-on in it's admin settings. |
#145
|
|||
|
|||
It doesn't look like v3arcade has a general enabled/disabled option. How is it interfering with the Lightweight style?
|
#146
|
||||
|
||||
Hi Dartho, thanks for your quick response. We're in completely different timezones, so answering can take a while
My users get the following error: Quote:
|
#147
|
||||
|
||||
Dartho, you can discard my question.
I've been digging a little deeper and found out that it was the side-block module for v3Arcade that conflicted with this style. That was designed for the CMS, but I found out it also worked on the forum. Guess there was a problem with this misuse. I've disabled this block and the errors no longer present themselves. |
#148
|
||||
|
||||
Product does not work with vBulletin 4.1.10
|
#149
|
|||
|
|||
Is there a way to insert a language chooser?
|
#150
|
|||
|
|||
maybe - you basically have to add the following code into the footer template
Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script> <div> <form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select"> <vb:if condition="$show['languagechooser']"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="{vb:rawphrase quick_language_chooser}"> {vb:raw languagechooserbits} </optgroup> </select> </vb:if> </form> </div> </vb:if> If you do not use the style chooser, search for the following and replace it with the above code Code:
<vb:if condition="$vbulletin->options['ls_default_style_link']==3"> <script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script> <div> <form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select"> <vb:if condition="$show['quickchooser']"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="{vb:rawphrase quick_style_chooser}"> {vb:raw quickchooserbits} </optgroup> </select> </vb:if> </form> </div> </vb:if> Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script> <div> <form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select"> <vb:if condition="$show['languagechooser']"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="{vb:rawphrase quick_language_chooser}"> {vb:raw languagechooserbits} </optgroup> </select> </vb:if> <vb:if condition="$show['quickchooser']"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="{vb:rawphrase quick_style_chooser}"> {vb:raw quickchooserbits} </optgroup> </select> </vb:if> </form> </div> |
#151
|
|||
|
|||
Thanks for the help on this, I know that if I want to insert the language chooser elsewhere, it requires me to create a product in the admincp so that it calls it out. I'm not sure if you're familiar with it as well because I had to do this when I wanted to create the language chooser to be on the top of my default skin.
Here's the link to what I did, I'm just not sure how I can apply it for the mobile skin: Code:
http://ipankaj.net/how-to-move-vbulletin-language-chooser-from-footer-to-navbar/ |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|