Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

Have errors in your coding or want something specific added to your game? Check out our paid support here.


This forum is now closed and has moved to a new location! Click here to find out why.

AuthorTopic: account settings edit.  (Read 824 times)

gambino

  • Active Member
  • **
  • Reputation Power: 0
  • gambino is looked down upon.gambino is looked down upon.gambino is looked down upon.
  • Offline Offline
  • Posts: 113
    • View Profile
account settings edit.
« on: November 03, 2009, 08:14:26 PM »
This is a mod I have completed up to 20% of but I haven't gotten around to making the rest. the rest of the mod I Have created it actually the login one.

here's what I was planning on doing. The codes is for accounts that are under investigation or when the site is under maintenance for a special reason. when someone reports a person of violating the rules but there is one admin online, he will do an account investigation shut down on the person who has been reported. the person would know of the whereabouts on what is going on. when they click on a link on the site if they are online, they are automatically logged out. and if they try signing in, they will be notified at login that they are under investigation. thus giving room for the admin to look at what the person did and will be punished. if you give them a warning, I have a mod on my computer right now that is fully working and I have made where you give the person a warning and the warning will go away after the month is over. this will activate a new cron but that will be discussed later.

the other thing about site maintenance is when the main admin or person who is working on the site wants to put in a mod or edit the site a little before publishing the site. users will also be notified through login but people of user level higher than user are able to view the site only. there are no exceptions to it because this is only staff viewable only and users are not allowed to view it unless you want to get hackers aware of your account name and stuff so they can try hacking your site. this would also increase the site security a lot on that part.

I know I have a lot of mods but they are hard to create like when McCodes is actually making the V3 version of McCodes that people all over the place are like, I hope they publish the upgrade of McCodes. when it is already at least 4-7 months now. give McCodes some room while they are trying to do everything they can and also give me some room for peak sake because I'm trying everything I can because I have to work and go to college and everything. it is very stressful on my end as it is stressful on their end.

expect my codes when I'm finish.
Logged

Spudinski

  • Basic Member
  • *
  • Reputation Power: 42
  • Spudinski has no influence.
  • Offline Offline
  • Posts: 53
  • I have cookies!
    • View Profile
    • WWW
    • Email
Re: account settings edit.
« Reply #1 on: November 04, 2009, 10:19:27 AM »
Just a few questions for you though,

1. Why would you want to shut down the account, just so the admin can look at it?
2. You know of backups right? You add the new modification and just upload the script(s) while people are playing live, or at least when the site is quiet.

But all in all, it could work for some people, I guess.
Logged
If you see a post that just doesn't just seem right, send me a PM.
Offering services for small-type games and websites, send me a PM if you want/need something done.

gambino

  • Active Member
  • **
  • Reputation Power: 0
  • gambino is looked down upon.gambino is looked down upon.gambino is looked down upon.
  • Offline Offline
  • Posts: 113
    • View Profile
Re: account settings edit.
« Reply #2 on: November 04, 2009, 02:32:41 PM »
Just a few questions for you though,

1. Why would you want to shut down the account, just so the admin can look at it?
2. You know of backups right? You add the new modification and just upload the script(s) while people are playing live, or at least when the site is quiet.

But all in all, it could work for some people, I guess.

1. if someone is at risk of violating rules like if a person who sent a message to a person who if the person is hacking, you can just shut them off till investigation is complete. World of Warcraft does that a lot of times when doing this stuff. I know because my friend was one of them.
2. well. there are lots of hackers around and they just don't look at the site just for hacking, they play around and try doing hacks and if you insert a mod in witch there is an error on one end of the mod, it would show error of root/ACCOUNT/public_html/MOD_NAME.php at line ??? it's easy for the hackers to know what the username is and they will do everything like figure out your password and everything.

this would work for all users running linux servers and everything. windows server doesn't support crons, therefore, there is no point on just using that server. all I'm saying that these script will help the admins, moderators, and assistants at everything. also with the creator of the site. it's all for the best.
Logged

Spudinski

  • Basic Member
  • *
  • Reputation Power: 42
  • Spudinski has no influence.
  • Offline Offline
  • Posts: 53
  • I have cookies!
    • View Profile
    • WWW
    • Email
Re: account settings edit.
« Reply #3 on: November 08, 2009, 03:59:07 AM »
I'm not trying to give you bad rep' or anything, just wanted to know.

But, the full path isn't really a security vulnerability you know?
It's easy to get a username from any Linux account, host normally use the first six letters of the domain, so it's quite easy.
Also, say a game's name is "unknown", people choose that name as the user account, ad hosts shortens it, making it "unknow" - simple.

Just a few words of advice, it's just not professional to have script errors on your website, but is secure in most ways to display a username, depending on the hosting providers server setup.
Logged
If you see a post that just doesn't just seem right, send me a PM.
Offering services for small-type games and websites, send me a PM if you want/need something done.

mentaljason

  • Basic Member
  • *
  • Reputation Power: 13
  • mentaljason has no influence.
  • Offline Offline
  • Posts: 28
  • MentalJason HURRAH
    • View Profile
    • WWW
Re: account settings edit.
« Reply #4 on: January 14, 2010, 08:34:10 AM »
Very easy way of doing this, first add a investigation field to the users table default it to 0 then just have a admin script or button to get that field to 1 then have an if statement so if it is on 1 an admin can click it on there profile to remove it then just add in globals copy the if loged in thing and put if {$ir['underinv'] = 1} then redirect them to a page that just has a line of text saying you are currently under investigation for suspicious or reported behaviour, please pop back in 5 to see the verdict, there is a point to prevent users from covering their tracks, very simple to do.... takes about 5 mins 1 query and about 4lines of code, lol.
Logged
Like Mccodes? Like things to be free? try My mods forum where all of the mods are free!
 


This forum is now closed and has moved to a new location! Click here to find out why.