The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Time on posbit for banned user
Just wondering if there?s code out there that will display the time someone is ?Banned? in the postbit.
Thank you |
#2
|
|||
|
|||
Make A New Plugin
Hook Location: postbit_display_start Title: Postbit Banned Date Plugin PHP Code PHP Code:
Now in postbit or postbit legacy (depend upon which one u r using) Find: Code:
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd> Code:
<vb:if condition ="!empty($post['bandate'])"> <dt>Banned Date</dt> <dd>{vb:raw post.bandate}</dd> </vb:if> |
#3
|
|||
|
|||
Thank you!
However, this didn’t seem to work. It might be because I’m using a custom template? Also, do you know of a way to “ban” someone for hours, days, etc? Thanks for the quick reply. |
#4
|
|||
|
|||
this should be working, as i tested it before posting. you must be using postbit or postbit legacy.
i hope you have enable the plugin as default is "no", so in hurry you might have forget to click on yes. Attachment 130792 to ban someone for a day, open his profile in admincp and click on ban user. then select for 1 day. |
#5
|
|||
|
|||
Oh, I see.
Thank you. I dont’ mean to be overly nitpicky, but I’m looking for a countdown. See, on my forum I want to put someone into a “timeout” for a few hours. Then I want them to know how much time they have left on their cool down and also so other people will know as well. I was thinking of something like Avatar UserTitle *CountDown TIll Out of Ban* Thank you for helping! Maybe you can make this a modification. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|