vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - April Fools - Ban User (https://vborg.vbsupport.ru/showthread.php?t=174767)

Lynne 04-02-2008 10:48 PM

Quote:

Originally Posted by Theoldwiz (Post 1481448)
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.

leginag 04-03-2008 05:25 AM

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?

Lynne 04-03-2008 02:33 PM

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?

fly 04-03-2008 03:10 PM

Quote:

Originally Posted by Magnumutz (Post 1480243)
It works on 3.6 as well.

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

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. :(

leginag 04-03-2008 10:11 PM

Quote:

Originally Posted by Lynne (Post 1482024)
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!

Lynne 04-03-2008 10:18 PM

Quote:

Originally Posted by leginag (Post 1482350)
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.

fly 04-03-2008 11:11 PM

Quote:

Originally Posted by leginag (Post 1482350)
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'


tbrown7552 04-30-2008 05:40 AM

maybe im retarded or it was never mentioned but where does the .php file go?

jerx 04-30-2008 06:36 AM

Quote:

Originally Posted by tbrown7552 (Post 1503023)
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.

Xorn 05-09-2008 02:13 AM

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


All times are GMT. The time now is 11:10 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.01191 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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