solved Gallery, or album listing bug?

iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Found an interesting scenario w/ the album/galleries.

Let's say you have 2 different artists with a similar album name, say "1"

From MediaPro > Galleries page. The first listing is Alphabetically by name. So, the "1" album appears. When I click that, it goes to the artist album page, however it shows all albums where album name is "1". So in the picture attached, you'll see an artist page > photos tab, but "1" album from a different artist (see URL and breadcrumb links in attached photo)


updated by @ilovehousemusic: 03/30/14 04:07:39PM
brian
@brian
10 years ago
10,148 posts
Let me check this out - most likely it's a bug and the profile_id is not being added to the search.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Thank you, hope I explained that well.
brian
@brian
10 years ago
10,148 posts
This should be fixed now in jrGallery 1.2.4 - let me know if you see any issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
I'm still seeing that behavior. However, this time around I'm actually going to the user's Album, and then clicking on the "1" album. It then shows albums named "1" from another user.

I should note, that I renamed the Galleries URL to "Photos" but i'm not sure that will have an impact.
brian
@brian
10 years ago
10,148 posts
Yeah that is what I saw as well, and it should be fixed. When you say "It then shows albums named "1" from another user." do you mean images from another album named "1"? When viewing a specific gallery I'm not seeing how you see other galleries.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@Brian - best way to explain it is to show it to yah. LOL. I'm going crazy I say! Check it out and let me know what you think. I tried a few things on the fly and it got even more weird.

http://www.youtube.com/watch?v=yGrN9GXAHHk
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
I just realized the URL structure represents the Item ID, not the album name...but i think you can still see what I'm talking about in the video...
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
I think part of the problem is, if the gallery (album) is named "some number" for instance "123", then the system is looking for gallery ID=123, not named "123".

Another example - There are a few galleries named after the year (ex: 2013) and they are exhibiting the same behavior.

I could be wrong, but maybe you can see if you get the same type of behavior when you create galleries in a similar fashion (a number).

Perhaps it could also be the way the URL is built in the item listing.

Hope that helps!
updated by @ilovehousemusic: 02/21/14 08:56:31PM
brian
@brian
10 years ago
10,148 posts
The root cause if this actually has to do with the gallery images being listed form a skin template, and not a profile - when listing from the skin template the profile_id is not used, so the grouping of album names happens by the gallery title name, so if 2 profiles have the exact same gallery name then you'll see an issue.

This is going to require the ability to have multiple group by parameter support in jrCore_list, which is something I'll get into the next release.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Right on thanks @Brian.
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Does the recent core update to 5.1.24 attempt to address this? I see verbiage in the changelog that would indicate so....
brian
@brian
10 years ago
10,148 posts
iLoveHouseMusic:
Does the recent core update to 5.1.24 attempt to address this? I see verbiage in the changelog that would indicate so....

Yes - the core now supports the ability to "group by" more than 1 field, which is what is needed here. We're going to get updated skins out as well that have the small fix in it, but basically in your skins galleries.tpl file change the jrCore_list calls that have the group by set as this:

group_by="gallery_title_url"

to this:

group_by="_profile_id, gallery_title_url"

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
Unrelated to this thread, but that's very helpful to me! Thanks!


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@Brian - here's what I'm seeing - from the profile > Gallery > album level:

Gallery album named "1"
http://www.youtube.com/watch?v=ozQYClFlw1I

Also another example - Gallery album named "2013"
http://www.youtube.com/watch?v=VxJkE8KlnrA

Do the profile level TPLs need to be updated too?
updated by @ilovehousemusic: 02/25/14 11:34:09AM
brian
@brian
10 years ago
10,148 posts
Yes - there were updates to the Gallery templates in the last release - did you update to them?

I'm testing with ProJamLight here and am not seeing any issues with galleries using the same name from different profiles.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Are you talking about the templates in the galleries module? No, I have not overidden them. Let me try reloading the module...
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
I could have swore there was a module reload button - where do I find that? Thought I saw it once before...
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
Marketplace > Tools > Reload Modules or Skins


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@SteveX - thank you!

I reloaded the Galleries Module.
I tried creating a new Album using the master admin account, on my personal profile.
Named the album "2014". Same error.
I am able to create album (non-number).

It's really weird!! What could it be?

Here's a vid:
http://www.youtube.com/watch?v=AHPHGGWjEOc
updated by @ilovehousemusic: 02/25/14 01:52:04PM
brian
@brian
10 years ago
10,148 posts
If you can, send me your SSH and JR info to brian [at] jamroom [dot] net - tomorrow morning when I'm back in the office I will try to see what's going on.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Sent - thank you!
brian
@brian
10 years ago
10,148 posts
iLoveHouseMusic:
Sent - thank you!

Just an update that I'm running a bit behind this morning, and have to run out to the Dentist (fun) - this is first on my list to check out when I get back, probably around 11am PST or so.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@brian - thanks for the update. No problem at all. I'm in no rush.
brian
@brian
10 years ago
10,148 posts
I see why this is happening, and it actually has to do with the gallery name - you named it "2014", and so in the gallery URL that is being seen as the item_id and NOT the gallery name. let me check out how to fix this.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@brian - Yes! I mentioned that in one of my responses above ;) glad I'm not going crazy!
brian
@brian
10 years ago
10,148 posts
OK I believe this all should be fixed up now in the latest release (1.2.5) - update to that, reset caches, and let me know how that works.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
@brian I see what you did, you appended it with "/all" - good one! That's working like a charm now, thanks so much for the help. You may close this thread!
brian
@brian
10 years ago
10,148 posts
iLoveHouseMusic:
@brian I see what you did, you appended it with "/all" - good one! That's working like a charm now, thanks so much for the help. You may close this thread!

Yep - that lets is distinguish internally that we want to view the gallery and not a specific image.

Glad to see it is working.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags