MyBB Hacks

Full Version: How to increase size of the box applicable forums
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey how can i increase the size of the multiselect box applicable forum where we select forums for the fields. if we have a big list of forum its difficult to select them.
It would be nice to have larger box

Regards
Hamster24
Css is in main.css I think:

Quote:select {
border: 1px solid #aaa;
padding: 4px;
font-size: 12px;
font-family: 'Lucida Grande', Tahoma, Verdana, Arial, sans-serif;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
outline: 0;
}

You have to increase font-size: 12px;  but it will increase also all others "Select the forums" in your ACP.

main.css is in /forum/your-admin-folder/styles/default/main.css (if you use default theme for ACP)
In admin/modules/config/threadfields.php, find the line:

PHP Code:
$form_container->output_row($lang->threadfields_forums, $lang->threadfields_forums_desc, $form->generate_forum_select('forums[]', $data['forums'], array('multiple' => true, 'size' => 5)), 'forums');

Change the number after 'size' =>

MyBB typically uses a size of 5 though, so this won't really help you out for all other areas in the ACP.

Thanks yumi
Thanks it worked now its easy to select forums
i just needed it for the forum selection.
it was really difficult to select 8-9 forums and excluding some in between.
Reference URL's