radio_active Posted May 18, 2008 Posted May 18, 2008 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) Quote
Tezza` Posted May 18, 2008 Posted May 18, 2008 Re: Changer User Password! V2 Well done sounds like a nice forst mod :) Quote
radio_active Posted May 18, 2008 Author Posted May 18, 2008 Re: Changer User Password! V2 Thanks :lol: Quote
swindonsaleshosting Posted June 1, 2008 Posted June 1, 2008 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. Quote
Dylan Posted June 1, 2008 Posted June 1, 2008 Re: Changer User Password! V2 Very Nice Mod :wink: Quote
Zero-Affect Posted June 1, 2008 Posted June 1, 2008 Re: Changer User Password! V2 nice mod mate :-o Quote
radio_active Posted June 2, 2008 Author Posted June 2, 2008 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.... Quote
swindonsaleshosting Posted June 2, 2008 Posted June 2, 2008 Re: Changer User Password! V2 Thanks Radio, Can't Belive i didnt even try that :S I am dumb guess that what learning is all about though, nice mod Quote
radio_active Posted June 2, 2008 Author Posted June 2, 2008 Re: Changer User Password! V2 Thanks Radio, Can't Belive i didnt even try that :S I am dumb guess that what learning is all about though, nice mod haha, no worries man..lol yeah its all about learning, im still learning... Quote
The Ace Posted June 3, 2008 Posted June 3, 2008 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 Quote
radio_active Posted June 3, 2008 Author Posted June 3, 2008 Re: Changer User Password! V2 if(!$ir['userid'] > 2) { die("This feature isnt allowd for you!"); } Try something like that Ace Quote
The Ace Posted June 3, 2008 Posted June 3, 2008 Re: Changer User Password! V2 Thanks! I altered it a bit and got it to work!!! :D :-P Cheers! :) Quote
radio_active Posted June 4, 2008 Author Posted June 4, 2008 Re: Changer User Password! V2 Cool, hope you like it :-D Quote
Zero-Affect Posted June 4, 2008 Posted June 4, 2008 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. Quote
radio_active Posted June 4, 2008 Author Posted June 4, 2008 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... Quote
dwebb1130 Posted June 5, 2008 Posted June 5, 2008 Re: Changer User Password! V2 Can someone tell me how to add a function for View Current password? Quote
radio_active Posted June 5, 2008 Author Posted June 5, 2008 Re: Changer User Password! V2 That would interupt on privacy of the user which is prohibted on my game... Someone else may feel kind to make itt however... Quote
iR00T Posted June 9, 2008 Posted June 9, 2008 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 Quote
iR00T Posted June 9, 2008 Posted June 9, 2008 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 Quote
radio_active Posted July 4, 2008 Author Posted July 4, 2008 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... Quote
KingRise Posted July 4, 2008 Posted July 4, 2008 Re: Changer User Password! V2 no offence but i think this mod is pretty pointless. nice idea tho :wink: Quote
iR00T Posted July 4, 2008 Posted July 4, 2008 Re: Changer User Password! V2 no its not you might need it fdor noobs who forget there pass and need it to be changed Quote
radio_active Posted July 4, 2008 Author Posted July 4, 2008 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... Quote
iR00T Posted July 11, 2008 Posted July 11, 2008 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 :-) Quote
Ishy Posted July 12, 2008 Posted July 12, 2008 Re: Changer User Password! V2 Nice mod radio... Keep up the good work. 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.