
reek13
Members-
Posts
83 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by reek13
-
can you tell us a little bit about it even though some could read though the code and have an idea , there are some people out that that know nothing about coding
-
<?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 'signature2': do_signature_change(); break; case 'signature': signature_change(); break; case 'picchange2': do_pic_change(); break; case 'picchange': pic_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=signature']Profile Signature[/url] [url='preferences.php?action=picchange']Display Pic 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 signature_change() { global $ir,$c,$userid,$h; print "<h3>Profile Signature Change</h3> <font color='gold'>[b]NOTICE: THIS SIGNATURE CANNOT CONTAIN ANY INAPPROPRIATE CONTENT/IMAGE/SHOOTS! YOU WILL BE IP BANNED AND YOUR ACCOUNT FEDDED! <form action='preferences.php?action=signature2' method='post'> New Profile Signature: <textarea rows=7 cols=40 name='newsignature'>{$ir['signature']}</textarea> <input type='submit' value='Change Profile Signature' /></form> [b]Current Profile Signature :[/b]{$r['signature']}"; } function do_signature_change() { global $ir,$c,$userid,$h; if($_POST['newsignature'] == "") { print "You did not enter a new signature. > [url='preferences.php?action=signature']Back[/url]"; } else { $db->query("UPDATE users SET signature='{$_POST['newsignature']}' WHERE userid=$userid",$c); print "Profile Signature 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 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(); ?>
-
I like your idea its very good , however it looks like you could use some help to carry out your project , Im interested in helping and providing a hand in your project , feel free to contact me at [email protected] though msn messenger(prefer) or email
-
Did you give your database user permissions ?
-
Think out side the box be creative . if you need any help or anything just contact me at [email protected] msn messenger or email .
-
you could use a link hider like in the neab engine there something called nbase that hides the links
-
There is a alliterative to crons if you host dont supply crons you can use time stamps and also cronless crons , dont really have time to explain it but search the forums and you will find topics about it
-
Curt i couldnt have said it better lol
-
The mods will work for mccodes lite if you convert the file correctly, There are a couple of posts on how to convert versions check it out
-
Question - Is it possible to put an image as a username?
reek13 replied to Gucci Mane's topic in Game Support
Yes . just go to the staff panel then go to edit users and put the image url as the username , and the image should come up as the name . I once did this a couple months ago so tell me if it works -
I 100% agree with peter im not a graphic designer but ;you need to come up with some better colors for you graphics Making mostly all your graphics one color isnt too good , try to come up with some nice color combos that will attract clients , color combos are very important in the graphic design field. All i can say is don't give up and research more into the field .
-
I was wondering could someone make a quick mod i know it will be simple to do , Well what i want is for someone to make it so that i can change the layout color from the staff panel . I want it so i can change the game inside color and the home page color
-
havent used it but it seems pretty good
-
To help the Visually Impaired Players + Change font styles
reek13 replied to Uridium's topic in Free Modifications
the mod is pretty good -
havent really seen anyone with that on there game
-
dont really understand what your talking about but have a idea , i think its a alright idea i once was talking to someone about that
-
i would also recommend them i cant use everyone of those programs because i have a mac but there some nice programs
-
Mcc V2. Crime Sucess code - mod version out their?
reek13 replied to norwayzone's topic in Game Support
yes the success mod is out for crimes , i dont know it off the top of my head though -
its not exactly the same
-
lol noone is going to give you sql injections
-
i think i can help you