PDA

View Full Version : Administrative and Maintenance Tools - Zoints Forumban - Ban members from a single forum


Zoints
03 Oct 2006, 12:44
This modification allows staff to ban users from a single forum for a specified time period. Once banned, the user is automatically notified via private message. When the time period is up, the user is automatically unbanned from the forum and sent a PM notifying them of this fact.

A simple "forumban user" link is added to the user options in the admincp.
https://www.vbulletin.org/forum/external/2006/10/7.png.

And there you are presented with the forumban system. From that point, it's all automated :cool:
https://www.vbulletin.org/forum/

And in vbulletin options > Zoints forumban options:

https://www.vbulletin.org/forum/external/2006/10/7.png

https://www.vbulletin.org/forum/external/2006/10/7.png


Official support for this modification will be at http://network.zoints.com in this specific forum (http://network.zoints.com/forumdisplay.php?f=58).


Changelog

2006/09/28 - 1.3.0
* Bugfix for releasing forumbans set as 'never'
* Bugfix for supermods seeing invalid forums in the forum chooser
* Bugfix for uninstalling product not dropping table

2006/08/28
* Scheduled task compatibility with vBulletin 3.6

Zoints
03 Oct 2006, 12:44
Q. I have a ton of moderators I want to allow to use the automated forumban. Is there a query I can run to do this automatically?

A.
UPDATE tableprefixmoderator set canforumban = 1



Q. How is this different from using access mask permissions?

A. This is an automated system. It automatically messages the person upon banning, automatically releases them at a time you specify, and automatically PM's them when they are released.

soulface
03 Oct 2006, 13:00
nice! installed!

lets see...

FleaBag
03 Oct 2006, 13:29
Is this usergroup controlled? Can I allow mods of forums to ban users themselves? Great hack. The Zoints factory is on full scale production. I'm thinking I'll join soon!

Zoints
03 Oct 2006, 14:04
Is this usergroup controlled? Can I allow mods of forums to ban users themselves?

Oops, I totally forgot to upload screenshots of the admincp > vBulletin options > Zoints forumban options. I'll do that now, please recheck the first post (which should answer your questions).

Great hack. The Zoints factory is on full scale production. I'm thinking I'll join soon!

Thanks :)

You ain't seen nuthin yet :cool:

Stoebi
03 Oct 2006, 14:51
Yes *installed*. Thank you very much. :)

I wish me such a hack to ban users from a thread too. Like the hack for 3.5.4, but much better. Usable optionally for thread starter, moderators, super moderators, admins and with comments why the user is banned. The banned user should know who banned the user, so the banned user can step into contact with the user which banned the user.

IMHO it's more diplomatically.


Regards, Stoebi

SportsZone
03 Oct 2006, 15:56
Installed and works like a charm :D

One thing I would love to see is a banlist like the one on LWS - maybe minus the coloured bannings (eg a banned members row in the table is blue). All banlists I have installed don't work too well :(

Thanks!

Snake
03 Oct 2006, 16:14
Wow this is what I'm looking for. Thanks! :)

nymyth
03 Oct 2006, 16:39
brilliant...nice work dave

Peace

ps..My mods cant see the options in the MODCP....any idea why?

Diana Notacat
03 Oct 2006, 19:23
This was a fantastic idea! Thanks for adding it! ^o^

ronoxQ
03 Oct 2006, 19:33
Definitely one of my favorite mods from the Zoints crew. My second favorite, in fact.

This removed the need for about 50 "banned from XXXX" usergroups, so on behalf of my aching server, I thank you.

Zoints
03 Oct 2006, 19:33
brilliant...nice work dave

Peace

ps..My mods cant see the options in the MODCP....any idea why?

We hid that option from you for mods ;)

Admincp > vbulletin options > forum manager > select the moderator in the dropdown list. Scroll all the way to the bottom and select "yes" for "can forumban?"

Azhrialilu
03 Oct 2006, 19:37
Very nice, David! :)

Gripemaster
03 Oct 2006, 19:59
Ahhhhhh, yes, what a lovely little hack... happily clicks *INSTALLED* :)

(I especially like the fact that banned users can't even see the forum they are banned from. Way cool. Thanks!)

Zelos
03 Oct 2006, 21:20
I especially like the fact that banned users can't even see the forum they are banned from. Is there an option that can disable this one feature?

steelerwatch
04 Oct 2006, 03:25
This isn't showing up in my Admin CP links. It appears in the vBulletin option, but nowhere else.

Zoints
04 Oct 2006, 03:28
This isn't showing up in my Admin CP links. It appears in the vBulletin option, but nowhere else.

Please don't take this question the wrong way, but did you try refreshing the admincp and/or clearing your cache?

Zoints
04 Oct 2006, 03:28
Is there an option that can disable this one feature?

No there isn't, sorry.

steelerwatch
04 Oct 2006, 03:40
Please don't take this question the wrong way, but did you try refreshing the admincp and/or clearing your cache?

Yep. Even uninstalled - reinstalled.

Zoints
04 Oct 2006, 04:38
Yep. Even uninstalled - reinstalled.
Did you upload cpnav_zointsforumban.xml ?

Floris
04 Oct 2006, 10:53
This is pretty nice, especially for admins and super mods when they need to ban a user from a single forum. I am thinking about actually using this on vbfans. Very cool - thanks for sharing :D

steelerwatch
04 Oct 2006, 13:15
Did you upload cpnav_zointsforumban.xml ?

LOL - yeah. I followed the instructions.

EasyTarget
05 Oct 2006, 00:54
so does this work even if we're not using zoints?

And does it limit a mod to only banning a user in a forum of which they are a moderator? I've been looking for such a mod for a long time. (So like admins can ban anyone, globally or per forum, and moderators can only ban users in the forums that they moderate)

Soup
05 Oct 2006, 03:56
so does this work even if we're not using zoints?

And does it limit a mod to only banning a user in a forum of which they are a moderator? I've been looking for such a mod for a long time. (So like admins can ban anyone, globally or per forum, and moderators can only ban users in the forums that they moderate)
Yes and yes.

You can set mod forumban permissions on a forum by forum basis, so a moderator may be able to ban users from one forum, and not from another. Supermods and admins can ban from all.

yesfans
12 Oct 2006, 11:37
AHHHH, where can I see who has been banned using this feature that is installed on my site?

yesfans
12 Oct 2006, 14:56
Can this feature also allow us to put the IP on ban also. I assume right now this is driven off of user name only? What is to stop them to come back and get back in the forum with another user name???

Bulent Tekcan
13 Oct 2006, 17:53
I didn't find phrases ? How can I translate language to our language ?

Thanks

Bulent Tekcan
15 Oct 2006, 13:09
I didn't find phrases ? How can I translate language to our language ?

Thanks

Any news for that ???

yesfans
17 Oct 2006, 20:15
RELEASE DATE makes no sense to me. Mine say a MIN ago, but were banned DAYS ago. Can enyone explain?

Bulent Tekcan
19 Oct 2006, 16:46
My cron job is not working...any idea ?

Zoints
19 Oct 2006, 19:55
AHHHH, where can I see who has been banned using this feature that is installed on my site?

After you ban the first person, it will be listed above the forum ban options on admincp > users > forumban user

Can this feature also allow us to put the IP on ban also. I assume right now this is driven off of user name only? What is to stop them to come back and get back in the forum with another user name???

It doesn't support that, sorry.

I didn't find phrases ? How can I translate language to our language ?

Thanks

Search the phrase variables for: forumban_

RELEASE DATE makes no sense to me. Mine say a MIN ago, but were banned DAYS ago. Can enyone explain?

Release date is when the person is set to have the forumban automatically expire.

Bulent Tekcan
19 Oct 2006, 20:46
I didn't find Notification Message and Message Title phrases (includes messages),can you explain me where is that ?

Thanks

Zoints
19 Oct 2006, 22:14
I didn't find Notification Message and Message Title phrases (includes message),can you explain me where is that ?

Thanks

1. setting_zointsforumban_message_title

2. setting_zointsforumban_pmtitle_title

:)

Bulent Tekcan
20 Oct 2006, 07:50
I need that....

You have been banned from {forum}!

and

Dear {user},

You have been banned from the following forum:
{forum}

Release: {release}
Reason:
{reason}

-{admin}

And of course unbanned message,because users only see this messages in his/her PM.Many forum use more than 3-4 language,and nobody knows english %100

Thanks

Note: Plugin translated no problem,my main problem in above.

