vBulletin Mods

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

Force Particular Style on Banned Usergroup
by wrongful
17 Aug 2004 02:25

This hack forces a style on a particular usergroup. The best way for me to explain what this hack actually does is by explaining to you how I use it.

I have a special style and template set on my forums created expecially for my banned and suspended users. This template contains horrible colors and pictures, annoying javascript, pop up windows, flashing backgrounds, if it's annoying, it's in there. Simply put, users in my banned usergroups are forced to see this template on all pages. I guess it can be thought of as a different sort of miserable hack. Anyhow, the file modification is real simple.

In global.php

find:

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

add above:

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

Change the variables and that's it!

If you want to do this to two usergroups just change

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

to

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

and fill in the variables.

This is my first hack, but I think I got everything right. If you have any suggestions, or questions I will be more than happy to try and answer them. I created this hack for myself, but I saw someone else request something like this here, so I am releasing it.

If you use please click install! :)

SaltedSlug 17 Jun 2005 18:48

Just what I was looking for! Cheers!

Zelda-King 29 Jan 2006 09:49

To use this on 3.5 check this thread;

http://www.vbulletin.org/forum/showthread.php?t=106557


All times are GMT. The time now is 02:36.

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.