Post by Texas on Jul 2, 2013 16:37:09 GMT -8
[discontinued]
Download still available
The Gold Shop
Current Version: 3.1.3
Current Released Version: 3.1.3
Current Version Awaiting Approval: 3.1.3
Download: Here
Source: Here
1. Intro
2. Feature List
3. How To?
4. API
5. Future Features
6. Change Log
Introduction
The Gold Shop is a plugin that utilizes the Monetary System's economy to allow forum owners to create virtual shops. If you wondering how people earn this virtual money, you're in the wrong place. Please go to this thread for information about earning money or any other questions regarding the Monetary System.
The Gold Shop not only allows members to buy things in the shop, but it also allows them to give items to other members as gifts. Additional features as well as moderation features are listed in the Features section.
Feature List
1. Buying Items (Items must be defined by Administrator)
2. Gift Exchanging
3. Item Returning
4. Moderator add or remove items
How To?
How do I get to the shop page?
In the lower left corner of your browser, whilst viewing your forum, you should see a little button that looks like this: . Click on the image and it will take you to your forums shop page.
How do I buy an item?
While your viewing the shop page, hover over the item you wish to buy. As you hover over it, a grey overlay will appear. Click on the dollar sign and it will take you to the page where you can purchase the item.
Where can I find information about an item?
Go back to the shop page, hover over the item you want to buy, and then hit the "i" button. That will take you to the items information page where you can view all the information about that item.
I'm a mod and I want to do add an item to a users profile without having buy it first, how do I do this?
First, your going to need the ID of the item you wish to give to the user. So go to the shop page, find the item you wish to give, go to that items information page, and find the ID of the item. (Last item in the information list) Once you've acquired the ID of the item, go to the profile page of the user you wish to add that item to. On their profile page, click on the options menu (next to the Send Message button), in the drop-down you should see "Add Item", click on that. It will take you to the add page, and the rest is pretty self explanatory. (All of this presupposes that you are added to the "removers" in the "misc." tab of the plugins settings.)
I'm a mod and I want to a remove an item from a users profile, how do I do this?
Go to the profile of the person you wish to remove an item from. Click on the options menu next to the "Send Message" button and select "Remove Item". This will take you to the remove page where you can specify what item to remove, and how many of that item you wish to remove.
Where did the Give button go?
All buttons that do anything on the profile page have been moved to the options menu next to the "Send Message" button.
API
I don't really want to write out all the inner workings of this plugin unless I have to, if someone expresses interest in writing an plugin that utilizes The Gold Shop then let me know and I'll write up a list of usable functions and what they do.
Future Features
-Users selling items to other users
-Sub-categories
-Members items in mini-profile
-Users supply own items (Additional plugin most likely required)
-Item packages
-Expiring items
-Ability to create shop anywhere
-Gold Shop currency
-Apply items to other items
Change Log
Version 1
[1.0.1]
Fixed a bug
[1.0.2]
Changed the amount of 0 to equal 0 and not infinity.
[1.0.3]
Fixed the match vs. "==" category bug.
[1.0.4]
Fixed threads with "shop" in their URL's not showing up
[1.0.5]
Made the categories aromatically collapsed
[1.1.0]
Added an api
[1.1.1]
Added an function that will fire when items are bought
[1.1.2]
Added a remove function
[1.1.3]
Added a return function
[1.1.4]
Added a give function
[1.1.5]
Added a JSON overwrite for people updating the plugin
[1.1.6]
Fixed a bug
[1.1.7]
Added a buy function: vitals.shop.api.buy( item , amount );
[1.1.8]
Made the "Shop Items" text on the profile page resizable
[1.1.9]
Revised buy() function
[1.2.0]
Fixed category listing problem
[1.2.1]
Revised JSON overwrite so users could also add things via the normal way
[1.2.2]
Added a moderation button so certain users can remove items from users
[1.2.3]
Fixed a bug with category listing
[1.2.4]
Fixed a bug with the remove function
[1.2.5]
Fixed another category listing bug
[1.2.6]
Fixed problem with concating JSON overwrite strings
[1.2.7]
Fixed problem with all items being given to another person in give function
[1.2.8]
Added key permissions so the whole plugin would work ( cause it wasn't until now )
[1.2.9]
Fixed the right click alert description
[1.3.0]
Fixed a bug with the "remove item" feature
[1.3.1]
Fixed a bug with that hid items if there amount was set to 0
[1.3.2]
Added pBey
[1.3.3]
Removed pBey awaiting certain updates from ProBoards
Version 2
[2.0.0]
re-wrote entire plugin
[2.0.1]
touch up work, fixes some bugs
[2.0.2]
Fixed the "right click to veiw more" functionality
[2.0.3]
Made given items re givable
[2.0.4]
Did some prep work for the update to a global forum key (pBey compatibility)
[2.0.5]
Forgot to add the remove function. Added it
[2.0.6]
Fixed a bug with the shop items being added to the screen
[2.0.8]
Fixed a bug with the "give" and "remove" system.
[2.1.2]
Thought I fixed the regular expression but hadn't...it's fixed now *blows smoke off of pistol*
Version 3
[3.0.0]
Butchered the plugin and started rewrite.
[3.0.1]
Redesigned the shop buy page.
[3.0.2]
Revised data storage
[3.0.3]
Added update function to update old data to new
[3.0.4]
Rewrote all functions pertaining to data handling
[3.0.5]
Created buy page
[3.0.6]
Created give page
[3.0.7]
Revised return method
[3.0.8]
Moved "give" and "remove" buttons to action menu on profile
[3.0.9]
Re-created profile shelf
[3.0.10]
Added "info box" to shelf
[3.0.11]
Created "info page"
[3.1.0]
Added the ability for certain users to "add" items to peoples shelves.
[3.1.1]
Revised add, subtract, increment, and decrement functions (they had bugs)
[3.1.2]
Fixed item stock showing up as 0 instead of ∞
[3.1.3]
Added item ID to info page