vBulletin Mods

The Official vBulletin Modifications Site

DRC - Remove unnecessary scrollbars from admin cp
by Dr.CustUmz
07 May 2014 11:25

2 Attachment(s)
UPDATE follow post 2 for both admin and mod cp, i forgot about other admins that do not have as many options, and you always want the side scrollbars to apear

This is yet another file mod hack... still not a template though lol

have you ever gotten sick of those useless horizontal scrollbars in the admincp... theyre useless and just take up scree res (although very little) but still seems like J$ would of atleast got this right, bad enough i had to fix tons of <labels & <inputs inside the php files, just so i edit them properly with valid css/html -_- *end little rant*

ok so im going to show you how J$ should have done these little do das and a quick easy way for you to fix them too =)

this is what we will be removing (...well hiding, the way they're suppose to be)

so open up your file:

search for: 2 of them

and change them to:

thats really all there is to it, hard refesh your admincp, not just navigate to another page within it.

and presto.

Dr.CustUmz 07 May 2014 23:18

as a follow up, to get this same effect in modcp it is a bit different, since modcp typically doesn't scroll, and if we set it to auto, then it will remove the scrollbars completely; and that looks pretty weird depending on your cpstyle.

so lets just get rid of the bottom scrollers (this same method could be used in the admincp index, with leaving the scrolling set to yes, but i like the way we already did admincp =)

you want to open:

search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

thats all there is to it, now we got rid of the useless bottom scrollers from both the admincp and modcp =)

All times are GMT. The time now is 04:59.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.