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
e-steki Banlist Details »»
e-steki Banlist
Version: 1.00, by Lea Verou Lea Verou is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 12-17-2005 Last Update: 12-17-2005 Installs: 145
Uses Plugins Template Edits
Additional Files  
No support by the author.

e-steki Banlist is a listing of all the users that are banned, with the reason provided, the bandate, the lift date and who banned them (you can hide all of them via the admincp if you want to) and additionally some little banning stats on the bottom (you can hide those too). It is fully phrased and has the ability to break the list into multiple pages.

Installation
1. Upload banlist.php to your forums root directory
2. Import the product XML
3. Done! Now you may add a link somewhere to www.yoursite.com/forum/banlist.php so that other people can visit it.

Don't forget to click install! By clicking install you will be notified of updates and you will also provide motivation to me to make more hacks.

I hope you enjoy it as I'm coding it since 7 in the morning (it's now 13:45!)

Show Your Support

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

Comments
  #82  
Old 02-07-2006, 04:05 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
Built-in: nope.
Why would you need that? If you give me a good reason I can include it in the next version
For some reason my admins are showing on the list. As being permbanned users. Userid's 1 & 2. So I think its a problem with my table.

As for the permbanned users, maybe an option? I know I have doznes of permed users that are kinda cluttering the list.

But if there is just a if userid=1+2 kinda statement I can put in the .php to fix the 1st issue that would be great.
Reply With Quote
  #83  
Old 02-07-2006, 04:09 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wait, I'll work it out now and give you the fix
Reply With Quote
  #84  
Old 02-07-2006, 04:17 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

About the perm users try this and tell me if it works cause I haven't tried it in action:

Find:
PHP Code:
if(($i>($page-1)*$perpage) && ($i<$page*$perpage)) 
change to:
PHP Code:
    if(($i>($page-1)*$perpage) && ($i<$page*$perpage)&& ($banned['liftdate']!=construct_phrase($vbphrase['never']]))) 
I'm very unsure about it but you can try.
Reply With Quote
  #85  
Old 02-07-2006, 04:25 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to just bring up a white page.
Reply With Quote
  #86  
Old 02-07-2006, 04:29 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn! This is the only thing I didn't expect

Try changing it to this:
PHP Code:
if(($i>($page-1)*$perpage) && ($i<$page*$perpage)&& (is_numeric($banned['liftdate']))) 
Reply With Quote
  #87  
Old 02-07-2006, 04:33 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you tried it on a test board cause it shows ok for me but does include the perm banned users...
Reply With Quote
  #88  
Old 02-07-2006, 04:50 AM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YES YES YES!

I requested something just like this twice, this is superb
Reply With Quote
  #89  
Old 02-07-2006, 04:52 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eNforce are you referring to the hack or to the fix?
Also, if you have it installed please click install to be notified of updates.
Reply With Quote
  #90  
Old 02-07-2006, 04:55 AM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack

Just installed, thanks!

Edit: Idea!

How about having it show somewhere if the ban has been lifted earlier then the lift date?

Edit:

Oh, and for the stats it displays all members in the list banned as a total, though some have been lifted. Maybe have the stats show total bans for only the members currently banned, instead of including the lifted bans.
Reply With Quote
  #91  
Old 02-09-2006, 05:42 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
Yeah that would be nice
However for the past banned users do not unban and re-ban them to put a clearer reason as the ban-date will be lost and replaced with the current one.
Edit the reasons via phpmyadmin instead (you probably know that already but I thought I should mention, just in case )
What database is it in?
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 11:46 AM.


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.06908 seconds
  • Memory Usage 2,313KB
  • 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
  • (3)bbcode_php
  • (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
  • (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