Zoints
20 Oct 2006, 08:12
Ah, I see :)

Search for those in the .xml file and edit them there as desired :)

Example:

Line 284 <defaultvalue>You have been forumbanned from {forum}!</defaultvalue>

Bulent Tekcan
21 Oct 2006, 11:32
Still confused...

I need phrases...If user use EN language this message must be EN,if user use FR language this message must be FR,or TR or whatever.

Maybe you put a phrarses in XML file.

Like that maybe...

$vbphrase[zointsforum_ban_pmtitle]
$vbphrase[zointsforum_ban_pmmessage]
$vbphrase[zointsforum_unban_pmtitle]
$vbphrase[zointsforum_unban_pmmessage]

I think now very clear :) it is only need 4 phrases.

Thanks

Sidewindr
22 Oct 2006, 10:19
Can't this just be done via the Forum Permissions in the admincp ??

Bulent Tekcan
22 Oct 2006, 13:09
2006/09/28 - 1.3.0
* Bugfix for releasing forumbans set as 'never'


1- But I didn't see never in ban system....any trick for that ?

2- And also I need disable this system for supermoderator ,only Admin use...Is it possible to that ?

3- If I disable this product,users still not view banned forum...

4- Is it possible (or future plan) every ban open a thread (like that infaction system)

Zoints
23 Oct 2006, 22:48
Can't this just be done via the Forum Permissions in the admincp ??

Updated the 2nd post with the explanation :)

Bulent Tekcan
25 Oct 2006, 10:50
**Bump**

This (http://www.vbulletin.org/forum/showpost.php?p=1101332&postcount=36) and this (http://www.vbulletin.org/forum/showpost.php?p=1101951&postcount=38) messages still waiting for response :)

Thanks

Bulent Tekcan
01 Nov 2006, 17:25
**Bump**

This (http://www.vbulletin.org/forum/showpost.php?p=1101332&postcount=36) and this (http://www.vbulletin.org/forum/showpost.php?p=1101951&postcount=38) messages still waiting for response :)

Thanks

?????

Domenico
08 Nov 2006, 16:14
Can this mod be extended with an option that you can ban the user from the thread for x posts? This would be really handy.

So let's say I give him a 20 posts ban means that he can't enter this forum before he has made 20 posts in other forums.

Kayden
09 Nov 2006, 16:45
Thanks. Installed.

Luggruff
12 Nov 2006, 08:58
could you do somthing like this for threads too? Would be great to first ban them from a thread, then maybe if neccesary that certain forum.. and if that does not help: the whole forum.

And add someting allowing moderators to ban from the thread, not having to go all the way into modCP or adminCP.

Thanks! looks great!

Sidewindr
13 Nov 2006, 04:13
Updated the 2nd post with the explanation :)

Ahh that make sense :) Cool.. :)

Bulent Tekcan
27 Nov 2006, 20:18
1- But I didn't see never in ban system....any trick for that ?

2- And also I need disable this system for supermoderator ,only Admin use...Is it possible to that ?

3- If I disable this product,users still not view banned forum...

4- Is it possible (or future plan) every ban open a thread (like that infaction system)


I'm still waiting response.

Garyk
27 Nov 2006, 20:42
Excelent release thank you very much

Zoints
27 Nov 2006, 20:59
1- But I didn't see never in ban system....any trick for that ?

2- And also I need disable this system for supermoderator ,only Admin use...Is it possible to that ?

3- If I disable this product,users still not view banned forum...

4- Is it possible (or future plan) every ban open a thread (like that infaction system)

1. What do you mean? Can you elaborate please? Thanks!

2. It's not really possible at this point, sorry :(

3. Their usergroup is changed until the cronjob changes it back. If you disable it, the system does not go through and change their usergroup back.

4. There are no plans for that at this time.

Luggruff
28 Nov 2006, 07:26
Are you going to add a link in the postbit or something, allowing this moderating to be alot easier?

Bulent Tekcan
28 Nov 2006, 11:20
2006/09/28 - 1.3.0
* Bugfix for releasing forumbans set as 'never'
* Bugfix for supermods seeing invalid forums in the forum chooser
* Bugfix for uninstalling product not dropping table

This is from your first message.

* Bugfix for releasing forumbans set as 'never'

