1
Coding / Re: Shop admin not showing up?
« on: October 08, 2008, 09:45:23 am »
Have you tried uninstalling it and any shop items you may have installed and re-install just shop mod to see if it shows?.
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.
You are not allowed any more pets!!!"
Hey all.
It think this mod is rather neat, and wouldn't mind it on my forum. The only thing is that when I try to install it, it comes with one error.Code: [Select]18. Execute Modification ./Sources/Load.php Test failed
Would this be a conflict with one of my other mods? Or is there something I have to prepare before installing this mod?
thank you.. I'll give a try... I'm guessing the smiley in the middle there is supposed to be 8 )?
while ($rowMembers = mysql_fetch_assoc($requestMembers))
updateMemberData($rowMembers['ID_MEMBER'], array('posts' => 'posts - ' . $rowMembers['posts']));
//while ($rowMembers = mysql_fetch_assoc($requestMembers))
// updateMemberData($rowMembers['ID_MEMBER'], array('posts' => 'posts - ' . $rowMembers['posts']));
//BEGIN SMFShop 2.0 (Build MOD code
while ($rowMembers = mysql_fetch_assoc($requestMembers)) {
updateMemberData($rowMembers['ID_MEMBER'], array('posts' => 'posts - ' . $rowMembers['posts']));
global $modSettings;
db_query("UPDATE {$db_prefix}members
SET money = money - {$modSettings['shopPointsPerPost']}
WHERE ID_MEMBER = {$rowMembers['ID_MEMBER']}
LIMIT 1", __FILE__, __LINE__);
}
//END SMFShop 2.0 code
if (!empty($row['ID_MEMBER']) && $decreasePostCount && empty($row['countPosts']))
updateMemberData($row['ID_MEMBER'], array('posts' => '-'));
//BEGIN SMFShop New Version (Build MOD code
db_query("UPDATE {$db_prefix}members
SET money = money - {$modSettings['shopPointsPerPost']}
WHERE ID_MEMBER = {$row['ID_MEMBER']}
LIMIT 1", __FILE__, __LINE__);
//END SMFShop New Version code
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';
// Show how many posts they have made.
// echo '
// ', $txt[26], ': ', $message['member']['posts'], '<br />
// <br />';
// BEGIN SMFShop MOD New Version Code
// Removed one <br /> from end of post count line.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
';
echo '
', $modSettings['shopCurrencyPrefix'], $message['member']['money'], $modSettings['shopCurrencySuffix'], '<br /><br />
<a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">View Inventory</a><br />
<a href="', $scripturl, '?action=shop;do=sendmoney;member=', $message['member']['username'], '">Send Money to ', $message['member']['name'], '</a><br />';
//END SMFShop code
i tried installing SMF pets onto my site through package manager. but it had an error message saying: You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
i tried installing it manually, but i couldn't find this file: ManagePermissions.english.php
where i got the instructions from, said it would work with any theme. but im using the invasion theme for smf/tiny portal.
can someone help?