vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Ban User From A Thread (https://vborg.vbsupport.ru/showthread.php?t=109416)

Megareus Rex 03-04-2006 10:44 PM

Quote:

Originally Posted by Trigunflame
Hmms I dont know an easier way to do it right now without adding another query, I dont think its that big of a deal. Im making a small mod so you can see forum wide bans branched down into each thread as it is; adding it so it says "ban" or "unban" depending on their status is really not something im worried about right now.

Ah, ok, as long as there's a way to see bans.

Anyways, this is an excellent hack. One I've been waiting for a LONG time :)

wArDoG 03-04-2006 10:49 PM

Yeah Trig

Thanks for all your hard work on this! It's much appreciated.

Trigunflame 03-04-2006 10:59 PM

Quote:

Originally Posted by Megareus Rex
Ah, ok, as long as there's a way to see bans.

Anyways, this is an excellent hack. One I've been waiting for a LONG time :)

Hmm after digging through the mountains of includes.. I think i found a way to handle that conditional template for Ban / Unban.

Its weird cause the actual postbit variables ie. $btu cant be seen directly from the showthread.php file cause its in includes/class_postbit.php. So the workaround is adding global $btu; to a function using a hook in that file...

Will update it in a few min.

Argyle 03-04-2006 11:04 PM

Quote:

Originally Posted by lordofgun
Suggestion: Maybe a feature so you can see who has been booted from each thread. (maybe a note inside showthread somewhere)

Aye, I was going to suggest the same thing, at least for admins.

Props to you, a very sweet mod :)

Trigunflame 03-04-2006 11:09 PM

Update:
1. Conditional Ban or Unban based on Status.
Note: To upgrade, please uninstall & reinstall product, and redo install step #3.

Now shows ban or unban based on the users current status within the thread.

wArDoG 03-04-2006 11:12 PM

Quote:

Originally Posted by Trigunflame
Update:
1. Conditional Ban or Unban based on Status.
Note: To upgrade, please uninstall & reinstall product, and redo install step #3.

Now shows ban or unban based on the users current status within the thread.


You da man!

Argyle 03-04-2006 11:22 PM

Low priority suggestion: Enable thread banning of moderators if the thread isn't in the forum that they are a moderator of.

Trigunflame 03-04-2006 11:33 PM

Quote:

Originally Posted by Argyle
Low priority suggestion: Enable thread banning of moderators if the thread isn't in the forum that they are a moderator of.

Will think about it, depends what modifications i have to do.

moonclamp 03-05-2006 12:27 AM

Works well, thank you

*installs*

Trigunflame 03-05-2006 03:37 AM

:) sigh.. hopefully can get that 1 more mod finished in a bit.


All times are GMT. The time now is 07:57 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
  • Page Generation 0.01213 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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