MyBB-Plugins Forums
[Release] Shop 1.7 - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.6.x (http://forums.mybb-plugins.com/Forum-MyBB-1-6-x)
+---- Forum: NewPoints (http://forums.mybb-plugins.com/Forum-NewPoints)
+----- Forum: Plugins (http://forums.mybb-plugins.com/Forum-Plugins)
+----- Thread: [Release] Shop 1.7 (/Thread-Release-Shop-1-7)



RE: [Release] Shop 1.4 - restrictment - 11-16-2010

Ugh! I get an, "Access Denied message". Not entirely sure why I get this message..

I am the secondary Admin, because I let one of my friends upload the site. However I FTP information and everything. I also checked my permissions under users and groups, and I checked everything off so I have access to everything. Maybe I HAVE to be root admin?


RE: [Release] Shop 1.4 - Diogo Parrinha - 11-17-2010

Go to Users & Groups -> Admin Permissions -> NewPoints and change the settings.

Fixed?


RE: [Release] Shop 1.4 - restrictment - 11-17-2010

Yes, thanks. I missed the sub-categories. Man, I can't believe I didn't see that to begin with. Thanks!


RE: [Release] Shop 1.4 - Diogo Parrinha - 11-18-2010

You're welcome!


RE: [Release] Shop 1.4 - Skiilz - 11-28-2010

I found a bug in one of the templates - newpoints_shop_view_item

Code:
<html>
<head>
<title>{$lang->newpoints} - {$lang->newpoints_shop_view_item}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
<td valign="top" width="180">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->newpoints_menu}</strong></td>
</tr>
{$options}
</table>
</td>
<td valign="top">
{$inline_errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" width="100%"><strong>{$lang->newpoints_shop_view_item}:</strong> {$item['name']}</td>
</tr>
<tr>
<td class="trow1" width="100%">{$item['icon']} {$item['name']}<br /><span class="smalltext">{$item['description']}</span></td>
</tr>
<tr>
<td class="trow2" width="100%"><strong>{$lang->newpoints_shop_price}:</strong> {$item['price']}</td>
</tr>
<tr>
<td class="trow1" width="100%"><strong>{$lang->newpoints_shop_stock}:</strong> {$item['stock']}</td>
</tr>
<tr>
<td class="trow2" width="100%"><strong>{$lang->newpoints_shop_sendable}:</strong> {$item['sendable']}</td>
</tr>
<tr>
<td class="trow1" width="100%"><strong>{$lang->newpoints_shop_sellable}:</strong> {$item['sellable']}</td>
</tr>
<tr>
<td class="tfoot" width="100%" align="center" colspan="2"><form action="newpoints.php?action=do_shop&amp;shop_action=buy" method="POST"><input type="hidden" name="postcode" value="{$mybb->post_code}"><input type="hidden" name="iid" value="{$item['iid']}"><input type="submit" name="buy" value="{$lang->newpoints_shop_buy}"></form></td>
</tr>
</table>
{$footer}
</body>
</html>

There is one </td> missing. I think that it might be like the one bellow:

Code:
<html>
<head>
<title>{$lang->newpoints} - {$lang->newpoints_shop_view_item}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
<td valign="top" width="180">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->newpoints_menu}</strong></td>
</tr>
{$options}
</table>
</td>
<td valign="top">
{$inline_errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" width="100%"><strong>{$lang->newpoints_shop_view_item}:</strong> {$item['name']}</td>
</tr>
<tr>
<td class="trow1" width="100%">{$item['icon']} {$item['name']}<br /><span class="smalltext">{$item['description']}</span></td>
</tr>
<tr>
<td class="trow2" width="100%"><strong>{$lang->newpoints_shop_price}:</strong> {$item['price']}</td>
</tr>
<tr>
<td class="trow1" width="100%"><strong>{$lang->newpoints_shop_stock}:</strong> {$item['stock']}</td>
</tr>
<tr>
<td class="trow2" width="100%"><strong>{$lang->newpoints_shop_sendable}:</strong> {$item['sendable']}</td>
</tr>
<tr>
<td class="trow1" width="100%"><strong>{$lang->newpoints_shop_sellable}:</strong> {$item['sellable']}</td>
</tr>
<tr>
<td class="tfoot" width="100%" align="center" colspan="2"><form action="newpoints.php?action=do_shop&amp;shop_action=buy" method="POST"><input type="hidden" name="postcode" value="{$mybb->post_code}"><input type="hidden" name="iid" value="{$item['iid']}"><input type="submit" name="buy" value="{$lang->newpoints_shop_buy}"></form></td>
</tr>
</table>
</td>
{$footer}
</body>
</html>



RE: [Release] Shop 1.4 - Diogo Parrinha - 11-29-2010

Where's the missing </td> exactly?


RE: [Release] Shop 1.4 - Skiilz - 11-29-2010

Code:
<td valign="top">
{$inline_errors}



RE: [Release] Shop 1.4 - Diogo Parrinha - 11-29-2010

That's fixed in 1.5

You must add:
Code:
</td>
</tr>
</table>

After the last </table>


RE: [Release] Shop 1.4 - Skiilz - 11-30-2010

Ok, I'm going to edit the template now.


RE: [Release] Shop 1.4 - Diogo Parrinha - 12-01-2010

Alright Smile