Z?v?? Posted June 11, 2007 Posted June 11, 2007 Yes, this is a small edit in oxidati0ns marriage mod. He claims it works but it obviously doesnt for me. Its an edit in the viewuser.php that shows who the users are married to. It doesnt error or anything but it doesnt say who the users are married to. if($r['married'] == 1) { $marryq=mysql_query("SELECT * FROM `marriages` WHERE (`marriage_from` = '$r[userid]') OR (`marriage_to` = '$r[userid]')",$c); $mr=mysql_fetch_array($marryq); if($mr['marriage_from'] == $userid) { $from=2; $themid=$mr['marriage_to']; } else { $from=1; $themid=$mr['marriage_from']; } if($from == 1) { $uq=mysql_query("SELECT * FROM users WHERE userid='$mr[marriage_to]'",$c); } else { $uq=mysql_query("SELECT * FROM users WHERE userid='$mr[marriage_from]'",$c); } $marr=mysql_fetch_array($uq); $married="[url='viewuser.php?u=$themid']".$marr['username']."[/url]"; $marriagetxt=" ([url='marriageinfo.php?ID=$themid']Info[/url])"; } else { $married="N/A"; $marriagetxt=""; } print "Married: $married$marriagetxt Married: ".number_format($r['married_times'])." times Quote
03laceys Posted June 11, 2007 Posted June 11, 2007 Re: Viewuser.php Edit zaver i had same problem although not with oxi's mod i fixed it but cant remember how as that was when i was using stolen v2 codes 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.