Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Other Forum Systems
  • [SMF] SMF For Free Store Mod v1
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Add Reply
[SMF] SMF For Free Store Mod v1
Topic Started: Aug 8 2009, 11:31 AM (178 Views)
slayer766 Aug 8 2009, 11:31 AM Post #1
Member Avatar
Hello all

Posts:
1,652
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Name: 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: Preview
Register, 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
Code:
 
<script src="/jquery.js"></script>


In your Footers, place this in there:
Code:
 
<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:
Code:
 
<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 then click on the X of the webpage editor, 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. :P 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! :D Another thanks to Moose for making the code post credits for quick reply. ;)
Edited by slayer766, Aug 8 2009, 11:32 AM.
Posted Image
Thanks Helena for the siggah!!!
Offline Profile Quote Post Goto Top
 
IncomingGank Nov 5 2009, 06:21 PM Post #2
Member Avatar


Posts:
275
Group:
Dedicated
Member
#3,556
Joined:
Nov 5, 2009
Coding language
None
I like shops and money.

But I don't see any money...
Posted Image
Offline Profile Quote Post Goto Top
 
slayer766 Nov 19 2009, 11:38 AM Post #3
Member Avatar
Hello all

Posts:
1,652
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Well then provide your board url and I can take a look, or just post what browser you use and the version. You probably use an old or untested browser...
Posted Image
Thanks Helena for the siggah!!!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Other Forum Systems · Next Topic »
Add Reply

Track Topic · E-mail Topic Time: 5:27 PM Sep 3
Hosted for free by ZetaBoards