Moderator Edit: This code no longer worksName: Store Mod v1
Description: A Store Mod complete with Buying, Selling, Trading, and so much more! See for yourself!
Features:
Money Features- Money per quick reply, full reply, topic, and poll
- Donate to other users
- Money increase/decrease in real time right on the same page
- Info displayed next to your posts and in your profile
- 5 Items listed from your inventory
Store Features- Bank
- Withdraw
- Deposit
- Interest
- Top 5 Richest Members
- Buy Items
- Random Money
- Steal Money
- Burglary Detector
- Inventory
- Use Item
- Sell Item
- Delete Item
- Automatic Stock Replenishment
- Users browsing shop
- Pagination
- Trade Center
Admin CP Features- Automatic Installation
- Store Settings
- Edit User
- Edit Item(s)
- Delete Item(s)
- Item Modification
- Create Item
- Edit Item
- Delete Item
- Configure Store CSS
A complete list of features, news and updates will be in your Store Admin CP.
Preview:
PreviewRegister, visit the Store tab.
Copyright: slayer766
Known Bugs: None
Browser Compatibility: Currently known to run in all browsers.
Installation: 4 Easy steps to follow. Actual shop installation on your board will take place in your
Administration Center, once you add everything to your board below:
Step 1. Go into your Admin CP > Manage Styles > Headers/Footers >
Headers:
Make sure you have this in there
<script src="/jquery.js"></script>
In your
Footers, place this in there:
<script src="http://209.85.62.24/171/8/0/p198002/Storezv1.js" type="text/javascript"></script>
Now Save Headers and Footers.
Step 2.
Webpage Editor Add Webpage >
WebPage Title: store
WebPage Body: Click on the HTML button in the button list. Place this code in there:
<p>
<script type="text/javascript"><!--
if($("span b:first").text() != "Guest"){
var user = $("span b:first").text();
document.write('<iframe src="http://slayer766.com/SMFMS/Storefront.php?&store=home&u=' + user + '&f=' + smf_scripturl + '" mce_src="http://slayer766.com/SMFMS/Storefront.php?&store=home&u=' + user + '&f=' + smf_scripturl + '" height="600px" width="100%" scrollbar="no" frameborder="0"> </iframe>');
}
// --></script>
</p>
Now click
Update, and then click
Add Page.
Step 3. Manage Styles > Custom Tabs > Add Custom Tab:
Title: Shop (Or whatever you want it to say)
URL: This would be the location of the webpage you JUST created.
The Store is on your board now, but with no items, no access to items, no css or anything.
Now this is the part where your admin abilities come in.
Final Step. Visit your Admin CP, go to Administration Center(Which should show up by default when you enter your Admin CP), scroll down a little bit and you will see Store Admin CP. It will tell your No Installation found, you just simply click on the Install Now! button and you're done!
You can now Edit, Delete, Create Items, Create/Edit/Delete User Items, set how much you want per poll/reply/topic, and a ton of other stuff! Have fun!
If you experience ANY problems please post them here and I will fix them ASAP. If you have any suggestions, feedback please post them here or
here. It's much appreciated.
I would like to thank those who have helped test this out, those boards include Revolution X and Partners In Crime. Thanks you guys!
Another thanks to Moose for making the code post credits for quick reply.