vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Banned Users List + Auto-Post Editing (https://vborg.vbsupport.ru/showthread.php?t=119827)

afterfl0w 06-27-2006 10:00 PM

Banned Users List + Auto-Post Editing
 
First hack released here, it's pretty useful too! I put a lot of work into it, I hope you guys will enjoy it :D

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 :D


Have a nice day all! :banana:

-afterfl0w

afterfl0w 06-28-2006 09:16 PM

+ reserved

blockbusted 06-28-2006 09:20 PM

First post. Looks great! I'm installing!

afterfl0w 06-29-2006 02:50 AM

Thanks :)

I'll have an update within a few days to add sorting functions (sort by: username, userid, banid, bandate, liftdate, bantype)

Zia 06-29-2006 09:00 AM

:) idea is really nice...

can u add 'Miserable User" list too ?

PabloAM 06-29-2006 02:40 PM

on is banning.php file?

bashy 06-29-2006 03:22 PM

Hi

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

Any ideas please?

Zowners 06-29-2006 03:22 PM

Does this also show banned users on the forum home? EG like the one here - scroll and look for the Event Log.

afterfl0w 06-29-2006 05:10 PM

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 :D

bashy 06-29-2006 05:12 PM

Yes m8, as far as i know, I always copyu an paste so cant go wrong there :)


All times are GMT. The time now is 12:54 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.01063 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete