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
  #2  
Old 06-28-2006, 09:16 PM
afterfl0w's Avatar
afterfl0w afterfl0w is offline
 
Join Date: Mar 2004
Location: Canada
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+ reserved
Reply With Quote
  #3  
Old 06-28-2006, 09:20 PM
blockbusted blockbusted is offline
 
Join Date: Apr 2006
Location: Indiana, USA
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First post. Looks great! I'm installing!
Reply With Quote
  #4  
Old 06-29-2006, 02:50 AM
afterfl0w's Avatar
afterfl0w afterfl0w is offline
 
Join Date: Mar 2004
Location: Canada
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

I'll have an update within a few days to add sorting functions (sort by: username, userid, banid, bandate, liftdate, bantype)
Reply With Quote
  #5  
Old 06-29-2006, 09:00 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

idea is really nice...

can u add 'Miserable User" list too ?
Reply With Quote
  #6  
Old 06-29-2006, 02:40 PM
PabloAM PabloAM is offline
 
Join Date: Jan 2006
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on is banning.php file?
Reply With Quote
  #7  
Old 06-29-2006, 03:22 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Didnt work for me
I get a blank page when i goto showbans.php

Any ideas please?
Reply With Quote
  #8  
Old 06-29-2006, 03:22 PM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this also show banned users on the forum home? EG like the one here - scroll and look for the Event Log.
Reply With Quote
  #9  
Old 06-29-2006, 05:10 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
Hi

Didnt work for me
I get a blank page when i goto showbans.php

Any ideas please?
Are you sure you installed the templates properly? Correct names and everything?

Quote:
idea is really nice...

can u add 'Miserable User" list too ?
If you add edit the usergroup to make it a 'BANNED USERGROUP' then it'll show up on the list. You'll have to add it to the types, though.

Quote:
Does this also show banned users on the forum home? EG like the one here - scroll and look for the Event Log.
Not really hard to do. Just make a forum saying "Event Log" and make it a link to showbans.php

Quote:
on is banning.php file?
Please re-word your question
Reply With Quote
  #10  
Old 06-29-2006, 05:12 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes m8, as far as i know, I always copyu an paste so cant go wrong there
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 09:01 AM.


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.04875 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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
  • (4)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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