Guest Sniko` Posted December 24, 2008 Posted December 24, 2008 This preferences update will show you the link and under it, it will show you what you have already E.G (Link) Name Change Current Name: Sniko` Get the idea? Ok here is the code Preferences code (Keep a backup of you old prefences, this is the basic V2 preferences links) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I know, its not a "WOW" mod but its something ScreenShot Sorry a screenshot is unavalible from me because i dont have paint or anything else to put the image on +1 me if you like it please Thanks Sniko` Quote
POG1 Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences ScreenShot Sorry a screenshot is unavalible from me because i dont have paint or anything else to put the image on What OS are you running? DOS? Quote
Guest Sniko` Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences ScreenShot Sorry a screenshot is unavalible from me because i dont have paint or anything else to put the image on What OS are you running? DOS? its uninstalled Quote
Alex Riley Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences I Don't Get It ... What In Hells Name Have You Done That Isn't Already On The Viewuser page, Or Could Potentialy Be On The Viewuser Page. Quote
Karlos Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences No offence man but i was hoping atleast it was secured.... Quote
Guest Sniko` Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences No offence man but i was hoping atleast it was secured.... i dont know how to do security sorry karlos. I Don't Get It ... What In Hells Name Have You Done That Isn't Already On The Viewuser page, Or Could Potentialy Be On The Viewuser Page. Yes but this just shows you it in preferneces NOTE what i said in the first post in this thread I know, its not a "WOW" mod but its something Ok Quote
danger boy Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences Ok i have just secured a few querys for Sniko` So here we go You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Guest Sniko` Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences Thanks Danger Boy Quote
danger boy Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences o problem. Always glad to help :wink: Quote
Bubbl3z Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences +1 danger boy :-D Quote
Guest Sniko` Posted December 24, 2008 Posted December 24, 2008 Re: [mccode v2] Preferences +1 Danger Boy Quote
Zero-Affect Posted December 25, 2008 Posted December 25, 2008 Re: [mccode v2] Preferences No offence man but i was hoping atleast it was secured.... if you can comment on security why not post a secured version or do you just like posting negative posts without a explanation or even a attempt to resolve it.. Quote
danger boy Posted December 25, 2008 Posted December 25, 2008 Re: [mccode v2] Preferences Its probably to get his post count up :P Lol. Quote
Alex Riley Posted December 25, 2008 Posted December 25, 2008 Re: [mccode v2] Preferences What sort of idiot dosn't know what they have already imputed .... this is seriously dumb .... you can see what you have put on the left hand side menu already (provided you still have default style sheet) And if Not it will be there somewhere .... So let's get on you're level here .... Ok I want to change my username to Carbon ... But i don't know what my current name is because im an idiot .... oh i know i'll just check on preferences just to be on the safe side. When you could easily just look at you're Character info .... Wow ... you never stop amazing me with you're whacky and outside the box ideas snicko :) Quote
Zero-Affect Posted December 25, 2008 Posted December 25, 2008 Re: [mccode v2] Preferences display pics... profile sig... forum sig... three very obvious things found in different places why not click preferences and check rather than forum and profile... it's easier Quote
Alex Riley Posted December 25, 2008 Posted December 25, 2008 Re: [mccode v2] Preferences Which Is Just What I Said Mr President :D Quote
radio_active Posted December 25, 2008 Posted December 25, 2008 Re: [mccode v2] Preferences Ok i have just secured a few querys for Sniko` So here we go You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Which part of the "changing a username" was not secure exactly? Also for future advice.. on a query such as this one. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Try using something like this instead. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The mysql_real_escape_string may not be a necessity here but it will cut any of these " \x00, \n, \r, \, ', " and \x1a. " out of the POST... I believe that is probably more efficient then the You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. But who knows...I could recode this again for everyone as a "revamp" of sniko's but i dont think its really necessary, maybe the only thing that needs securing would be the change password function and then just have filters on the username changing etc. Ill see if Nyna replies to this xD Quote
POG1 Posted December 25, 2008 Posted December 25, 2008 Re: [mccode v2] Preferences radio, with that code example there are be things wrong. Someone could change their name to -_1'#?#'!"??"$^. It makes sence to limit the chars; limiting can be done by using preg_match and something like this (im not good with regex) "^[a-zA-z0-9_]" which would only allow aplha numeric and _ chars.. Quote
Zero-Affect Posted December 25, 2008 Posted December 25, 2008 Re: [mccode v2] Preferences You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. lol You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. %d - undefined and a user would be inputting text not digits... Quote
radio_active Posted December 26, 2008 Posted December 26, 2008 Re: [mccode v2] Preferences radio, with that code example there are be things wrong. Someone could change their name to -_1'#?#'!"??"$^. It makes sence to limit the chars; limiting can be done by using preg_match and something like this (im not good with regex) "^[a-zA-z0-9_]" which would only allow aplha numeric and _ chars.. Why state the alpha numeric characters? Why wouldnt you just declare an alphanumeric if statement with arrays to show more symbols if needed? like this. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That is what i use in my username change. In the example it was a display pic change so even if they changed there display pic to -_1'#?#'!"??"$^., nothing is going to happen.. Zero, i thought d = defined and u = undefined??? Ill have to google that again. Quote
Zero-Affect Posted December 26, 2008 Posted December 26, 2008 Re: [mccode v2] Preferences lol yeah i was half asleep d = defined u = undefined but both digit not alpha 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.