I didn't find "never" setting in this plugin.It has only timed value in settings.

lazytown
06 Dec 2006, 09:27
Simply Awesome.

-vissa

j883376
12 Dec 2006, 05:45
Are you going to add a link in the postbit or something, allowing this moderating to be alot easier?

You could use something like this if you can find yourself a suitable button image:

<if condition="can_moderate()"><img src="$stylevar[imgdir_button]/forumban.png" onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/forumban.php?do=ban&userid=$post[userid]&forumid=$forum[forumid]','ban','width=700,height=400,scrollbars=yes')" /></if>

If you don't want to use a button:

<if condition="can_moderate()"><a href="window.open('modcp/forumban.php?do=ban&userid=$post[userid]&forumid=$forum[forumid]','ban','width=700,height=400,scrollbars=yes')">Ban User</a></if>

If you do the latter, I suggest you change "Ban User" to a phrase for uniformity.

Bulent Tekcan
17 Dec 2006, 11:41
Set as never like that 01-01-1970 02:00 why ? Many members report this problem.

captainslater
18 Dec 2006, 22:46
You'll find the german version here @ vBHacks-Germany.org (http://www.vbhacks-germany.org/showthread.php?p=52856#post52856) and here @ network.zoints.com (http://network.zoints.com/showthread.php?p=17930#post17930).

Bulent Tekcan
08 Jan 2007, 19:10
I received this error if user not have a PM permission via usergroups.

Fatal error:

username has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.

Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 763

And also PM not sending,but normal infraction system working very well.

Any idea for that ?

WATRD
10 Jan 2007, 21:18
One of the truly great mods!

coderphp
11 Jan 2007, 00:23
nice hack installed!

Bulent Tekcan
16 Jan 2007, 07:18
I received this error if user not have a PM permission via usergroups.
Fatal error:

username has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.

Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 763


And also PM not sending,but normal infraction system working very well.

Any idea for that ?

Any idea for this problem ?

Bulent Tekcan
23 Jan 2007, 12:07
What is SUPPORTED ???

captainslater
23 Jan 2007, 12:21
Official support for this modification will be at http://network.zoints.com in this specific forum.


Did you read that at the very beginning of this thread?

Bulent Tekcan
23 Jan 2007, 18:12
Did you read that at the very beginning of this thread?

Yes I read it before many times.

Publish it here...support another forum.This is not acceptable :down:

Also did you see this post http://network.zoints.com/showthread.php?t=918 ? Latest reply 11-03-2006, 01:18 AM from the owner.

This http://network.zoints.com/showpost.php?p=18169&postcount=22 and this http://network.zoints.com/showpost.php?p=18707&postcount=23 posts still wait for support since 12-27-2006, 02:34 AM and 01-11-2007, 05:13 AM

I think you are not visit supported forum :cool:

Bulent Tekcan
13 Feb 2007, 11:50
I'll uninstalled this product.Please remove Supported tag here...this is not supported.

RFViet
13 Feb 2007, 20:09
That's what I'm looking for , thanks

harlita
18 Mar 2007, 10:27
Installed in 3.6.5 and it works like a charm. Awesome. Thanks!

Ivo2
24 Apr 2007, 18:13
Installed and it works. 3.6.5, thx for it, but
it seem's that work only for admin's and supermod's but not for mod's.
When I try do Ban a user as Mod (Testaccount) in a Forum, it say's that the User have been banned in this forum by "".
Any Idea?
Thx
Ivo

Ivo2
24 Apr 2007, 18:19
Installed and it works. 3.6.5, thx for it, but
it seem's that work only for admin's and supermod's but not for mod's.
When I try do Ban a user as Mod (Testaccount) in a Forum, it say's that the User have been banned in this forum by "".
Any Idea?
Thx
Ivo

Bulent Tekcan
09 May 2007, 22:10
I think you are wait for a lonnng time.This mode has a supported tag but not supported both sites.

Cheers

oldengine
27 Aug 2007, 14:13
I need this to MODERATE certain users in a specific forum...

If user number in_array (user numbers) AND forum number in_array (forum numbers) DO moderate.

Sorry about the crappy language, but you get the idea. :confused:

lostgirl815
03 Oct 2007, 04:27
Very handy - like someone else said, it does away with the annoying one-forum usergroups.

