The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I would like to remove the "--" from my quick style chooser. For example this is what it looks like now:
Style 1 --Style 1.1 ----Style 1.2 Style 2 --Style 2.1 ----Style 2.2 I would like it to be a plain list: Style 1 Style 1.1 Style 1.2 Style 2 Style 2.1 Style 2.2 I know it's generated in global.php: Code:
// ############################################################################# // Generate Style Chooser Dropdown if ($vbulletin->options['allowchangestyles'] AND empty($_POST['do'])) { $stylecount = 0; $quickchooserbits = construct_style_options(-1, '--', true, true); $show['quickchooser'] = ($stylecount > 1 ? true : false); unset($stylecount); } else { $show['quickchooser'] = false; } But if I remove the -- it still puts four ---- in front of a sub style. If anyone can tell me how to rid the quick style chooser of the dashes completely I would appreciate it. ![]() |
#2
|
|||
|
|||
![]()
In includes/functions.php around line 5415 (in function contruct_style_options) there's a line
Code:
$stylesetlist .= construct_style_options($style['styleid'], $depthmark . '--', false, $quickchooser); I don't understand the code, but it kind of looks like a minor bug where they didn't fully implement the ability to change the $depthmark |
#3
|
|||
|
|||
![]()
Thanks for the tip.
![]() Code:
. '--' from functions.php and Code:
-- from global.php. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|