vb.org Archive

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

centralss 05-27-2008 11:41 PM

ok found something. I have to click ban user from thread twice, THEN is bans. After I go back to the user pop up, it shows unban user from thread, but I have to click it twice. (first time says banned user from thread, 2nd click says unbanned user from thread)

So any ideas on why I have to click it twice for banning and unbanning?

MorrisMcD 06-03-2008 03:36 PM

I decided that I was going to try out the ban via post hack instead.. Well. I didnt want to lose the bans I performed with this hack.. So I removed the uninstall code from the product before uninstalling.. Not the db tables and such are still there I guess.. I didnt like the other one as much so I decided to come back.. But now I cant install the product without removing the tables.. is there anything I can do to get the product back and maintain the existing data?

CP, 06-07-2008 10:48 PM

Hi ive discovered this works with 3.7.1 now... but only the admin can ban from thread not the moderators.. anybody know how we can make this work for moderators please... ive been trying to assign a moderator permission but it dosent work.

Konstantinos 06-21-2008 04:38 AM

i wanted to be able to see who is banned in the postbit and to ban/unban from the icon images. so in postbit_legacy

$post[iplogged]

after i added

Code:

<if condition="$show['btu_canban']">
 <if condition="!isset($btu[$post[threadid]][$post[userid]])"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/threadban.png" alt="$vbphrase[btu_ban]" border="0" /></a>
 <else />
    <a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/threadunban.png" alt="$vbphrase[btu_unban]" border="0" /></a>
 </if>
</if>

whould be nice if u could add some more stuff like ban reason . auto unban , send auto pm to banned user etc

AcidX 06-21-2008 10:22 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=183183" target="_blank">Here's the 3.7 version</a>.
I've added the option to ban through the icons too. Many thanks Konstantinos!

I'm currently working on an improved version. Here's the to-do list:

- 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.

If you have any more ideas, don't hesitate to share them with me.

Konstantinos 06-22-2008 07:07 AM

those options are cool. hope u implement them without file edits (as the other mod) . maybe an option to display which mod did the ban to avoid confusion whould be cool too.

Julrou 06-22-2008 08:59 AM

Quote:

Originally Posted by AcidX (Post 1555704)
Here's the 3.7 version.
I've added the option to ban through the icons too. Many thanks Konstantinos!

I'm currently working on an improved version. Here's the to-do list:

- 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.

If you have any more ideas, don't hesitate to share them with me.

Did you upload the new package ?

AcidX 06-22-2008 11:12 AM

Quote:

Originally Posted by Julrou (Post 1555907)
Did you upload the new package ?

Yes.
Sorry, I forgot to paste the link.

Julrou 06-22-2008 11:43 AM

Quote:

Originally Posted by AcidX (Post 1555958)
Yes.
Sorry, I forgot to paste the link.

Great !
Thanks, i'll test it on my board soon.

I'll also see if i can do something to allow mods to ban from a thread.

Stifmeister2 06-22-2008 06:01 PM

Hey, I'd like only Admins and Super Mods to be "safe" from this thread banning. We have a lot of moderators on our forums (clan forums, mods for every clan section) so many people have the immunity now. I want so that normal moderatos can be banned too.

I can edit the files by myself, just need help what to edit. ;)


All times are GMT. The time now is 07:35 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.01233 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (3)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