Category:Themes
From SMFShopWiki
These pages explain how to add a shop button to the menubar of your theme. Note that to completely integrate SMFShop with your theme, you'll also need to edit Display.template.php, so that the SMFShop information is displayed next to user's posts. To do so, open Themes/[your theme name]/Display.template.php, and find:
// Show how many posts they have made. echo ' ', $txt[26], ': ', $message['member']['posts'], '<br /> <br />';
Replace with:
// BEGIN SMFShop 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
Note: I am currently moving posts from the forum into this section of the Wiki. The old forum posts may be found at http://www.daniel15.com/forum/index.php/board,11.0.html.
Articles in category "Themes"
There are 22 articles in this category.
ABCE |
GMPS |
UVbds |
