Yeah, checked it, not working. See below screenshot.
May be I found the reason of not showing up of “Next” and “Previous” links.
in file “mpp-misc-functions.php” on line 240, there is a line in which you are getting “user-access level”, using function “mpp_get_current_user_access_permissions()”, which is returning an array “Array (  => public )”, even for “Administrator. Because of this, any gallery and image which do have “Public” status are not showing links.
I don’t know logic behind “mpp_get_current_user_access_permissions()” function so can’t comment on it.
For now I am just commenting line 240, to get it worked.
Thank you for the debug.
It is a remnant of my old code and should be replaced properly by mpp_get_accessible_statuses with a little modification.
It was there to find all the statuses which were accessible to the current user but I moved to a better option ‘mpp_get_accessible_statuses’ where it checks with the registered callback instead of filter, so that became obsolete but still remained there.
I am too tired to push an update at the moment but will do it tonight as the first thing.
Thank you for all your effort. I appreciate your contribution in making MediaPress bug free 🙂
Good morning Brajesh,
Glad to help.
So I will use “mpp_get_accessible_statuses” instead and will let you know if it worked or not.
Mediapress is indeed the best plugin out there for buddypress gallery and you are making it an all in one gallery plugin which is really great. Keep up the good work and thanks for the great plugin.
Thank you Deepak,
Fixed it on trunk now. You can see the changes here.
Closing this topic. Please feel free to open new topics 🙂
The topic ‘ [Resolved] After Updating mediapress, groups do not show option to view gallery.’ is closed to new replies.