1
Requested additions / Re: SMFShop for 2.0 Beta?
« on: May 22, 2008, 06:18:04 am »
not AFAIK. and dan's pretty busy.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
class item_IncreaseKarma extends itemTemplate
toclass item_DecreaseKarma extends itemTemplate
db_query("
UPDATE {$db_prefix}members
SET karmaGood = karmaGood + {$item_info[1]}
WHERE ID_MEMBER = {$ID_MEMBER}", __FILE__, __LINE__);
return 'Successfully increased your Karma by ' . $item_info[1] . '!';
db_query("
UPDATE {$db_prefix}members
SET karmaBad = karmaBad + {$item_info[1]}
WHERE ID_MEMBER = {$ID_MEMBER}", __FILE__, __LINE__);
return 'Successfully decreased your Karma by ' . $item_info[1] . '!';