vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Ban Users From a Thread (https://vborg.vbsupport.ru/showthread.php?t=259017)

Manoel J?nior 02-20-2011 11:55 PM

Quote:

Originally Posted by NunzioG (Post 2164748)
I've this problem.

Can you fix please ?

I too

reki 02-21-2011 03:53 AM

Great mod!

I would also like to request the ability for moderators to do this, as well as admins. Our mods are regularly telling people not to post in a thread again, and this hack will be very handy.

It would also be great to add a reason, which could then appear on the user message: "You have been removed from this thread because xxx". It would also appear when admins view the thread bans list.

AcidX 02-21-2011 07:44 AM

Quote:

Originally Posted by NunzioG (Post 2164748)
I've this problem.

Can you fix please ?

Quote:

Originally Posted by Manoel J?nior (Post 2164770)
I too

NunzioG, Manoel J?nior
Make sure you have the ban icon (https://vborg.vbsupport.ru/) in /images/site_icons/ignore.png. If not, save it and add it there.

The modification uses this (default and already existing) icon from vBulletin 4 on purpose, so it would spare you the trouble of uploading a custom icon via FTP manually. But, in case for any reason you don't have the icon in your /images/site_icons folder - you should upload it manually :)



Quote:

Originally Posted by reki (Post 2164836)
Great mod!

I would also like to request the ability for moderators to do this, as well as admins. Our mods are regularly telling people not to post in a thread again, and this hack will be very handy.
It would also be great to add a reason, which could then appear on the user message: "You have been removed from this thread because xxx". It would also appear when admins view the thread bans list.

At the moment, that option is not available, but it's in my to-do list.
However, there is a simple work-around that will allow your moderators to ban users from threads - but it's kinda tricky. It will give your moderators permissions to ban users from threads even on forums that they don't moderate.

However, I must advise you to be patient. Both features you mentioned are in my to-do list.

To-Do:

- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.

Hall of Famer 02-21-2011 08:15 AM

Does this work fine on VB 4.12?

AcidX 02-21-2011 08:25 AM

Quote:

Originally Posted by Hall of Famer (Post 2164882)
Does this work fine on VB 4.12?

Yes, I'm running 4.1.2 on my board.

king zell 02-21-2011 03:23 PM

does this work on 4.0.3 ?

NunzioG 02-21-2011 05:54 PM

Quote:

Originally Posted by AcidX (Post 2164876)
NunzioG, Manoel J?nior
Make sure you have the ban icon (https://vborg.vbsupport.ru/) in /images/site_icons/ignore.png. If not, save it and add it there.

The modification uses this (default and already existing) icon from vBulletin 4 on purpose, so it would spare you the trouble of uploading a custom icon via FTP manually. But, in case for any reason you don't have the icon in your /images/site_icons folder - you should upload it manually :)

Tks. Fix it :)

sulasno 02-22-2011 04:03 AM

Quote:

Originally Posted by AcidX (Post 2163701)
That would be like banning them from the entire forum, wouldn't it? :)

It's way more useful if you could just ban the problematic users only from the particular thread that they're "fighting" in. Well, now you can! :) This way, you could punish members by restricting them access to the thread and still save the thread for the other users to discuss.

Let me know how you and your admins like it when you install it :)

going to install vB 4.1.2 during the weekend and install this mod and will post more

sola 02-25-2011 05:23 AM

Quote:

Originally Posted by AcidX (Post 2164876)
NunzioG, Manoel J?nior
Make sure you have the ban icon (http://forum.kajgana.com/images/site_icons/ignore.png) in /images/site_icons/ignore.png. If not, save it and add it there.

The modification uses this (default and already existing) icon from vBulletin 4 on purpose, so it would spare you the trouble of uploading a custom icon via FTP manually. But, in case for any reason you don't have the icon in your /images/site_icons folder - you should upload it manually :)

I still have this issue and uploading that .png file did not resolve it. Any ideas?

Thanks.

oatsy 02-26-2011 10:43 AM

Quote:

Originally Posted by sola (Post 2166602)
I still have this issue and uploading that .png file did not resolve it. Any ideas?

Thanks.

Yep. I had the same thing and used Firebug to compare the code for this icon/link in the user info to others there, e.g. 'View Forum Posts'. I noticed that in the others, the image paths were missing the leading '/'

I edited the xml file for this mod to remove it, reinstalled the mod, and it's sorted.

So, open the xml file in a text editor, go to line 62 and change it from ...

<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">

to

<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">

Save, and reinstall.


All times are GMT. The time now is 07:52 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
  • Page Generation 0.01285 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete