Jump to content
MakeWebGames

Recommended Posts

Posted

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.

Posted

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.

Posted

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

Posted

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

Posted

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.

Guest Sniko`
Posted

Re: [mccodes]Secure demo account

Good Idea Mental

Posted

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

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...