Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #22  
Old 12-06-2006, 11:51 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daPLAYBOY View Post
I stand corrected if I'm wrong, but here goes:

Change the Usergroup ID after this:

==

then if you wish to continue to add ID's place this:

|| inbetween, and repeat so it looks like this;

||$bbuserinfo[usergroupid]==6 then if you want to finish, place this at the end of the ID number:

)">

So! Here's an example:


Code:
<if condition="$bbuserinfo[usergroupid]==9 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==12)">
Hope this is OK!

Any experienced coder plz verify to others if it's fine. Thx!
Thanks I'll try it tonight. Just one point though, if we add other group ID's, these ones should not be able to ban any members within our own groups! We never know...
Reply With Quote
  #23  
Old 12-06-2006, 05:09 PM
scan-pa scan-pa is offline
 
Join Date: May 2006
Location: Lebanon Co. Pa. USA
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That fixed it. Exactly what I needed. Great job. Clicked "installed"

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

Hi Cybershaolin, each ID should be protected from being banned!

Kindly try the hack out, and report your findings here! Thx!

Thanks, so far, for the positive feedback guys, and I'm pleased to be able to help you all!

Br.
Reply With Quote
  #25  
Old 12-07-2006, 12:47 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well using that code gave me a parse error:
Code:
<if condition="$bbuserinfo[usergroupid] ==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">
You forgot a "(" I think at the beginning. because it goes fine after I added it Shouln't have been something like this:
Code:
<if condition="($bbuserinfo[usergroupid] ==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">
Now, I forgot to check the hack at first before doing the group modification but in both ways it does not work for me.

I see the option to ban in the postbit but when I click on it, it opens a popup window with a link like this one:
Code:
http://myforum.com/forum/modcp/banning.php?do=banuser&userid=7
It looks OK but it gives me this error page for result:
Quote:
Not Found
The requested document was not found on this server
Reply With Quote
  #26  
Old 12-07-2006, 04:13 AM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx for the feedback, Cybershaolin! I've now adjusted, as found!

Will investigate your errors and get back here shortly!

Practice make perfect in the end!

Br.
Reply With Quote
  #27  
Old 12-08-2006, 05:07 AM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, Cybershaolin! Can you tell me the 'status' that you encountered this problem? Were you performing this as Super Admin or what? If you were, then it is some other conflict within your templates?

Look forward to your feedback!

Br.
Reply With Quote
  #28  
Old 12-08-2006, 05:34 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried it as a super admin, as a super mod and as a moderator. All of them give me this error.
Reply With Quote
  #29  
Old 12-08-2006, 05:51 PM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
I tried it as a super admin, as a super mod and as a moderator. All of them give me this error.
Hi, Cybershaolin!

Sadly, it seems for sure, that your issues are not related to this Mod, but perhaps a conflict with something else! Just with 'Super Admin' alone, as directed in my code, does work 100%, as I use it!

Sometimes this does happen with different customisations!

Let's see if some other experienced coder can shed light on this for you!

Br.
Reply With Quote
  #30  
Old 12-08-2006, 06:21 PM
Lovinmysailor Lovinmysailor is offline
 
Join Date: Aug 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks works great!!!!
Reply With Quote
  #31  
Old 12-09-2006, 06:06 AM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your positive feedback, Lovinmysailor! It's such a simple, convenient, and quick code to install isn't it! No excess buttons in postbit_legacy to worry about!

Don't forget to click the 'INSTALL' button if it 'worked' for whoever downloads!

Cheers!
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 04:40 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.07159 seconds
  • Memory Usage 2,304KB
  • 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
  • (4)bbcode_code
  • (3)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
  • (4)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