vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Moderators Functions - Ban Users from a Thread (https://vborg.vbsupport.ru/showthread.php?t=260080)

klaush 03-10-2011 08:16 PM

Forget my my post; i forgot to edit one template. It´s just working fine!

Thanks for that stuff!

MoMan 03-10-2011 10:23 PM

Quote:

Originally Posted by tfw2005 (Post 2171931)
In the instructions, the code you say to place in postbit legacy is missing a final </if>. Saving template throws an if/then parsing error. Adding an additional </if> to the end of your new code block fixes it.

Great catch- I've now updated the readme!

MoMan 03-10-2011 10:29 PM

Quote:

Originally Posted by inciarco (Post 2171985)
Is it Possible to Include an Option to Ban Usergroups From a Thread? :confused:

Sometimes in a Forum that All UserGroups (or Some Usergroups) can Access would be Great to be able to Ban an Entire Usergroup from Viewing the Content of Certain Thread or Threads in Particular. ;)

I Hope that Additional Option can be Possible to be Included in an Update. :up:

Thank You Very Much For Sharing this Updated Version of this Great Mod for vB3.8x. :up:

My Best Regards.

:)

I don't plan on implementing such a feature. My philosophy is to implement just one feature per product, but to do it well and with no performance overhead.

With that said, it would only take a few extra lines of code to implement it, but you'd have to add some conditionals to check whether or not a key in $btu represents a userid or a usergroup.

xorex 03-26-2011 01:35 PM

Quote:

Originally Posted by tfw2005 (Post 2171931)
In the instructions, the code you say to place in postbit legacy is missing a final </if>. Saving template throws an if/then parsing error. Adding an additional </if> to the end of your new code block fixes it.

thanks, now work fine

mary_rose082198 03-29-2011 04:47 AM

very nice mod ty :)

boggseric 03-29-2011 04:53 PM

Tagged, does this mod make it easy to see who created the thread ban? I am using AcidX's version currently but as far as I can tell there is no way to see who thread banned a user. Is that possible with this mod?

MoMan 03-29-2011 08:14 PM

I have written a version 1.1 of this mod which logs who performs the ban using the standard modlog. It has not yet been released, however.

boggseric 03-30-2011 11:21 AM

Quote:

Originally Posted by MoMan (Post 2178846)
I have written a version 1.1 of this mod which logs who performs the ban using the standard modlog. It has not yet been released, however.

Understood, I will watch for that version. Also, if there was an option to enter a reason and notify the user with that info that would be great. The logging however is a great option and is really needed for big boards. Thanks

MoMan 03-30-2011 05:31 PM

It's pretty much ready to go- I just have to package it. I'll release it when I have some extra time in the very near future.

I'm not planning on adding ban reasons, but you're welcome to re-use the code to implement the feature. The easiest way to do it would be to trigger an AJAX popup before submitting the request to ban the user, and then POST the data to the inlinemod script.

MoMan 04-05-2011 12:33 AM

New version posted!


All times are GMT. The time now is 03:41 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.01117 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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