Log in

View Full Version : Ban Via Postbit


aspen1018
10-09-2008, 02:56 PM
I had a great mod installed for vBulletin v3.6 that allowed me to thread or site ban from the postbit.

I was wondering if their is a mod available for vBulletin 3.7 that would do the same thing.

Thanks

exel
10-09-2008, 03:25 PM
have u tried the 3.6 one on 3.7?

maybe it will work..

if not. then see who made it and search for an update

aspen1018
10-09-2008, 07:04 PM
have u tried the 3.6 one on 3.7?

maybe it will work..

if not. then see who made it and search for an update



it stopped working when i upgraded to 3.7, the original post does not contain an update for 3.7

orryun
10-09-2008, 07:16 PM
Just place wherever you want in the postbit template:
<div><strong><a href="modcp/banning.php?$session[sessionurl]do=banuser&amp;u=$post[userid]">Ban this user!</a></strong></div>

For example, you can do:
search [in postbit]:
$template_hook[postbit_user_popup]

add above:

<if condition="$show['modcplink']">
<if condition="$post[usergroupid]=='8'"><!-- if user is banned -->
<tr><td class="vbmenu_option">
<a href="modcp/banning.php?do=liftban&u=$post[userid]"><strong>Lift ban</strong></a>
<else /><!-- user is not banned -->
<tr><td class="vbmenu_option">
<a href="modcp/banning.php?$session[sessionurl]do=banuser&amp;u=$post[userid]"><strong>Ban User</strong></phrase></a></td></tr></if></if>

This will add new option to ban/lift ban (seen only to moderators) username in the menu (the one that pops out when you click on someone username)

aspen1018
10-09-2008, 07:23 PM
appreciate it I'll give it a try