mdshare Posted April 8, 2007 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
-CrAzY- Posted August 14, 2007 Posted August 14, 2007 Re: [mccode] Choose Gender can you make the same for starting location, i tryed but it didnt work Quote
oxidati0n Posted August 15, 2007 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
SaMz Posted August 15, 2007 Posted August 15, 2007 Re: [mccode] Choose Gender this should be installed aleready on mc v1? lol Quote
YoungGold Posted August 15, 2007 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
3XTR3M3 Posted August 17, 2007 Posted August 17, 2007 Re: [mccode] Choose Gender its works with lite i tried it lol Quote
radio_active Posted October 20, 2008 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
veaseyspike Posted February 16, 2009 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
ronhouston2 Posted February 24, 2009 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
John99 Posted February 24, 2009 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
Ishraq Posted February 24, 2009 Posted February 24, 2009 Re: [mccode] Choose Gender Cool! :mrgreen: Quote
yaz123 Posted March 1, 2009 Posted March 1, 2009 Re: [mccode] Choose Gender I really dont understand what is this mod? Quote
Joel Posted March 1, 2009 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
mdshare Posted March 1, 2009 Author Posted March 1, 2009 Re: [mccode] Choose Gender omg that's old and credit goes to seanybob Quote
yaz123 Posted March 1, 2009 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
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.