Fixed Guests able to view albums for members only

#1
If a guests clicks on the media tab they cannot see albums for members only. If they click on the widget as shown here on this web site clicking the recent videos and images they then are able to view the albums that are meant for members only. I hope its ok to use this website as an example of the widget.
https://www.the-armory.net/
I am using the widget XFMG: Media slider and display personal albums is enabled.
If I change the album to album owner only it goes away. I think I am missing something.
Thanks for any help.
 
#5
I noticed this same problem when Google was crawling member pictures it shouldn't have been, pictures in albums restricted to members.

This issue was reported a month ago (this thread), a URL was provided to demonstrate the problem almost a month ago, as of today the problem still exists (including on here). I can browse both toejam's album as well as view the picture while not logged in. Will this be fixed in the next update? This is a privacy issue after all. Seems like it has a low priority.
 

Chris D

XenForo developer
Staff member
#6
It is fixed for the next release.

You can fix the issue now with a fairly simple file edit.

Edit: src/addons/XFMG/Entity/Album.php and find this on line 91:
PHP:
if ($this->user_id)
and replace with:
PHP:
if ($visitor->user_id)
 
Top