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.1 - Trinit - 04-14-2010

No it doesn't work °-°
Where can i see if i upgraded well?

Because on upgrades there's only
Upgrade NewPoints from here.

You should backup your database before running an upgrade script.
Only run upgrade files if you're sure about what you're doing
UpgradesName
Upgrade to 1.1
Upgrade NewPoints 1.0 to NewPoints 1.1 Run
Upgrade to 1.2
Upgrade NewPoints 1.1 to NewPoints 1.2.
Note that all forums and group rules will be deleted. Run


RE: [Release] Shop 1.1 - Diogo Parrinha - 04-14-2010

(04-14-2010, 04:28 AM)Trinit Wrote: No it doesn't work °-°
Where can i see if i upgraded well?

Because on upgrades there's only
Upgrade NewPoints from here.

You should backup your database before running an upgrade script.
Only run upgrade files if you're sure about what you're doing
UpgradesName
Upgrade to 1.1
Upgrade NewPoints 1.0 to NewPoints 1.1 Run
Upgrade to 1.2
Upgrade NewPoints 1.1 to NewPoints 1.2.
Note that all forums and group rules will be deleted. Run

Uhh did you read the documentation..?
I hate when people do not read the documentation..


RE: [Release] Shop 1.1 - chorvaqueen - 04-15-2010

Uhm, why can't I view my own items?

I've disabled the view item feature (but admins can still see it right?)

pic
http://i40.tinypic.com/mkyzhd.jpg

I'm the admin, lol of course.

(oh yeah, this happens when I try to click the "View all items" link on the postbit)

Viewing items from the newpoints menu works.


RE: [Release] Shop 1.1 - Diogo Parrinha - 04-15-2010

(04-15-2010, 04:41 AM)chorvaqueen Wrote: Uhm, why can't I view my own items?

I've disabled the view item feature (but admins can still see it right?)

pic
http://i40.tinypic.com/mkyzhd.jpg

I'm the admin, lol of course.

(oh yeah, this happens when I try to click the "View all items" link on the postbit)

Viewing items from the newpoints menu works.

Can you please post both links? The one from the NewPoints menu and the one from "View All Items" ?


RE: [Release] Shop 1.1 - chorvaqueen - 04-15-2010

View all items link
http://chorvaworld.99k.org/forum/newpoints.php?action=shop&shop_action=myitems&uid=1

Newpoints link
http://chorvaworld.99k.org/forum/newpoints.php?action=shop&shop_action=myitems


Update:

Even normal members can't view their own inventories through the postbit link!
I tried with a test account with non-admin privileges.


RE: [Release] Shop 1.1 - Diogo Parrinha - 04-16-2010

Could you please edit the newpoints_shop.php and file replace:
PHP Code:
if ($mybb->settings['newpoints_shop_viewothers'] != && $mybb->user['cancp'] != 1

With:
PHP Code:
if ($mybb->settings['newpoints_shop_viewothers'] != && $mybb->user['cancp'] != && $mybb->user['uid'] != $uid

Does it fix it?


RE: [Release] Shop 1.1 - chorvaqueen - 04-16-2010

Admin: Viewing own items through the postbit link works but viewing others item, no.

Normal Accounts: Working. Only he/she can see his/her items.


RE: [Release] Shop 1.1 - Diogo Parrinha - 04-17-2010

(04-16-2010, 07:53 PM)chorvaqueen Wrote: Admin: Viewing own items through the postbit link works but viewing others item, no.

Normal Accounts: Working. Only he/she can see his/her items.

What if in that line you replace $mybb->user['cancp'] with $mybb->usergroup['cancp'] ? does it work?


RE: [Release] Shop 1.1 - chorvaqueen - 04-17-2010

I get this error

Quote:Parse error: syntax error, unexpected T_VARIABLE in /www/99k.org/c/h/o/chorvaworld/htdocs/forum/inc/plugins/newpoints/newpoints_shop.php on line 892

when I load the page.


RE: [Release] Shop 1.1 - Diogo Parrinha - 04-17-2010

Can you please copy/paste the line here? Within PHP tags