redlabour
29 Jan 2008, 18:07
Does this still work on 3.7 or are there any changes needed?

Serkan Yılmaz
02 Feb 2008, 13:14
Thanks

gbml4u
12 Feb 2008, 15:41
3.7.3 betta work good thanks for the mod

Benjamin-P
24 Mar 2008, 00:13
Is there a way to change the username which SENDS the PM?

RFViet
25 Mar 2008, 16:44
Thanks, Installed it. :p

MuGiSouL
26 Mar 2008, 20:27
thans installed

Bulent Tekcan
27 Apr 2008, 07:54
Anyone tried 3.6.10 ?

islamicvd
27 Apr 2008, 11:27
Is it working on 3.6.10?

Boss-Hog
25 May 2008, 06:05
Is it working on 3.6.10?
It works for Admins and Super Moderators, but any moderator that has the ability to forumban users in their forum receives this message (even if the user in question is not actually forumbanned):

This user has already been banned from forum "Test Forum" by "{2]".

Any ideas?

ShiZoPhreN
04 Jul 2008, 19:53
Hello Zoints,

Work this Hack with 3.7.* ?

Thanks in Advance

Hornstar
07 Nov 2008, 23:02
Uninstalled, waiting for this to be updated for 3.7 or for 3.8 gold when it comes out.

Tyran1
28 Nov 2008, 18:57
Bug !!

Presenter can close an administrator, this should not be!

German:

Moderator kann einen Administrator sperren,
das sollte nicht sein!

Forumi Shqiptar
09 May 2009, 17:24
anyone has tried this on 3.8 version?

bigcurt
26 Sep 2009, 23:44
Wondering as well.

yesfans
11 Oct 2009, 01:24
ANy update for 3.8???? Cause it dont work. pc's of it sill on the site but I can't see anything in the admi panel to ban folks.

Zylantex
17 Jan 2010, 10:14
I have just installed this on 3.8.4 and it seems to be working fine. ( see Edit )

The reported "can ban administrator" bug seems to have been addressed. It is now not possible to ban an Admin.

Many thanks to Zoints for a great mod.


Edit:

Mod only seems to work for Admins other Mods/supermods get this message even if the user in question is no longer forum banned.

This user has already been banned from forum "Test Forum" by "{2]".

I've had to remove the plugin.

nlwin
05 Mar 2011, 00:23
Please Update for vBulletin 3.8.7!!!!!!!!!!!!!!!!!!!!

squidsk
13 Jan 2012, 14:49
This mod works just fine on vb 3.8.7 pl2, and I also have it working on our 4.1.8 test server.

Alfa1
30 Nov 2013, 22:10
It only works if you do not have table prefixes. The author forgot about table prefixes.

JesWhite
03 Feb 2016, 07:54
This mod works just fine on vb 3.8.7 pl2, and I also have it working on our 4.1.8 test server.

i want to use this addon vbulletin 4.2.3
and i want a user to access forum but not reply...

blind-eddie
03 Feb 2016, 09:08
i want to use this addon vbulletin 4.2.3
and i want a user to access forum but not reply...

You can set permissions via usergroup manager to allow any usergroup to view a forum but not reply.

squidsk
03 Feb 2016, 15:11
i want to use this addon vbulletin 4.2.3
and i want a user to access forum but not reply...
The addon will work just fine on a 4.2.x install.

JesWhite
07 Feb 2016, 13:00
You can set permissions via usergroup manager to allow any usergroup to view a forum but not reply.

i want to ban only a user...
not usergroup...


The addon will work just fine on a 4.2.x install.


i will try 4.2.x
thanks for your information.

TheLastSuperman
13 Feb 2016, 23:05
i want to ban only a user...
not usergroup...


I'm not familiar with this mod, seems like I remember it lol so probably used it before but long story short I may not know what I speak of (lol) buttttt that's never stopped me before so regardless of how it works, you can work around it!

How? Make one new usergroup for this member, now in admincp you can add secondary usergroups to accounts, add them to the secondary usergroup then make sure that usergroup is not allowed to view said forum and done. Not the best solution but the point is when you're stumped, work with what you have and think outside the box ;).

squidsk
14 Feb 2016, 13:35
i want to ban only a user...
not usergroup...





i will try 4.2.x
thanks for your information.
This mod allows you to ban single users from any forum.