The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Display Ban Reason on Error Page?
Well I switched to vB3 maybe a week or so ago, however now whenever a user is banned, they just get the generic error page. So obviously I get a LOT of emails every time a user is temp-banned, asking what happened to their account, then I have to explain why and how much longer they will be banned... an extreme pain.
When I was running vB2, I had the temp-ban hack installed, which gave them a reason and time left... but vB3 doesn't seem to have this feature. I tried searching but couldn't find a hack that would display those two simple features (ban reason and time left). Has one been made yet, or am I going to have to go making this for myself? If one hasn't been made, does anyone else find this missing feature as annoying as I do? *sigh* |
#2
|
||||
|
||||
Well, I got tired of waiting, so I made a quicky hack, basically if the user is banned it displays a page telling them they are banned, and for how long.
It's just one function, one template addition, and about 3 lines of code in the functions.php file if anyone is interested. |
#3
|
||||
|
||||
Here's the instructions since someone requested them...
1 template addition 1 function addition 1 template change Like I said, it was quick and dirty, but it works... better than a banned user getting the generic "no permissions" page... |
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
Very nice hack !
you should submit it to vB3 team |
#6
|
||||
|
||||
what about adding who banned them, since it does list that
|
#7
|
||||
|
||||
to get rid off blood war :devious:
|
#8
|
||||
|
||||
Thank you i installed it
and its great ps you should release this as i'm sure more people would find this useful ps could u edit it slightly to include permenant bans coz it looks silly when saying you are banned Quote:
you are permenantly banned If you have any questions as to why you were banned, feel free to PM or email the staff. for that screen |
#9
|
||||
|
||||
this is good and i have it installed but can anyone make it so mods/admins can type in a reason for the temp ban and have that display on the error page? this current is just a general with the time
also to temp ban for only X hours would be great too |
#10
|
|||
|
|||
I get this error when I upload the modofied functions.php
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home2/public_html/forums/includes/functions.php on line 1864 line 1864 is this but it's nowhere near where I did the modification: Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|