![]() |
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 :) |
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'])"> |
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. |
1 Attachment(s)
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. |
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. |
All times are GMT. The time now is 02:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|