Jump to content
MakeWebGames

Joel

Members
  • Posts

    1,169
  • Joined

  • Last visited

Everything posted by Joel

  1. Re: NEW V2 LOGIN PAGE   Tables are good to use, But dont make them Horrible :|
  2. Re: NEW USERS IMAGE GALLERY FREE!!!!!   also change the upload.php file $multi_upload->upload_dir = "./img/users/{$_GET['ids']}/"; i am updating the rar file now for instructions   Well i seemed to get it to work, Accept i had to modify the Files to get it to "work" :|
  3. Re: Honor Awards - V2 - Modified by HarryB Good Work Mate! :D
  4. Re: [V2] Race Mod [V2] Im being generus today People Heres The Race mod Converted into Status Mod You can add this aswell as adding the Race Mod! ---------------------------------------------------------------------------------------------------------- 1. Open preferences.php and Find:   case 'picchange2': do_pic_change(); break; case 'picchange': pic_change(); break;   ADD Below:   case 'statuschange2': do_status_change(); break; case 'statuschange': conf_status_change(); break;   ---------------------------------------------------------------------------------------------------------- 2. Next Find: [url='preferences.php?action=picchange']Display Pic Change[/url]   ADD Below:   [url='preferences.php?action=statuschange']status Change[/url]   ---------------------------------------------------------------------------------------------------------- 3.Next Find:   function do_pic_change() { global $db,$ir,$c,$userid,$h; if($_POST['newpic'] == "") { print "You did not enter a new pic. [url='preferences.php?action=picchange']> Back[/url]"; } else { $_POST['newpic']=str_replace('\\\'',''', $_POST['newpic']); $db->query("UPDATE users SET display_pic='{$_POST['newpic']}' WHERE userid=$userid"); print "Pic changed!"; } }   ADD Below:   function conf_status_change() { global $ir,$c,$userid,$h; print "<center><hr width='20%'>Status Change<hr width='20%'> <form action='preferences.php?action=statuschange2' method='post'> <select class=textbox name='status'> <option value='Unknown'>Unknown</option> <option value='Be Right Back'>Be Right Back</option> <option value='Wont Answer to Mails'>Wont Answer to Mails</option> <option value='Busy'>Busy</option> <option value='In a Call'>In a Call</option> <option value='Mail Me'>Mail Me</option> <option value='Board'>Board</option> <option value='Be Back on Later'>Be Back on Later</option> </Select> <input class='textbox' type='submit' value='Change Status' /> </form>"; } function do_status_change() { global $db,$ir,$c,$userid,$h; $db->query("UPDATE users SET status='{$_POST['status']}' WHERE userid=$userid"); print "You Have Changed your Status Type! [url='preferences.php']Back[/url]"; }   ---------------------------------------------------------------------------------------------------------- SAVE preferences.php ---------------------------------------------------------------------------------------------------------- 4. Open viewuser.php and Find:   Gender: {$r['gender']}   ADD After:   Status: {$r['status']}   ---------------------------------------------------------------------------------------------------------- SAVE viewuser.php ---------------------------------------------------------------------------------------------------------- 5. Run This SQL in Phpmyadmin   ALTER TABLE `users` ADD `status` enum('Unknown','Be Right Back','Wont Answer to Mails','Busy','In a Call','Mail Me','Board','Be Back on Later') NOT NULL default 'Unknown'   ---------------------------------------------------------------------------------------------------------- AND NOW YOU HAVE DONE, ENJOY! ---------------------------------------------------------------------------------------------------------- I havnt Tested this, But it should work! :D
  5. Re: [V2] Race Mod [V2] Yes me to lol But im going to do it like this Copy all the text off my first post, Then paste it in notepad And click Edit > Replace Then Input race and then input status and click Replace all Then Bingo lmao :-D
  6. Re: [V2] Race Mod [V2] You could elso change the Mod to Something like "Status" Where you could have like "Dont Mail Me" "Away From Computer" "Be Right Back" etc I no theres a mod out there like that, But it would be a Good Idea, If you wish to change it! :)
  7. Re: [V2] Race Mod [V2]   Alright, If you wish to add more names or take some off just edit the SQL and Add the Names to preferences.php :)
  8. Re: [V2] Race Mod [V2] Now thats pretty Strange..... It worked fine when i tried it on my test site, Im not sure if i changed some codes, but heres my preferences.php   <?php include "globals.php"; switch($_GET['action']) { case 'sexchange2': do_sex_change(); break; case 'sexchange': conf_sex_change(); break; case 'passchange2': do_pass_change(); break; case 'passchange': pass_change(); break; case 'namechange2': do_name_change(); break; case 'namechange': name_change(); break; case 'picchange2': do_pic_change(); break; case 'picchange': pic_change(); break; case 'racechange2': do_race_change(); break; case 'racechange': conf_race_change(); break; case 'forumchange2': do_forum_change(); break; case 'forumchange': forum_change(); break; default: prefs_home(); break; } function prefs_home() { global $db,$ir,$c,$userid,$h; print "<h3>Preferences</h3> [url='preferences.php?action=sexchange']Sex Change[/url] [url='preferences.php?action=passchange']Password Change[/url] [url='preferences.php?action=namechange']Name Change[/url] [url='preferences.php?action=picchange']Display Pic Change[/url] [url='preferences.php?action=racechange']Race Change[/url] [url='preferences.php?action=forumchange']Forum Info Change[/url] "; } function conf_sex_change() { global $ir,$c,$userid,$h; if($ir['gender'] == "Male") { $g="Female"; } else { $g="Male"; } print "Are you sure you want to become a $g? [url='preferences.php?action=sexchange2']Yes[/url] | [url='preferences.php']No[/url]"; } function do_sex_change() { global $db,$ir,$c,$userid,$h; if($ir['gender'] == "Male") { $g="Female"; } else { $g="Male"; } $db->query("UPDATE users SET gender='$g' WHERE userid=$userid"); print "Success, you are now $g! [url='preferences.php']Back[/url]"; } function pass_change() { global $ir,$c,$userid,$h; print "<h3>Password Change</h3><form action='preferences.php?action=passchange2' method='post'>Current Password: <input type='password' name='oldpw' /> New Password: <input type='password' name='newpw' /> Confirm: <input type='password' name='newpw2' /> <input type='submit' value='Change PW' /></form>"; } function do_pass_change() { global $db,$ir,$c,$userid,$h; if(md5($_POST['oldpw']) != $ir['userpass']) { print "The current password you entered was wrong. [url='preferences.php?action=passchange']> Back[/url]"; } else if($_POST['newpw'] !== $_POST['newpw2']) { print "The new passwords you entered did not match! [url='preferences.php?action=passchange']> Back[/url]"; } else { $db->query("UPDATE users SET userpass=md5('{$_POST['newpw']}') WHERE userid=$userid"); print "Password changed!"; } } function name_change() { global $ir,$c,$userid,$h; print "<h3>Name Change</h3> Please note that you still use the same name to login, this procedure simply changes the name that is displayed. <form action='preferences.php?action=namechange2' method='post'> New Name: <input type='text' name='newname' /> <input type='submit' value='Change Name' /></form>"; } function do_name_change() { global $db,$ir,$c,$userid,$h; if($_POST['newname'] == "") { print "You did not enter a new name. [url='preferences.php?action=namechange']> Back[/url]"; } else { $_POST['newname']=str_replace(array("<", ">", "\\\'"), array("<", ">", "'"), $_POST['newname']); $db->query("UPDATE users SET username='{$_POST['newname']}' WHERE userid=$userid"); print "Username changed!"; } } function pic_change() { global $ir,$c,$userid,$h; print "<h3>Pic Change</h3> Please note that this must be externally hosted, [url='http://imageshack.us']ImageShack[/url] is our recommendation. Any images that are not 150x150 will be automatically resized <form action='preferences.php?action=picchange2' method='post'> New Pic: <input type='text' name='newpic' value='{$ir['display_pic']}' /> <input type='submit' value='Change Name' /></form>"; } function do_pic_change() { global $db,$ir,$c,$userid,$h; if($_POST['newpic'] == "") { print "You did not enter a new pic. [url='preferences.php?action=picchange']> Back[/url]"; } else { $_POST['newpic']=str_replace('\\\'',''', $_POST['newpic']); $db->query("UPDATE users SET display_pic='{$_POST['newpic']}' WHERE userid=$userid"); print "Pic changed!"; } } function conf_race_change() { global $ir,$c,$userid,$h; print "<center><hr width='20%'>Race Change<hr width='20%'> <form action='preferences.php?action=racechange2' method='post'> <select class=textbox name='race'> <option value='Wizard'>Wizard</option> <option value='Ware Wolf'>Ware Wolf</option> <option value='Vampire'>Vampire</option> <option value='Yeti'>Yeti</option> <option value='Elf'>Elf</option> <option value='Zombie'>Zombie</option> <option value='Beast'>Beast</option> <option value='Dwarf'>Dwarf</option> <option value='Gangsta'>Gangsta</option> <option value='Criminal'>Criminal</option> <option value='Pimp'>Pimp</option> <option value='Member'>Member</option> <option value='God'>God</option> <option value='Pilot'>Pilot</option> <option value='Boxer'>Boxer</option> <option value='Chief'>Chief</option> <option value='Cop'>Cop</option> <option value='Creature'>Creature</option> <option value='Seller'>Seller</option> <option value='Buyer'>Buyer</option> <option value='Goth'>Goth</option> <option value='Thief'>Thief</option> <option value='Hacker'>Hacker</option> <option value='Skeleton'>Skeleton</option> <option value='Demon'>Demon</option> <option value='Goblin'>Goblin</option> <option value='Unknown' SELECTED>Unknown</option> </Select> <input class='textbox' type='submit' value='Change Race' /> </form>"; } function do_race_change() { global $db,$ir,$c,$userid,$h; $db->query("UPDATE users SET race='{$_POST['race']}' WHERE userid=$userid"); print "You Have Changed your Race Type! [url='preferences.php']Back[/url]"; } function forum_change() { global $ir,$c,$userid,$h; print "<h3>Forum Info Change</h3> Please note that the avatar must be externally hosted, [url='http://imageshack.us']ImageShack[/url] is our recommendation. Any avatars that are not 100x100 will be automatically resized <form action='preferences.php?action=forumchange2' method='post'> Avatar: <input type='text' name='forums_avatar' value='{$ir['forums_avatar']}' /> Signature (you may use BBcode): <textarea rows=10 cols=50 name='forums_signature'>{$ir['forums_signature']}</textarea> <input type='submit' value='Change Info' /></form>"; } function do_forum_change() { global $db,$ir,$c,$userid,$h; $_POST['forums_avatar']=str_replace(array("<", ">"), array("<", ">"), $_POST['forums_avatar']); $db->query("UPDATE users SET forums_avatar='{$_POST['forums_avatar']}', forums_signature='{$_POST['forums_signature']}' WHERE userid=$userid"); print "Forum Info changed!"; } $h->endpage(); ?>   Replace it with that and then see if it works :/
  9. Re: [V2] Race Mod [V2]   Thanks, And yeh i like the Idea too, But what sort off Benefits would you people want :| Give me a little Description! :-D
  10. Re: [V2] Race Mod [V2]   Good Idea.... But at this moment off time im working on another Mod, But ill see what i can do when i have finished! :wink:
  11. Re: [V2] Race Mod [V2]   Thank You Mate! :-)
  12. Re: [V2] Race Mod [V2]   Thanks Matt :-D
  13. Hello Guys, Im posting this Mod because someone asked me two make this mod for them and I actually thought it was a good idea, And then some more people wanted this mod, So i thought ill share it on here :wink: Its a bit Like Male, Female But people can change there Race to Criminal, Thief, Hacker, Vampire, Ware Wolf, Gangsta and More And people will see it on there Profile, Abit like Male, Female :| Anyway Guys here it is: ---------------------------------------------------------------------------------------------------------- 1. Open preferences.php and Find:   case 'picchange2': do_pic_change(); break; case 'picchange': pic_change(); break;   ADD Below:   case 'racechange2': do_race_change(); break; case 'racechange': conf_race_change(); break;   ---------------------------------------------------------------------------------------------------------- 2. Next Find:   [url='preferences.php?action=picchange']Display Pic Change[/url]   ADD Below: [url='preferences.php?action=racechange']Race Change[/url]   ---------------------------------------------------------------------------------------------------------- 3.Next Find:   function do_pic_change() { global $db,$ir,$c,$userid,$h; if($_POST['newpic'] == "") { print "You did not enter a new pic. [url='preferences.php?action=picchange']> Back[/url]"; } else { $_POST['newpic']=str_replace('\\\'',''', $_POST['newpic']); $db->query("UPDATE users SET display_pic='{$_POST['newpic']}' WHERE userid=$userid"); print "Pic changed!"; } }   ADD Below:   function race_change() { global $ir,$c,$userid,$h; print "<center><hr width='20%'>Race Change<hr width='20%'> <form action='preferences.php?action=racechange2' method='post'> <select class=textbox name='race'> <option value='Wizard'>Wizard</option> <option value='Ware Wolf'>Ware Wolf</option> <option value='Vampire'>Vampire</option> <option value='Yeti'>Yeti</option> <option value='Elf'>Elf</option> <option value='Zombie'>Zombie</option> <option value='Beast'>Beast</option> <option value='Dwarf'>Dwarf</option> <option value='Gangsta'>Gangsta</option> <option value='Criminal'>Criminal</option> <option value='Pimp'>Pimp</option> <option value='Member'>Member</option> <option value='God'>God</option> <option value='Pilot'>Pilot</option> <option value='Boxer'>Boxer</option> <option value='Chief'>Chief</option> <option value='Cop'>Cop</option> <option value='Creature'>Creature</option> <option value='Seller'>Seller</option> <option value='Buyer'>Buyer</option> <option value='Goth'>Goth</option> <option value='Thief'>Thief</option> <option value='Hacker'>Hacker</option> <option value='Skeleton'>Skeleton</option> <option value='Demon'>Demon</option> <option value='Goblin'>Goblin</option> <option value='Unknown' SELECTED>Unknown</option> </Select> <input class='textbox' type='submit' value='Change Race' /> </form>"; } function do_race_change() { global $db,$ir,$c,$userid,$h; $db->query("UPDATE users SET race='{$_POST['race']}' WHERE userid=$userid"); print "You Have Changed your Race Type! [url='preferences.php']Back[/url]"; }   ---------------------------------------------------------------------------------------------------------- SAVE preferences.php ---------------------------------------------------------------------------------------------------------- 4. Open viewuser.php and Find:   Gender: {$r['gender']}   ADD After:   Race: {$r['race']}   ---------------------------------------------------------------------------------------------------------- SAVE viewuser.php ---------------------------------------------------------------------------------------------------------- 5. Run This SQL in Phpmyadmin   ALTER TABLE `users` ADD `race` enum('Wizard','Unknown','Ware Wolf','Vampire','Elf','Yeti','Zombie','Beast','Dwarf','Gangsta','Criminal','Pimp','Member','God','Pilot','Boxer','Chief','Cop','Creature','Seller','Buyer','Goth','Thief','Hacker','Skeleton','Demon','Goblin') NOT NULL default 'Unknown';   ---------------------------------------------------------------------------------------------------------- AND NOW YOU HAVE DONE, ENJOY! ----------------------------------------------------------------------------------------------------------   If you get any Errors Please Say, But I tested it and it Works Fine! :-D NOTE: If you wish to add more Names then Add the Names in the SQL and the other Files
  14. Re: Tell A Friend   Well your doing it wrong then, Ill post my Improved Version up Soon! :-D
  15. Re: www.2452thegamev2.com Looks good mate, I've just signed up :wink:
  16. Re: Whats your Favourite Sport! Lol i no for a fact it isnt as worse! :-D
  17. Re: Whats your Favourite Sport!   Yes it carnt be as worse as getting hit in the balls with a cricket ball, Can it now.........
  18. Re: Whats your Favourite Sport!   Yeh you take the piss..... But i carnt wait till i see you screaming on the floor
  19. Re: Whats your Favourite Sport!   Dont worry Criminal you wont no when its coming to you! Could be Tommorrow, Next Day, Next Week, Next Month, Next Year....
  20. Re: Whats your Favourite Sport! Haha I've never got hit in the balls with a Football, But I think Matt and Criminal are up to Something, This is a Picture i toke when i seen Matt and Criminal!
  21. Re: Whats your Favourite Sport! Yeh i noticed that matt when i clicked on it! :| i think Matt plays Cricket
  22. Joel

    GTA VI

    Re: GTA VI Hope theres a PC Version coming out, If there is i will get back to Modding GTA, Like i use to, Pretty Simple when your use to it :|
  23. Re: Whats your Favourite Sport!   Found you on youtube: http://www.youtube.com/watch?v=pAYeQKI7bG8 Lmao thats a good one Matt :lol:
  24. Re: Biggest Production Bike lmao na, Electric bike for the win ( i can see you there riding down the motoway beating a tractor on your 50cc bike engine xD i hate motobikes all aload of rubish CRASH CRASH CRASH http://www.youtube.com/watch?v=AhVyn2LGKv0 I no what you mean Matt CRASH CRASH CRASH
  25. Re: Whats your Favourite Sport! Ok Criminal, We dont wanna know mate, Keep the PROTECTION THINGY to your self lol Anyway i caught you playing golf, I now see what you mean about PROTECTION :wink:
×
×
  • Create New...