Hi Bogdan,
The photo albums are creating correct urls from what we can see.
Correct:
www.domain.com/user-a/photos/album-name/
www.domain.com/user-a/photos/album-name/photo.html#photoid=2593
However, when you click the same photo from the same user from their profile on the 'JomSocial Latest Photo's Plugin' it generates url:
Incorrect:
www.domain.com/photos/album-name-G/photo.html#photoid=2593
No username is present in url, and anyone who has album-name-G it will go to randomly.
JomSocial say this is SEF issue, but they way the url is building in latestphoto.php does not seem to look for username? What do you think?
plugins/community/latestphoto.php around line 144
function buildLink($albumid, $photoid){
$link = CRoute::_('index.php?option=com_community&view=photos&task=photo&albumid='.$albumid) . '#photoid='.$photoid;
return $link;
}
Tnks // Steve