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

Reply
 
Thread Tools
Banned Users List + Auto-Post Editing Details »»
Banned Users List + Auto-Post Editing
Version: 2.00, by afterfl0w afterfl0w is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-27-2006 Last Update: 06-27-2006 Installs: 16
Template Edits
Code Changes Additional Files  
No support by the author.

First hack released here, it's pretty useful too! I put a lot of work into it, I hope you guys will enjoy it

Afterfl0w's Banned Users List + Auto-Post Editing

Banned List?

I'm sure you all have a basic idea of what a ban list is and does. But for those who don't, this is a script that will be uploaded to your forum, and when you view it, it will display all current and past bans. This banlist LOGS all bans in a table, to set a permanent example for new users.

The banlsit is useful for showing new users exact reasons for getting punished, ect.



Auto Post Editing?

This is a completely new feature that I haven't seen before. What this does, is if the user is banned straight from their post, via a link (shown below):



If they are banned via this link, it will auto-edit their post with a message saying "User banned for this post: [reason]". The screenshot below differs a tad because it has been customized for that forum:




This is amazing. How Do I Install?

Easy. Download the attachted Zip, upload files and follow the file edit directions in the install.txt.

Afterwards, you must edit the banlist_banbit template to accomidate your needs for the bantype. Eg:

HTML Code:
<if condition="$banned['bannedpost']"><a href="$banned[bannedpost]"><if condition="$banned[type] == '8'">TIMEOUT</if><if condition="$banned[type] == '20'">PERMABAN</if></a><else /><if condition="$banned[type] == '8'">TIMEOUT</if><if condition="$banned[type] == '20'">PERMABAN</if></if>
You can edit the texts PERMABAN and TIMEOUT, and also the usergroupIDs of your banned usergroups. Do not edit the other parts, otherwise there will be links to the post even if there isn't one.


Questions? Support?

You can contact me on MSN at: flamethrower_stickattack@hotmail.com
I don't mind helping you customize the hack, since it could be a challenge for people newer to PHP. Just add me to MSN or E-Mail me and tell me you're from vB.org

Posting here would be a better idea, but if you prefer MSN or E-mail, feel free.


I'm not going to post a link forcing you to install this hack, but installs are greatly appreciated


Have a nice day all! :banana:

-afterfl0w

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 06-29-2006, 05:19 PM
afterfl0w's Avatar
afterfl0w afterfl0w is offline
 
Join Date: Mar 2004
Location: Canada
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
Yes m8, as far as i know, I always copyu an paste so cant go wrong there
Please check the names to be 100% sure. Also, have you banned anyone yet?

Old bans will NOT show up on the list, though I'm working on a utility to have it do so.
Reply With Quote
  #13  
Old 06-29-2006, 05:31 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK its now working, dont ask i dont know but its working lol...
I already have members banned, is there away to import them to your new list?
Reply With Quote
  #14  
Old 06-29-2006, 06:00 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much! That's the best ban lists hack ever!
Reply With Quote
  #15  
Old 06-29-2006, 07:16 PM
afterfl0w's Avatar
afterfl0w afterfl0w is offline
 
Join Date: Mar 2004
Location: Canada
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
I already have members banned, is there away to import them to your new list?
I'm working on a script to do so.
Reply With Quote
  #16  
Old 06-29-2006, 07:25 PM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by afterfl0w
I'm working on a script to do so.
Cool. I think I'm going to wait for the updates before I install this hack on my site :P
Reply With Quote
  #17  
Old 06-29-2006, 08:13 PM
ChrisTech ChrisTech is offline
 
Join Date: Oct 2005
Location: St. Louis, MO
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really interesting and cool mod/hack. Waiting for those updates before I install it. *subscribes to post, as a reminder.
Reply With Quote
  #18  
Old 06-29-2006, 11:59 PM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay i LOVE this idea!!

i run a forum for game servers hosted by my members...now when they ban someone from their server i would like them to have the capability to create their banned user's name and enter it in the banned user's list....

can you think of a way of doing this so i don't have to make them all admins lol....i don't mind the work myself but i am not always on...

no big deal just thought i would throw it out there and see if there was a way to do it somehow....like maybe in the mod panel or in the mod/admin thread menu....
Reply With Quote
  #19  
Old 06-30-2006, 12:01 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am installing and crossing my fingers it will work with 3.6.0 beta 3
Reply With Quote
  #20  
Old 06-30-2006, 01:14 AM
PabloAM PabloAM is offline
 
Join Date: Jan 2006
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by afterfl0w
Please re-word your question
Sorry, Where is banning.php file?

Thx
Reply With Quote
  #21  
Old 06-30-2006, 01:40 AM
afterfl0w's Avatar
afterfl0w afterfl0w is offline
 
Join Date: Mar 2004
Location: Canada
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PabloAM
Sorry, Where is banning.php file?

Thx
root/modcp/banning.php
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 02:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08514 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
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_html
  • (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
  • (2)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