![]() |
Quick Ban
<font size="3">What does this hack do?</font>
This hack changes the Report this post to a moderator button to a link to quickly ban the user, if the user clicking the link is either an administrator, supermoderator, or moderator, and has the right permissions to ban the user. But, if the user is either an admin, supermod, or mod, then the link will be a regular report link again. The advantage about this hack is that you don't have to go all the way to the mod cp to ban a user, if you have the right permissions to, because you don't need to report the post then, anyways. |
This is convenient. Thank you!
|
I get this error...
Fatal error: Call to a member function on a non-object in /public_html/forums/admin/functions.php on line 324 EDIT: I am using 2.2.9. I just noticed this is for 2.3.2 maybe that's why? |
Thank you very much Gary, great hack. https://vborg.vbsupport.ru/external/2011/01/19.gif
|
does this work on 2.3 ?
|
Nice, but i've seen in done im template edits.
|
And also, this will add at least 3 queries per post on showthread, so if you have 10 posts displayed on showthread on each page, you can expect an additional 30 queries on your page.
|
Quote:
|
Quote:
|
There we go, no more extra queries ;)
|
All times are GMT. The time now is 08:31 AM. |
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:
|