mdshare Posted April 8, 2007 Share Posted April 8, 2007 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
-CrAzY- Posted August 14, 2007 Share Posted August 14, 2007 Re: [mccode] Choose Gender can you make the same for starting location, i tryed but it didnt work Quote Link to comment Share on other sites More sharing options...
oxidati0n Posted August 15, 2007 Share Posted August 15, 2007 Re: [mccode] Choose Gender <table border="0" cellpadding="0" cellspacing="0" width="468px"> <tr><td></td></tr> <tr><td> </td></td> <tr><td> Choose Gender! [installation Instructions] Choose Gender! allows you to add gender to your game. <font color="red">This requires MCCode/DBSCode installed on your server. </font> Choose gender! [Files to edit] The list of files and modifications to do: register.php Find: <textarea cols='60' rows='8' wrap='VIRTUAL' name='texlink'>mysql_query("INSERT INTO users (username, login_name, userpass, level, money, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, lastip) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, 'Male', unix_timestamp(), '{$_POST['email']}', '$ip')", $c); </textarea> Replace With: <textarea cols='60' rows='8' wrap='VIRTUAL' name='texlink'>mysql_query("INSERT INTO users (username, login_name, userpass, level, money, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, lastip) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', '$ip')", $c); </textarea> Find: <textarea cols='60' rows='1' wrap='VIRTUAL' name='texlink'>Confirm Password: <input type=password name=cpassword> </textarea> Add After: <textarea cols='60' rows='4' wrap='VIRTUAL' name='texlink'>Gender: <select type='dropdown' name='gender'><option value='male'>Male</option><option value='female'>Female</option></select> </textarea> Script information type: mod / Choose Gender! license: All code and documentation are property of their posters at Criminal Existence Copyright © 2006-2007 The Plug Network Inc script: chgendv1 coder: Seanybob release: 1.0.0 </p> </td></tr> </table> Cool Quote Link to comment Share on other sites More sharing options...
SaMz Posted August 15, 2007 Share Posted August 15, 2007 Re: [mccode] Choose Gender this should be installed aleready on mc v1? lol Quote Link to comment Share on other sites More sharing options...
YoungGold Posted August 15, 2007 Share Posted August 15, 2007 Re: [mccode] Choose Gender umm correct me if im wrong but i think v1.0.0 is (lite) and v1.1 is mccodes v1 i think and choose gender doesnt come with v1 lite Quote Link to comment Share on other sites More sharing options...
3XTR3M3 Posted August 17, 2007 Share Posted August 17, 2007 Re: [mccode] Choose Gender its works with lite i tried it lol Quote Link to comment Share on other sites More sharing options...
radio_active Posted October 20, 2008 Share Posted October 20, 2008 Re: [mccode] Choose Gender This baby is old, i didnt know MD posted some work on the free mods :lol: Quote Link to comment Share on other sites More sharing options...
veaseyspike Posted February 16, 2009 Share Posted February 16, 2009 Re: [mccode] Choose Gender if there any codes / sql to make ur gender inside the game cuz mine dont let me im a female and it says you can male and ses u have change to male but im still male :x :cry: :? Can Any One Help....Mail Me Quote Link to comment Share on other sites More sharing options...
ronhouston2 Posted February 24, 2009 Share Posted February 24, 2009 Re: [mccode] Choose Gender You Can make new Genders be sideds Male or Female :-D but needs to be fixed in prefrence. Quote Link to comment Share on other sites More sharing options...
John99 Posted February 24, 2009 Share Posted February 24, 2009 Re: [mccode] Choose Gender Then edit like phpmyadmin > users > gender aint hard then prefs then dropdown.. maybe do somethink like this if(!in_array($_POST['gender'],array("Male","Female"))) { die("Invalid gender! > Back"); $h->endpage(); exit; } If gender is not male or female it will say invalid gender!! May have done it rong aint sure Quote Link to comment Share on other sites More sharing options...
Ishraq Posted February 24, 2009 Share Posted February 24, 2009 Re: [mccode] Choose Gender Cool! :mrgreen: Quote Link to comment Share on other sites More sharing options...
yaz123 Posted March 1, 2009 Share Posted March 1, 2009 Re: [mccode] Choose Gender I really dont understand what is this mod? Quote Link to comment Share on other sites More sharing options...
Joel Posted March 1, 2009 Share Posted March 1, 2009 Re: [mccode] Choose Gender I really dont understand what is this mod? The topic name says it all. Basically md has added gender on to the register page and you get to choose between Male/Female. Quote Link to comment Share on other sites More sharing options...
mdshare Posted March 1, 2009 Author Share Posted March 1, 2009 Re: [mccode] Choose Gender omg that's old and credit goes to seanybob Quote Link to comment Share on other sites More sharing options...
yaz123 Posted March 1, 2009 Share Posted March 1, 2009 Re: [mccode] Choose Gender I really dont understand what is this mod? The topic name says it all. Basically md has added gender on to the register page and you get to choose between Male/Female. You can oredy do that on Mccodes :S Quote Link to comment Share on other sites More sharing options...
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.