2006-03-11, 11:53 PM
It's called a shop mod. massacre just announced (a few posts back in this thread) that he would be converting his RPG/Shop mod to work with this cash mod. You should keep an eye out for it.
//Assuming admins are in default group number 4 and that the superadmin first registered on the forum
//If you have trouble you can comment out the line below and uncomment the lines beneath it putting in your own information
$row = $db->fetch_array($db->query("SELECT uid FROM " . TABLE_PREFIX . "users WHERE usergroup = 4 ORDER BY uid ASC"));
$uid = $row[\'uid\'];
and replace it with//Assuming admins are in default group number 4 and that the superadmin first registered on the forum
//If you have trouble you can comment out the line below and uncomment the lines beneath it putting in your own information
//$row = $db->fetch_array($db->query("SELECT uid FROM " . TABLE_PREFIX . "users WHERE usergroup = 4 ORDER BY uid ASC"));
//$uid = $row[\'uid\'];
$uid = [b]the uid[/b]
I generally leave comments in code if people want to try and change something for themselves. This is one case where I pre-emptively thought of the problem/solution //Assuming admins are in default group number 4 and that the superadmin first registered on the forum
//If you have trouble you can comment out the line below and uncomment the lines beneath it putting in your own information
$row = $db->fetch_array($db->query("SELECT uid FROM " . TABLE_PREFIX . "users WHERE usergroup = 4 ORDER BY uid ASC"));
$uid = $row['uid'];
and replace with//Assuming admins are in default group number 4 and that the superadmin first registered on the forum
//If you have trouble you can comment out the line below and uncomment the lines beneath it putting in your own information
//$row = $db->fetch_array($db->query("SELECT uid FROM " . TABLE_PREFIX . "users WHERE usergroup = 4 ORDER BY uid ASC"));
//$uid = $row['uid'];
$uid = [b]the uid[/b];