Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
QUICK BAN in postbit_legacy for vB3.6 -Instantly ban spammers! Details »»
QUICK BAN in postbit_legacy for vB3.6 -Instantly ban spammers!
Version: 1.2, by LordDB LordDB is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.0 Rating:
Released: 12-04-2006 Last Update: 08-05-2007 Installs: 134
Template Edits
Code Changes  
No support by the author.

v1.2
About the Code:
Now you can Ban a user/spammer instantly from the postbit! Just click the Username in the thread, and then click 'Ban User' to ban directly!

This Mod has now been improved & updated today, Tuesday, 7th August, 2007, with the option of adding staff ID's which includes the extra code where required! Two Code options within!

Works on vB versions 3.6 to 3.8 so far!

Instructions of use included in Code!

Hope you enjoy its convenience!

Feedback very welcome!

Tested @
http://www.norfolkmanagementrentals....orum/index.php
http://www.cellpda.tk
http://www.satnav.tk
http://www.norfolk.tk

Enjoy!

Example here:


If you like, kindly Donate here:

PayPal


If you do download, be respectful, and Click the
Mark as INSTALLED
button in the Mod Options box top right! Thx!

Show Your Support

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

Comments
  #42  
Old 05-29-2007, 05:36 PM
medienleben medienleben is offline
 
Join Date: Feb 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, this mod is great, but pls,
how can i enable this menu? or where i can see it? ive modified post_legacy, but this menu isnt anywhere...
thanks
Reply With Quote
  #43  
Old 06-05-2007, 11:23 PM
Koroku Koroku is offline
 
Join Date: Oct 2006
Location: Minnesota, USA
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a really good idea, and I've just added it to my own forum, though I changed it up slightly.
Code:
<if condition="($bbuserinfo[usergroupid]==9 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban/Moderate $post[username]</a></span></td></tr></if>
(The usergroups are my Admins, SMods, and Sub-Admins)


Very nice idea. My staffage are gonna love it.

(And you can add it in the normal postbit too, doesn't have to be in legacy... just gotta search around for the part to add it )
Reply With Quote
  #44  
Old 06-11-2007, 10:55 PM
Heath Heath is offline
 
Join Date: Jun 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason this isn't showing up on the menu?
Reply With Quote
  #45  
Old 08-01-2007, 02:43 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please make a product for this? This way vbulletin upgrades do not interfere as much. Now the hack disappears when you upgrade.
Reply With Quote
  #46  
Old 08-06-2007, 08:26 PM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks to those who've clicked the Install button, and given feedback to this great Mod!

I've now addressed, and improved the code accordingly!

Enjoy!
Reply With Quote
  #47  
Old 09-11-2007, 10:39 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your screenshot you have the edit user function for admins. Please add this code.
Please make this into a product or plugin.
Reply With Quote
  #48  
Old 09-14-2007, 07:08 PM
proxx proxx is offline
 
Join Date: Oct 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am looking for a mod like this, but it will do 2 functions:

1) ban the user
2) delete (physically) all the posts by this user

could someone help me find this please.

thanks.
Reply With Quote
  #49  
Old 09-14-2007, 08:32 PM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello great mod, but having a bit of trouble.

This is the code I'm putting in.
HTML Code:
<!-- daPLAYBOY banUser -->
<if condition="($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7 || $bbuserinfo[usergroupid]==5 || bbuserinfo[usergroupid]==21)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban User: $post[username]</a></span></td></tr></if>
<!-- / daPLAYBOY banUser end -->
and the error I'm getting when I click "Save Template"
HTML Code:
The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected '[' in /home/brutehal/public_html/xgengamers.com/forum/includes/adminfunctions_template.php(3596) : eval()'d code on line 351

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Reply With Quote
  #50  
Old 09-15-2007, 05:20 PM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
  #51  
Old 12-03-2007, 08:39 PM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All I can say is that it might be your version of vB that isn't compatible, as on vB 6.0 it works just fine!
Reply With Quote
Reply


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 04: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.07075 seconds
  • Memory Usage 2,309KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_html
  • (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