Jump to content
MakeWebGames

[mccode v2] Changer User Password!


Recommended Posts

This is my first mod to be posted on CE so i hope you like it :-)

So this mod is a change user password modification... It does not allow you to see the users Password but only to change to whatever you want or what they want...

If the user has lost password and you dont have the lost password mod, you can reset the password to whatever you want..

so here goes...

Open Staff_users.php

Find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Below Add

 

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Below add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And your done...

Please post your thoughts and let me know if you use it :lol:

Thanks

Edit: Updated code, forgot to add notice that mod has work (eg. User Password changed)

Link to comment
Share on other sites

  • 2 weeks later...

Re: Changer User Password! V2

 

Maybe i am dumb and will prob get abuse for posting this, but how come this doesnt appear on the menu as an option?

I have tired using print to make it appear? Prob something simple I don't want someone to give me the answer just point me in the right direction please so i can learn.

Sorry, open smenu.php

find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and add below that

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Then you will have a link to this function....I forgot to post that..

My bad! Thanks for the feedback....

Link to comment
Share on other sites

Re: Changer User Password! V2

Great mod! I love it. :D

I'm still learning as well....so I don't know how to do this part:

How do I make just the Change User Password only useable by ID's 1 and 2? I know how to make a whole feature only accessible by certain ID's, but not just a single part of a feature.

:-P

Link to comment
Share on other sites

Re: Changer User Password! V2

 

if(!$ir['userid'] > 2)

{

die("This feature isnt allowd for you!");

}

Try something like that Ace

Correction.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

yeah i noticed that i screwed that bit up as soon as i posted, i was going to edit but had to go to school and when got back, Ace had fixed it himself so yeah...

Link to comment
Share on other sites

Re: Changer User Password! V2

 

Can someone tell me how to add a function for View Current password?

If ur running v1 u can see it in the experimental staff panel :-D

if u look close enough

I've found many ways through the codes but yeah imma keep some a secret

Link to comment
Share on other sites

Re: Changer User Password! V2

ok well i tried something here i didnt know nothign about but i came a lil close to gettin it

ok i tried to make it in stafflog say wut the user that the staff chagned there passwrod like this

The Joker [1] Changed Password! June 9 2008 11:38:50 am

ok this is wut i got i took a thing like this

stafflog_add("Changed {$_POST['USER']} Password!");

whihc is from my staff updatiing notepad ive trried diff things like

these

stafflog_add("Changed {$ir['userid']} Password!");

stafflog_add("Changed {$ir['username']} Password!");

so on so fourth and still dont have it

has any one tried this..?....if not or so please help ive been working on this for quite some time

first time i've tried something like that and it didnt work within the first few trys

Link to comment
Share on other sites

  • 4 weeks later...

Re: Changer User Password! V2

 

ok well i tried something here i didnt know nothign about but i came a lil close to gettin it

ok i tried to make it in stafflog say wut the user that the staff chagned there passwrod like this

The Joker [1] Changed Password! June 9 2008 11:38:50 am

ok this is wut i got i took a thing like this

stafflog_add("Changed {$_POST['USER']} Password!");

whihc is from my staff updatiing notepad ive trried diff things like

these

stafflog_add("Changed {$ir['userid']} Password!");

stafflog_add("Changed {$ir['username']} Password!");

so on so fourth and still dont have it

has any one tried this..?....if not or so please help ive been working on this for quite some time

first time i've tried something like that and it didnt work within the first few trys

 

Just replace the whole function with...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

That hasnt everything that has been asked for in it...

Link to comment
Share on other sites

Re: Changer User Password! V2

 

no offence but i think this mod is pretty pointless. nice idea tho :wink:

It actually proves to be quite usefull, especially if used with a contact staff mod...

however i have found very usefull on my game so if you find it pointless, dont use it...

Link to comment
Share on other sites

Re: Changer User Password! V2

I accualy made that mod that guy was talkin about

 

*how do i view user's current password*

yes it might be aganist the law but some users use proxys and wel 9/10 times if a user has the same password it will be the same person i was using this but well i hardly go on my game anymore so yeah i mean i check everyonce in a while for a same pass to se if aperson who they really say they are but other than that I WANT GIVE IT OUT it would take a miracle for me to give it *which wouldent happen*

if i break the law sometimes dosent mean other's have to i try not to :-)

Link to comment
Share on other sites

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