The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
You Have Been Banned (!VISUALLY!)
Hello,
when we ban a user, a clear message doesn't appear when they attempt to log in telling them they've been banned. What I would like is is a mod that displays a box, similar to the no permission one, with a bit of text (custom?) to pop up on the index page and if possible all other pages too. Thanks as always Adam |
#2
|
||||
|
||||
Pretty easy
HTML Code:
<if condition="$usergroupcache["$userinfo[usergroupid]"]['genericoptions'] & ISBANNEDGROUP"> <!-- Your text here --> </if> |
#3
|
||||
|
||||
Thank you very much
Stupid question now.... Where do I put it? :S Thanks Adam |
#4
|
||||
|
||||
Another method I used:
global.php: Find: PHP Code:
PHP Code:
|
#5
|
||||
|
||||
Could also be done in phlinclude_start (or hook global_start for vBulletin 3.5).
|
#6
|
||||
|
||||
I think in 3.5 it tells you if you have been banned.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|