Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Banned Users List (with reason/date) Details »»
Banned Users List (with reason/date)
Version: 1.00, by supreemball supreemball is offline
Developer Last Online: Aug 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-10-2002 Last Update: Never Installs: 99
 
No support by the author.

here it is, the Banned Users List hack, originally done by my host wired @ www.xirgo.com but he gave me rights to release it here..

basically this hack lists all banned users along with a reason for each user being banned, as well as the date they should be unbanned. this is VERY convenient for my mods over at my forum, as there was always talk of wondering who was banned and why, and with this hack this talk shall cease to exist. this is also great just to get your bannings organized and see how many users are banned in the first place.

a live demo of this hack is viewable on my forum: www.somethingleet.com/forum/showbanned.php ..

also when a mod bans someone from the mod cp, the reason and date is asked. the date doesn't have to be in a date format, it can be just 'forever' or something.

this hack has only been completely tested on vb2.2.2.. as of tomorrow it will be tested on vb2.2.4 when i upgrade my forum.

let me know what you guys think

Show Your Support

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

Comments
  #2  
Old 03-11-2002, 01:03 AM
sleepbirdcyp's Avatar
sleepbirdcyp sleepbirdcyp is offline
 
Join Date: Dec 2001
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great!!!
Reply With Quote
  #3  
Old 03-11-2002, 05:28 AM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, great job!

Will this seperate onto multiple pages or will it continue all on one page (if yes to one page, could you make it to where after 10-20 members, it would split to multiple pages?).

SaintDog
Reply With Quote
  #4  
Old 03-11-2002, 07:50 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, well done.
Reply With Quote
  #5  
Old 03-11-2002, 10:40 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Way cool fnx
Reply With Quote
  #6  
Old 03-11-2002, 03:10 PM
Dalius Dalius is offline
 
Join Date: Oct 2001
Location: Canada!
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job!
Reply With Quote
  #7  
Old 03-11-2002, 03:23 PM
ExcErr's Avatar
ExcErr ExcErr is offline
 
Join Date: Feb 2002
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

may be some screenshots?
Reply With Quote
  #8  
Old 03-11-2002, 04:01 PM
Dalius Dalius is offline
 
Join Date: Oct 2001
Location: Canada!
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a feature Request, it's probably easy

can you add the Ban Thingy from the Mod CP to the Admin CP?
Reply With Quote
  #9  
Old 03-11-2002, 06:13 PM
supreemball supreemball is offline
 
Join Date: Nov 2001
Location: houston, tx
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SaintDog
Nice hack, great job!

Will this seperate onto multiple pages or will it continue all on one page (if yes to one page, could you make it to where after 10-20 members, it would split to multiple pages?).

SaintDog
as of now there unfortunately isn't any page seperation.. not sure if wired (who released it) will add this or not..

excerr: view www.somethingleet.com/forum/showbanned.php for the demo.

dalius: all you would do in the admin cp (a bit different from the mod cp) is change the user status to Banned in the User editor, and then go down to the bottom to the added Custom Profile fields and fill in the "Banned for" and "Banned until" fields, and then click submit.
Reply With Quote
  #10  
Old 03-11-2002, 08:08 PM
Dalius Dalius is offline
 
Join Date: Oct 2001
Location: Canada!
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, thanks supreem
Reply With Quote
  #11  
Old 03-12-2002, 10:58 PM
dawl dawl is offline
 
Join Date: Jan 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get an empty page even though I have 2 members in the "Banned" group...any ideas ?
Reply With Quote
  #12  
Old 03-13-2002, 05:09 AM
69-FLy-gUy's Avatar
69-FLy-gUy 69-FLy-gUy is offline
 
Join Date: Oct 2001
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same here...
Reply With Quote
  #13  
Old 03-13-2002, 07:56 AM
Bald Bouncer's Avatar
Bald Bouncer Bald Bouncer is offline
 
Join Date: Oct 2001
Location: UK
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by dawl
I get an empty page even though I have 2 members in the "Banned" group...any ideas ?
open up showbanned.php and find

PHP Code:
        $banreasonfieldselectusergroup.titleuser.usernameuser.useriduser.invisibleuser.receivepm,
        
user.usergroupiduser.lastactivityuser.lastvisit$banuntilfieldselect
        FROM usergroup
        LEFT JOIN user ON 
(usergroup.usergroupid user.usergroupid)
        
LEFT JOIN userfield ON (userfield.userid user.userid)
        
WHERE usergroup.showgroup AND usergroup.usergroupid 15 
change 15 to your banned usergroup
Reply With Quote
  #14  
Old 03-13-2002, 12:53 PM
Robert9 Robert9 is offline
 
Join Date: Oct 2001
Location: super
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
basically.. add two fields to user profile for the reason of banning, and the length of the ban.

create a new user group called "Banned" (exact name/case required) and set permissions as you wish
(most likely you would set them all to 'No')

edit your config.php and add

-----------V
wherever i want??

//set fieldid's of banreason field and banuser field
$banreasonfieldid=10;
$banuntilfieldid=11;

-----------^

to the bottom of it, replacing '10' and '11' with the fieldid's of the reason and until field respectively.


Red= i don't understand, can somebody post an example code, because i don't know, how to make 2 new fields!
Green= Question by me
thx in adnace

DoDgE
Reply With Quote
  #15  
Old 03-13-2002, 09:45 PM
69-FLy-gUy's Avatar
69-FLy-gUy 69-FLy-gUy is offline
 
Join Date: Oct 2001
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in your admin CP... go to add under User Profile Fields..

then once the two profiles are created... look at the ID's of each one.. then edit it as requested for the config.php file.....
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 10:01 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.10938 seconds
  • Memory Usage 2,349KB
  • Queries Executed 28 (?)
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_php
  • (3)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
  • (15)post_thanks_box
  • (15)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (15)post_thanks_postbit_info
  • (14)postbit
  • (15)postbit_onlinestatus
  • (15)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