![]() |
Set ban reason (for usergroup move) through plugins?
I have a plugin that automatic moves people to a specific ban usergroup, which works great. However, all the ban reasons are "N/A / Reason not given", Does a PHP/plugin code happen to exist that can set a specific ban reason? I'm asking in general discussions as I was hoping for a existing/valid vBulletin code that can do this without any other custom plugin.
|
I'm kind of confused what you want.
The "Ban User" function in the admincp makes it possible for you to provide a ban reason. I guess you should modify your existing plugin and make it give a ban reason along with the ban. |
Quote:
|
You would need to update the userban table as well, when your script runs.
|
Ah, so no official code for it then ey? like "banreason = yada". But then in code form :p. So, shame. Would you mind if I PM you the existing/current plugin we use? Would appreciate it.
|
Sure, you can PM it to me and I can take a look later today and see if there is anything I can do.
|
Appreciate your help, submitted the info through PM.
|
It will be later today before I can even look into it, as I am at work for the next 10 hrs.
|
10 hours work is over-kill if you ask me :p. But no worries, I appreciate the fact you are willing to take a look at it :).
|
Sorted via PM. :)
|
All times are GMT. The time now is 11:22 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:
|