Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Quick Ban/UnBan Details »»
Quick Ban/UnBan
Version: 1.00, by sketch42 sketch42 is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 07-27-2005 Last Update: Never Installs: 39
Template Edits
 
No support by the author.

Since the Modcp link is gone from the bottom of the
page my moderators needed a quick way to ban a user without going
to the modcp. So this hack adds aoption to Ban a user directly from
the offending post, via the drop down menu link by the users name.
This is Moderator Forum Specific, which means moderators can only ban
users in their own forum, and not in another moderators forum. Also a
moderator can not ban any of the forum Administrators.


This Hack is Based on Erwins Warning System/Automatic Ban Hack and Magnus's Add On.

if you do not want to have the UnBan Link than just remove this line
Code:
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=liftban&userid=$post[userid]','liftban','width=500,height=375,scrollbars=yes')"><b>Lift Ban on $post[username]</b></span></td></tr>
also if you do not want it to be forum specific for your moderators replace this
Code:
<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
with this
Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-29-2005, 06:06 AM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree with Brinnie, I'd like a hack to ban a member from just one forum, or so that moderators' bans don't affect the users access to other forums.

Like I have one forum that is pretty much anything goes, and then others taht have stricter guidelines, I'd like it so that mods of the more strict forums can't ban the problematic users from the other forums.

anyways.. nice hack on the quick ban.
Reply With Quote
  #13  
Old 08-08-2005, 06:06 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyTarget
I agree with Brinnie, I'd like a hack to ban a member from just one forum, or so that moderators' bans don't affect the users access to other forums.

Like I have one forum that is pretty much anything goes, and then others taht have stricter guidelines, I'd like it so that mods of the more strict forums can't ban the problematic users from the other forums.

anyways.. nice hack on the quick ban.
i made a feature request over at vB. One of the staff said he might do it.
Reply With Quote
  #14  
Old 08-08-2005, 06:08 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brinnie
i made a feature request over at vB. One of the staff said he might do it.
If you hear any more on it, I'd be curious to check it out.
Reply With Quote
  #15  
Old 08-08-2005, 02:39 PM
sketch42's Avatar
sketch42 sketch42 is offline
 
Join Date: May 2004
Location: Brooklyn, NY
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
If you hear any more on it, I'd be curious to check it out.
ive been trying to make it for 3.5 and 3.0.7
in 3.5 i cant find the right hooks though
Reply With Quote
  #16  
Old 08-08-2005, 02:58 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe ask Kirby?
Reply With Quote
  #17  
Old 08-08-2005, 04:12 PM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool Brinnie, please keep me updated on the status, or sketch if you end up figuring out how to do it. Its definatly a feature I'm looking for.
Reply With Quote
  #18  
Old 08-23-2005, 06:29 PM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyTarget
cool Brinnie, please keep me updated on the status, or sketch if you end up figuring out how to do it. Its definatly a feature I'm looking for.
Well I was gonna go find the topic, but vB com seems to be down.
Reply With Quote
  #19  
Old 08-23-2005, 08:26 PM
SuperFly SuperFly is offline
 
Join Date: Feb 2005
Location: Mentor,Ohio
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try refreshing its not down
Reply With Quote
  #20  
Old 08-23-2005, 08:34 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should be able to just edit access masks for problem users, and deny them access to particular forums.
Reply With Quote
  #21  
Old 08-23-2005, 08:43 PM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ConqSoft
You should be able to just edit access masks for problem users, and deny them access to particular forums.

Um... Hmm. Wouldn't you need to set up like 15 permissions masks?

And how would you determine which group they go in when a mod banns them?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:16 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.04462 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete