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

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
  #22  
Old 06-30-2006, 06:41 AM
shoupz shoupz is offline
 
Join Date: Dec 2005
Location: Orange County, CA
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this looks really good, im going to install this tonight. *Clicks Install*
Reply With Quote
  #23  
Old 07-02-2006, 11:46 AM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an ETA on when these updates are going to be finished?

I hope all is going well so far
Reply With Quote
  #24  
Old 07-21-2006, 10:14 PM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to get this hack to look like this sites ban log - http://forums.livingwithstyle.com - scroll down to "event Log." I think it's cool how you can see who the last member who was banned is shown on the forum home page. If this ban log could be tweaked to show that on the forum home page, I would be very greatful.

BTW how are the updates coming along?
Reply With Quote
  #25  
Old 08-04-2006, 06:41 AM
SportsZone's Avatar
SportsZone SportsZone is offline
 
Join Date: Aug 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this hack and am eagerly awaiting the updates
Reply With Quote
  #26  
Old 08-05-2006, 02:40 PM
SportsZone's Avatar
SportsZone SportsZone is offline
 
Join Date: Aug 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was testing this ahck to see whether it will work on vB3.6 and I got this error :/

Quote:
Database error in vBulletin 3.6.0:

Invalid SQL:

INSERT INTO testbed_phrase
(languageid, varname, text, phrasetypeid)
VALUES
(-1, 'banlist_reasonerror', 'You Must Enter A Reason!', 9000),
(-1, 'banlist_bannedby', 'Banned By', 1),
(-1, 'banlist_datebanned', 'Ban Date', 1),
(-1, 'banlist_bannedpost', 'Banned Post', 1),
(-1, 'banlist_reason', 'Reason', 1),
(-1, 'banlist_releasedate', 'Release Date', 1),
(-1, 'banlist_banlist', 'Most Recent Bannings', 1),
(-1, 'banlist_link', 'Link', 1),
(-1, 'banlist_nolink', 'No Link', 1),
(-1, 'banlist_description', 'Here is a list of the last 30 banned members and the reason why they were banned. Following the forum rules will insure that your name will not end up on this list.', 1);

MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054
Date : Saturday, August 5th 2006 @ 10:38:49 AM
Script : http://www.sportszonefanatics.com/te...p?do=stepthree
Referrer : http://www.sportszonefanatics.com/te...php?do=steptwo
IP Address :
Username : Matt
Classname : vB_Database
How can I fix this?
Reply With Quote
  #27  
Old 08-07-2006, 01:47 PM
Jesus05uk Jesus05uk is offline
 
Join Date: Feb 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SportsZone
I was testing this ahck to see whether it will work on vB3.6 and I got this error :/



How can I fix this?
Me Too. :hurt:
Reply With Quote
  #28  
Old 08-12-2006, 05:57 AM
afterfl0w's Avatar
afterfl0w afterfl0w is offline
 
Join Date: Mar 2004
Location: Canada
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very sorry for the massive massive delay, the update is coming either later tonight or early tomorrow

It's been re-written, optimized and MUCH easier to install! It's also vB 3.6 compatible!

Hope you all haven't given up on me! Check the forums later!

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

Version 2 Released!

https://vborg.vbsupport.ru/showthread.php?p=1050773
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 12:02 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.07109 seconds
  • Memory Usage 2,287KB
  • 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
  • (2)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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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