MyBB-Plugins Forums

Full Version: [Release] Shop 1.7
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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..
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.
(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" ?
View all items link
http://chorvaworld.99k.org/forum/newpoin...tems&uid=1

Newpoints link
http://chorvaworld.99k.org/forum/newpoin...on=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.
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?
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.
(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?
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.
Can you please copy/paste the line here? Within PHP tags