Inventory Shop

1.1.x series of the Inventory Shop.
Version: 1.1.0
Autor: Ryan Ashbrook
Deutsche Übersetzung: noch nicht übersetzt
Hochgeladen: 28.06.2007
Letzte Aktualisierung: 25.12.2007
Support: https://www.mybb.de/forum/thread-19511.html (10 Beiträge)
Kompatibilität: MyBB 1.2.x
Bisherige Downloads: 377
Inventory Shop Mod
Version: 1.1.0
Release Status: Stable
Contributions From: CraKteR, Christian, and Mike

I'd like to note that, due to me not having time to rifle through support requests in a single thread, I am moving support for this plugin to my site.

While, I will still provide support here at MyBB, priority support will be given to those that post on my site.

I'm doing this so that I can better organize the different things that people post. Support, Bug Reports, Suggestions, etc.


Features
Six Preset Shops
Weapon Shop
Armor Shop
Helmet Shop
Boot Shop
Accessory Shop
Element Shop


Eighty Two Preset Items
I'm not gonna list them. ;)

User Interface
Money For New Posts
Money For New Threads
Money For Registering
Ability To Sell Items


Administration
Edit Users Money
Edit Users Items
Edit Amount Given for Posts/Threads/Registering
Add / Edit / Delete Shops
Add / Edit / Delete Items
Change Currency Name and Symbol


Various Information

Everything is contained within the plugin, so there is no need to edit the core files.

Due to the vast amount of changes to the database and file structure and the changes between MyBB 1.1.x and 1.2.x, it is impossible to upgrade from Inventory Shop 1.0.1, sorry.


Translations
Turkish
Italiano




*** UPGRADE INSTRUCTIONS FOR 1.1.0 RC2 TO 1.1.0 ***

View the Second Post in the release thread for a patch file.

*** UPGRADE INSTRUCTIONS FOR 1.1.0 RC1 TO 1.1.0 RC2 ***

Upload all files to the right places, as per usual.

Open the shop_donate template and replace it's entire contents, with this:

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->inv_shop} - {$lang->donate}</title>
{$headerinclude}
</head>
<body>
{$header}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr><td class="thead" colspan="3"><strong>{$lang->donate}</td></tr>
</thead>
<tbody>
<tr>
<td class="tcat" style="width:100%" colspan="3"><span class="smalltext"><strong>{$lang->donate_to_user}</td>
</tr>
<tr>
<td class="trow1" style="width: 100%">
<form action="shop.php?do=do_donate" method="post">
<input type="hidden" name="source" value="{$source}" />
<input type="hidden" name="dest" value="{$dest}" />
<input type="hidden" name="thread" value="{$thread}" />
<input type="hidden" name="post" value="{$post}" />
        <input type="text" class="textbox" name="money" />
    <input type="submit" class="button" name="go" value="{$lang->donate}" />
</form>
</td>
</tr>
</tbody>
</table>

{$copyright}
        
{$footer}
</body>
</html>

*** UPGRADE INSTRUCTIONS FOR GAMMA 2 TO RELEASE CANDIDATE 1 ***
Overwrite all the Gamma 2 files with the Release Candidate 1 files, and you're done.

*** UPGRADE INSTRUCTIONS FOR GAMMA 1 TO GAMMA 2 ***

Simply upload all of the files in the archive. Do NOT deactivate the plugin at any time, you will lose your data.

Add the following setting via Admin CP -> Add New Setting:

Setting Title: Money System
Description: Which money system would you like to use? (MyPS requires labrocca's MyPS Plugin)
Setting Name: moneysystem
Setting Type:

select
money=Built-In Money System
myps=MyPS

Value: money
Display Order: 7
Group: inv_shop

And you should be fully upgraded!


*** UPGRADE INSTRUCTIONS FOR BETA 3 TO GAMMA 1 ***


Here are the instructions for doing a complete upgrade straight from Beta 3 to Gamma 1.

Upload all of the files in the Gamma 1 archive, including the Plugin and Language files.


Make the following template modifications:

Open the shop_index template and replace its entire contents with this:

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->inv_shop}</title>
{$headerinclude}
</head>
<body>
{$header}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr><td class="thead" colspan="2"><strong>{$lang->avail_shops}</td></tr>
</thead>
<tbody>
{$shop_bits}
</tbody>
</table>

{$copyright}
        
{$footer}
</body>
</html>

Save the template.

Open the shop_itembits template and replace its entire contents with this:

<tr>
<td class="{$altbg}"><a href="shop.php?do=buy&iid={$item['iid']}&price={$item['price']}&shop={$item['shop']}">{$item['name']}</a></td>
<td class="{$altbg}">{$price}</td>
<td class="{$altbg}">{$item['description']}</td>
</tr>

Save the template.

Open the shop_shopbits template and replace its entire contents with this:

<tr>
<td class="{$altbg}"><span class="smalltext">
<a href="shop.php?do=shop&sid={$shop['sid']}"><b><i>{$shop['shop_templatename']}</i></b></a></span></td>
<td class="{$altbg}"><span class="smalltext"><strong>{$shop['shop_desc']}</strong></span></td>
</tr>

Save the template.

Open the shop_template template and replace its entire contents with this:

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->inv_shop} - {$s['shop_templatename']}</title>
{$headerinclude}
</head>
<body>
{$header}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr><td class="thead" colspan="3"><strong>{$lang->avail_items}</td></tr>
</thead>
<tbody>
<tr>
<td class="trow1" style="width:100%" colspan="3"><span class="smalltext"><strong>{$mybb->settings['currency_name']}: {$mybb->user['money']}{$current}</td>
</tr>
<tr>
<td class="tcat" style="width:15%"><span class="smalltext"><strong>{$lang->name}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->price}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->desc}</strong></span></td>
</tr>

{$item_bits}

</tbody>
</table>

{$copyright}
        
{$footer}
</body>
</html>

Save the Template.

Open the usercp_nav_shop template and replace it's entire contens with this:

<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->inv_shop}</strong></span></td></tr>
<tr>
<td class="trow1">
<ul class="usercpnav">
{$mybb->user['money']}
<li><a href="shop.php">{$lang->enter_shop}</a></li>
</ul>
</td>
</tr>

Save the Template.

Create a new template in "Global Templates" and call it shop_donate

Put the following code in it.
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->inv_shop} - {$lang->donate}</title>
{$headerinclude}
</head>
<body>
{$header}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr><td class="thead" colspan="3"><strong>{$lang->donate}</td></tr>
</thead>
<tbody>
<tr>
<td class="tcat" style="width:100%" colspan="3"><span class="smalltext"><strong>{$lang->donate_to_user}</td>
</tr>
<tr>
<td class="trow1" style="width="100%">
<form action="shop.php?do=do_donate" method="post">
<input type="hidden" name="source" value="{$source}" />
<input type="hidden" name="dest" value="{$dest}" />
<input type="hidden" name="thread" value="{$thread}" />
<input type="hidden" name="post" value="{$post}" />
        <input type="text" class="textbox" name="money" />
    <input type="submit" class="button" name="go" value="{$lang->donate}" />
</form>
</td>
</tr>
</tbody>
</table>

{$copyright}
        
{$footer}
</body>
</html>

Optional Modifications
Here are a few modifications I couldn't get working without needing to edit the core files so I've put them here for you to chose whether to add them or not.

In the User CP the usercp_nav_shop template is not cached, and I couldn't figure out a way to cache in the plugin, so simply find in usercp.php:
$templatelist .= ",usercp_nav_messenger,usercp_nav_changename,usercp_nav_profile,usercp_nav_misc,usercp_usergroups_leader_usergroup,usercp_usergroups_leader,usercp_currentavatar,usercp_reputation"; 
And replace it with:
$templatelist .= ",usercp_nav_messenger,usercp_nav_changename,usercp_nav_profile,usercp_nav_misc,usercp_usergroups_leader_usergroup,usercp_usergroups_leader,usercp_currentavatar,usercp_reputation,usercp_nav_shop"; 


Quelle: Inventory Shop bei MyBB.com

Ähnliche Erweiterungen

Google MyCode 1.1.0 von Zachary für MyBB 1.4.x
Lets you generate a link location to search results from just using a MyCode.

649 Downloads
Akismet (Spam Schutz) 1.1.0 von Ryan Gordon für MyBB 1.4.x
Akismet for MyBB is a plugin built to prevent spam using the Akismet services. Please report any bugs here: http://community.mybboard.net/thread-...

363 Downloads
Portal Weiterleitung 1.1.0 von Dennis Tsang für MyBB 1.4.x
Leitet User einmalig am Tag von der Index Seite auf die Portal Seite um.Für MyBB 1.4.x

367 Downloads
Sitemap Archive Plugin
Sitemap Archive Plugin 1.1.0 von fika für MyBB 1.4.x
Displays a sitemap at the footer. You can decide how many items will be shown.

341 Downloads
Advanced Ads Manager
Advanced Ads Manager 1.1.0 von mihu für MyBB 1.6.x
Advanced Ads Manager was created to be the most powerful advertisements manager for MyBB 1.6.

61 Downloads