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

Reply
 
Thread Tools
April Fools - Ban User Details »»
April Fools - Ban User
Version: 1.00, by Adrian Schneider Adrian Schneider is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.0 RC 1 Rating:
Released: 03-31-2008 Last Update: 03-31-2008 Installs: 81
Uses Plugins
Additional Files  
No support by the author.

A slight modification of an in house experiment described here.

Users are prompted with the option to ban any user they choose for a period within 3-30 days. Upon submitting, there is a half second pause, then the username switches with their own name followed with another half second pause, before the script finally submits. Don't worry -- the user input here is completely ignored.

The entered username is completely ignored, and the user submitting the form is banned for the period they entered.

Refer to attached screenshots for more info.

It's up to you to link to this file, and you can also view ban.php?do=view for a list of banned users.


... you may want to unban some of these users the next day. No pressure though.

Show Your Support

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

Comments
  #52  
Old 04-02-2008, 10:48 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Theoldwiz View Post
Lynne if I do your change will all banned times be changed, or just for this mod? (I know its a bit late)
Thanks!
Just for this mod. You are editing the ban.php page which was included with this hack and is the page users get sent to 'ban' someone.
Reply With Quote
  #53  
Old 04-03-2008, 05:25 AM
leginag leginag is offline
 
Join Date: Nov 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod was fun and it was funny seeing ppl complaining in our chat box.

However, there is an issue when I am trying to unban them.

When they get 'banned', their primary group just gets changed to "COPPA users awaiting moderation", but when I search for users in that usergroup, it says there aren't any in there.

So I just can't go an unban them all easily. I now have to get them to report to me that they were banned. :s which is a pain cos there are some hundred+ ppl

Is there something I am missing? How can I mass-unban everyone?
Reply With Quote
  #54  
Old 04-03-2008, 02:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can see all banned users in Users > View Banned Users. The top of the list shows all users that are just temporarily banned.

What makes you think they are being moved to the COPPA group if when you go to view the users in that group you see none?
Reply With Quote
  #55  
Old 04-03-2008, 03:10 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Magnumutz View Post
It works on 3.6 as well.

About 1 hour ago, i had 40 of my members banned

But now i unbanned them and let them know
It didn't for me. It threw the users in another group I created years ago for another project. Additionally, it doesn't show me who is in that group. Meaning, I have people banned and don't know who they are. I even tried running a SQL query to see who was in my group 31. It shows no users, yet I removed another member out of the group today.

Yeah, this thing totally screwed my 3.6.8 install, but its my fault for not seeing that this was a 3.7 hack...

I just hope and pray that the unban part works and they will be able to get back on the forum.
Reply With Quote
  #56  
Old 04-03-2008, 10:11 PM
leginag leginag is offline
 
Join Date: Nov 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You can see all banned users in Users > View Banned Users. The top of the list shows all users that are just temporarily banned.

What makes you think they are being moved to the COPPA group if when you go to view the users in that group you see none?
When I go to view banned users, there aren't any of the users that were banned.

But when I go look at the individual user profile they say they are in the COPPA group, and I have to change that to registered user. But when I look at the COPPA group, there isn't anyone in there:S It's like..phantom user group!
Reply With Quote
  #57  
Old 04-03-2008, 10:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leginag View Post
When I go to view banned users, there aren't any of the users that were banned.

But when I go look at the individual user profile they say they are in the COPPA group, and I have to change that to registered user. But when I look at the COPPA group, there isn't anyone in there:S It's like..phantom user group!
Looking in the code, you can see he bans them to usergroup 8. If you deleted that group or changed it in anyway from the Default Banned Group it was defined to be by vBulletin, then I would imagine that could cause the problems you are seeing. Perhaps you deleted the group, so they are stuck in some usergroup 8 that doesn't exist.
Reply With Quote
  #58  
Old 04-03-2008, 11:11 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leginag View Post
When I go to view banned users, there aren't any of the users that were banned.

But when I go look at the individual user profile they say they are in the COPPA group, and I have to change that to registered user. But when I look at the COPPA group, there isn't anyone in there:S It's like..phantom user group!
You must have installed this hack on 3.6.x, like me. I'm screwed until these banned members somehow get in contact with me.

edit: And yes, I don't have a usergroup 8...

editedit: Wait! Maybe I can run a sql query looking for group 8. brblulz

editeditedit: That returned nothing either. Maybe I got everyone, or they are still in limbo...

oh, and the SQL query I used was
Code:
Query
SELECT * FROM user WHERE usergroupid='8'
Reply With Quote
  #59  
Old 04-30-2008, 05:40 AM
tbrown7552 tbrown7552 is offline
 
Join Date: Sep 2007
Location: USA
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe im retarded or it was never mentioned but where does the .php file go?
Reply With Quote
  #60  
Old 04-30-2008, 06:36 AM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbrown7552 View Post
maybe im retarded or it was never mentioned but where does the .php file go?
I haven' t used it, but you most likely should copy it to forum root.
Reply With Quote
  #61  
Old 05-09-2008, 02:13 AM
Xorn Xorn is offline
 
Join Date: Feb 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am now banned...How do i unban my self...i set it to 60*$days and i am passed the time it gave me to unban

actually i am one hour passed...:'

edit ---

lol now its gone
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 09:36 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.04815 seconds
  • Memory Usage 2,308KB
  • 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
  • (1)bbcode_code
  • (6)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