December 10, 2018, 11:16:39 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

SMF For Free Store Mod v1

Pages: [1] 2   Go Down
  Print  
Author Topic: SMF For Free Store Mod v1  (Read 2002 times)
slayer766
PHP > JS
Member
Member
Offline Offline

Posts: 147



View Profile
Badges: (View All)
« on: August 07, 2009, 06:51:44 pm »

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. Smiley

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, 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. Smiley

The Store is on your board now, but with no items, no access to items, no css or anything. Tongue 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. Smiley

I would like to thank those who have helped test this out, those boards include Revolution X and Partners In Crime. Thanks you guys! Cheesy Another thanks to Moose for making the code post credits for quick reply. Wink
« Last Edit: August 08, 2009, 09:36:43 pm by slayer766 » Report Spam   Logged

Lyle
MeTube
Member
Member
Offline Offline

Gender: Male
Posts: 69



View Profile
Badges: (View All)
« Reply #1 on: August 07, 2009, 06:52:29 pm »

Wow! slayer...they just added to the forums..and youve already realeased

great job....keep up the good work
Report Spam   Logged
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« Reply #2 on: August 07, 2009, 07:47:06 pm »

Go slayer!

I love the code, and I'm sure everyone will love it Smiley
Report Spam   Logged


slayer766
PHP > JS
Member
Member
Offline Offline

Posts: 147



View Profile
Badges: (View All)
« Reply #3 on: August 08, 2009, 10:47:24 am »

Thanks for the comments.  Cool
Report Spam   Logged
Nottz
Newcomers!
Newcomers!
Offline Offline

Gender: Male
Posts: 1



View Profile
Badges: (View All)
« Reply #4 on: August 08, 2009, 11:37:36 am »

The Code Is Amazing.
Great Job. Wink
Report Spam   Logged
Nick
Member
Member
Offline Offline

Gender: Male
Posts: 48


View Profile
Badges: (View All)
« Reply #5 on: August 09, 2009, 04:52:31 pm »

I love the store; awesome job, slayer Smiley

1 suggestion:
When an item is bought, is there anyway to make it to where it sends a PM to the Root Admin (User 1) with who bought it and what the item was?

If not, it's fine
Report Spam   Logged
slayer766
PHP > JS
Member
Member
Offline Offline

Posts: 147



View Profile
Badges: (View All)
« Reply #6 on: August 09, 2009, 05:01:48 pm »

Thanks. Smiley


Why do you want that?  Shocked
Report Spam   Logged
Nick
Member
Member
Offline Offline

Gender: Male
Posts: 48


View Profile
Badges: (View All)
« Reply #7 on: August 09, 2009, 05:40:25 pm »

Thanks. Smiley


Why do you want that?  Shocked

Because I plan to "sell" certain features in the shop, eg. Coloring your user name across the board. Since that's on a member ID basis, I can control who gets it. I would "sell" that feature for money to active members.

Again, if you don't want to do it/it's not possible, that's fine
Report Spam   Logged
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« Reply #8 on: August 09, 2009, 05:40:59 pm »

Like I was saying to you a couple of days ago slayer, people would want an effect that sends a certain user(s) a PM so they can get an item.

Say people had an item in the store that called "Bold Username".  Well, with that item, all they would have to do is buy it, and it will send the user specified a PM saying that {user} wants the Bold Username.  Then the Admin can add my Change Username Across Board code and make it so their name will be bold Tongue
Report Spam   Logged


slayer766
PHP > JS
Member
Member
Offline Offline

Posts: 147



View Profile
Badges: (View All)
« Reply #9 on: August 09, 2009, 05:52:25 pm »

I believe this can be accomplished through the store without the use of a PM. Wink I'll write that soon, I have other features to create beforehand.
Report Spam   Logged
Santadomin
Newcomers!
Newcomers!
Offline Offline

Gender: Male
Posts: 7


View Profile
Badges: (View All)
« Reply #10 on: August 20, 2009, 01:47:42 am »

Awesome code mate, im definately using this one! ... but how do i add a custom picture to an item? i tried a url and a [IMG]URL ..too but neither worked ...
« Last Edit: August 20, 2009, 01:53:55 am by Santadomin » Report Spam   Logged
slayer766
PHP > JS
Member
Member
Offline Offline

Posts: 147



View Profile
Badges: (View All)
« Reply #11 on: August 20, 2009, 08:37:57 am »

What url did your try?

I own color username item. Tongue I'm going to add that to admin controls so admins can add that item. Currently I have it only set up so it colors your name red...I'm obviously going to finish that up but later.
« Last Edit: August 20, 2009, 09:08:09 am by slayer766 » Report Spam   Logged
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« Reply #12 on: August 20, 2009, 01:54:53 pm »

Tahts why my name is red!  I was wondering why >.<

Darn you and your awesomeness slayer Tongue

Thats weird...I used the color username and it made it regular Tongue  Oh well, I like it regular better Tongue
« Last Edit: August 20, 2009, 02:00:11 pm by Agent Moose » Report Spam   Logged


slayer766
PHP > JS
Member
Member
Offline Offline

Posts: 147



View Profile
Badges: (View All)
« Reply #13 on: August 20, 2009, 02:02:42 pm »

Yeah you can't "Use" it, I need to make it so you can't use it. Once you have the color username item it's colored.
Report Spam   Logged
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« Reply #14 on: August 20, 2009, 02:04:31 pm »

Ah, how do you plan on making it different colors Tongue
Report Spam   Logged


Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum | Buy traffic for your forum/website

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy