Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-12-2014, 11:47 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 91,018
Kyttias is on a distinguished road
Angry So... How to Disable the Auto-Ban?

...I accidentally managed to get my admin account banned by reloading the confirm page for pounding an adoptable.

For the curious, I was being dumb, and was trying to view the message again while I edited what was being displayed. I was tired of seeing "at a cost of 0", so I had to change a few things to get the message to stop displaying.

I regained access to my admin panel by setting my usergroup from 5 back to 1 in the users table in the database, then had to change all the 'no's back to 'yes's in the users_status table in the database. Anything else I should know about?

How do I go about preventing this from happening to my users, at all, ever? Similar things can apparently happen with promo codes and while breeding. Would it be too much to ask that users get an error message, rather than an auto-ban? Things can always happen on accident (especially on slow/interrupted internet connections, where sometimes a page refresh is required to see anything at all). I want full control of when and where someone gets banned. I never want anyone banned without my knowledge or consent. I wouldn't mind receiving a PM alert with the user's activity, however.

For now I can comment out banuser($mysidia->user->username); in class_pound.php, the two locations in shows up in class_breedingvalidator.php and $ban = banuser($mysidia->user->username); in class_promocode.php.

But how can I go about creating a system that will alert me with a PM containing the username and action they were attempting to perform? Is there any immediate danger in letting users continue to do foolish things or will it automatically interrupt them and prevent the action from going through? Of course I don't want the action to go through, I just don't want them to be banned for it.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 12-13-2014 at 12:31 AM.
Reply With Quote
 

Tags
auto-ban, banned, usergroup


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making an auto installer Nemesis Feedback and Suggestions 9 12-23-2013 08:55 AM
New Users auto redirect to page mapleblade Mys v1.2.x Mods 6 02-09-2012 09:47 AM
Disable Inspect Element SilverDragonTears Questions and Supports 2 10-28-2011 10:10 AM
How do I completely disable/delete Breeding and genders? D.A.T.A. Questions and Supports 5 08-29-2011 01:34 AM


All times are GMT -5. The time now is 06:08 AM.

Currently Active Users: 363 (0 members and 363 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636