Hi,
I think I might have found another bug, this only seems to happen to only happen to the Members' Category.
Basically if you click on members category (not the sub category, I have included a image to show you which link I mean.) and then click on the Member's Categories sub category you get a message saying No Images to Display
Even tho there are images in this category. I have also tried this out on your gallery and the same error happens.
I hope I have explained this well enough for you to understand what the problem is.
I have actually already applied that code fix. Like I said in my first post, it works fine if the user clicks on the Member's Categories sub category, but if they click on the member's category this is when the error happens.
Please take a look at the image to know what link I am on about.
the problem seems to be that if you click on a main category, then the sub category it adds &userid= to the end of the url, so of course there are no members with a userid of 0 so none of the member galleries appear