mentaljason Posted April 21, 2009 Posted April 21, 2009 I just read a post seen a query and got an idea, many games have demo accounts but they can have their passwords changed by random users using it... so i decided to say this, im typing it up in this post atm, its not being tested but it should work, first sql this query: ALTER TABLE `users` ADD `demo` INT(2) NOT NULL DEFAULT '0'; then put this query in remember to edit the userid=X with your demos id, UPDATE users SET demo=1 WHERE userid=X; Change x with the demos user id, then what ever you dont want the demo to do like send items and stuff add this, You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. just add that with the rest of the if statments on the pages you want it. Quote
POG1 Posted April 21, 2009 Posted April 21, 2009 Re: [mccodes]Secure demo account why not just have something that will log them in without the need of a password ;) I just copy and pasted this together.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
noddy Posted April 21, 2009 Posted April 21, 2009 Re: [mccodes]Secure demo account why not just have something that will log them in without the need of a password ;) I just copy and pasted this together.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i changed the ip to that above, as there was a security hiccup with changing ip's, im not sure if its right though >.< Quote
AlabamaHit Posted April 22, 2009 Posted April 22, 2009 Re: [mccodes]Secure demo account Why is this post even here....their is a topic on this already... Quote
zbirc3 Posted April 22, 2009 Posted April 22, 2009 Re: [mccodes]Secure demo account This is pretty useful. +1 to the Poster. Quote
TheBigChief Posted April 22, 2009 Posted April 22, 2009 Re: [mccodes]Secure demo account Why is this post even here....their is a topic on this already... Not even to mention the fact that as an Admin on MCCODES you can change a user password back whenever you want..... Quote
mentaljason Posted April 27, 2009 Author Posted April 27, 2009 Re: [mccodes]Secure demo account Ive never seen a post on ce about this and also its less hassle. and if your offline ot means the demo account will be inactive until your a relise then b change it back. Quote
Guest Sniko` Posted April 28, 2009 Posted April 28, 2009 Re: [mccodes]Secure demo account Good Idea Mental Quote
.: Reaper :. Posted April 29, 2009 Posted April 29, 2009 Re: [mccodes]Secure demo account My demo accounts id is 80 so i jus add this to every page i dont want it to see : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Zero-Affect Posted April 30, 2009 Posted April 30, 2009 Re: [mccodes]Secure demo account your going to add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. in all files... give me a min ill code something up which may help in header.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I added this below mainmenu include on my header but if adding higher don't forget this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. in the You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. another solution could be You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. with same adds etc... Quote
Zero-Affect Posted April 30, 2009 Posted April 30, 2009 Re: [mccodes]Secure demo account before anyone comments i noticed a minor issue with the script replace: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. on the second solution Quote
Karlos Posted April 30, 2009 Posted April 30, 2009 Re: [mccodes]Secure demo account Seems like a better idea in my opinion.. I'd use the first example in my preference, but i'm not gonna use them :-P Quote
Zero-Affect Posted April 30, 2009 Posted April 30, 2009 Re: [mccodes]Secure demo account but i'm not gonna use them :-P b*tch lol Quote
AlabamaHit Posted May 1, 2009 Posted May 1, 2009 Re: [mccodes]Secure demo account Zero that looks a lot like the code i posted 2 weeks ago.....lol.... Well not really, same difference though, if they would have searched...or looked at forums they would have seen this.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I posted it in http://criminalexistence.com/ceforums/i ... ic=28639.0 Same difference... :) Quote
Zero-Affect Posted May 2, 2009 Posted May 2, 2009 Re: [mccodes]Secure demo account great minds i guess mate Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.