Jump to content
MakeWebGames

SCM-NZ

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by SCM-NZ

  1. Re: [MCCODES V2] Forums Fix for Ranks, Number of Posts + Delete Error yipeee, thanks illusions, that has been bugging me for a while ;) +1
  2. Re: [mccode v2] Enhanced Hall of fame COMPLETED! +1 now that the force is back ;) Question, how can i stop it from showing the NPC's in the strength ect.
  3. Oke folks, here's me first addition for ya to try, not a new mod just an edit of an old one ;) All it does is add the ability for your staff to forum ban people via their profile rather than having to go through the staff menu ;) First open viewuser.php and look for: if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { print "<center> [[url='jailuser.php?userid={$r[']Fed Jail[/url]]&nbsp &nbsp &nbsp [[url='mailban.php?userid={$r[']Mail Ban[/url]]&nbsp &nbsp &nbsp   Below this add: [[url='forumban.php?userid={$r[']Forum Ban[/url]]   Close and save. Next copy this to a fresh file and call it forumban.php <?php include "globals.php"; if($ir['user_level'] != 2 && $ir['user_level'] != 3 && $ir['user_level'] != 5) { die("You cannot forum ban users."); } if($_POST['user']) { global $db,$ir,$c,$h,$userid; $q=$db->query("SELECT * FROM users WHERE userid={$_POST['user']}"); $them=$db->fetch_row($q); if($them['user_level'] == 2 || $them['user_level'] == 3 || $them['user_level'] == 5) { die("You cannot forum ban fellow staff."); } $re=$db->query("UPDATE users SET forumban={$_POST['days']},fb_reason='{$_POST['reason']}' WHERE userid={$_POST['user']}"); event_add($_POST['user'],"You were banned from the forums for {$_POST['days']} day(s) for the following reason: {$_POST['reason']}",$c); } else { print "<h3>Forum Ban User</h3> This user wont be able to access the forums for days. Do not abuse ! <form action='forumban.php' method='post'> User: ".user_dropdown($c,'user',$_GET['userid'])." Days: <input type='text' name='days' /> Reason: <input type='text' name='reason' /> <input type='submit' value='Forum Ban User' /></form>"; } $h->endpage(); ?>   Upload to your server and thats it. I know its very basic stuff, but hay I'm still learning and I've used alot of mods from here and thought I'd contribute something back ;) Also I have tested it on my server and it works fine :)
  4. Re: [mccode v2] Enhanced Hall of fame COMPLETED! Churz Haunted Dawg, works good for me ;) Only part I miss seeing users position number, apart from that great work n job well done, have added it to my game. If the Force was working i give +10 ;)
  5. Re: [mccode v2] PJIRC Chat Mod scrub my last post, It do work!!! Thanks Isomerizer, if it wasent for your last post id never have got it running +1 for both of ya
  6. Re: [mccode v2] PJIRC Chat Mod I like the idea of this mod but it dosent work. I have the latest java installed on my pc yet all i get is the same white box with a red X like all above posters
  7. Re: [mccodes v2] Main Announcement at the top of the all pages I like the idea of this mod so I installed it but it dont work lol
  8. Re: [mccode v2] Lucky Bags Hi all, I have tryed all 3 versions of the lucky bags and it appears theres no daily limit to how many one can buy, to be able to set a daily limit would be a good thing. apart from that its a good mod :)
×
×
  • Create New...