vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=311130

DRC - Remove unnecessary scrollbars from admin cp
by Dr.CustUmz
07 May 2014 12: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)
http://www.vbulletin.org/forum/attac...1&d=1399461291

so open up your file:
forum/admincp/index.php

search for: 2 of them
IN POST 2

and change them to:
IN POST 2

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

and presto.
http://www.vbulletin.org/forum/attac...1&d=1399461602

Dr.CustUmz 08 May 2014 00: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:
modcp/index.php

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 22:49.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, 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.