Discuss
These forums are for “community” support and general discussion, also check out the FAQs, try this first and read the WPS admin guide.
| Bronze/Silver/Gold members | Not a Bronze/Silver/Gold member? | |
| Please submit a helpdesk ticket.You will receive a quicker and more efficient response, prioritised over the forum. Thank you. | Sorry, you can’t use the helpdesk. Please use these forums to log problems. You can purchase temporary helpdesk support, or Fancy upgrading? |
The following string in the new "Galleries" code displays extra empty thumbnails when viewing ANOTHER member's gallery:
// Thumbnails
html += '<div id="symposium_photo_thumbnails">';
for (var i = 0; i < list.length; i++) {
var url = list[i].replace('show_', 'thumb_');
html += '<img id="thumb_'+i+'" rel="'+ids[i]+'" class="symposium_photo_thumbnail symposium_photo_thumbnail_border_off " src="'+url+'" />';
}
html += '</div>';
It displays perfect for logged out users, and perfect when viewing one's own gallery. The empty duplicates show when viewing another member's gallery. These duplicates (sometimes triplicates) can be commented on resulting in a comment on an empty object. The hrefs for the blank thumbnails point to an incorrect member folder (one that does not correspond to the current member's gallery)
This list may not be populating correctly under the above scenario:
// Preload images
for (var i = 0; i < list.length; i++) {
var url = list[i];
html += '<img id="cache_'+i+'" style="display:none;width:20px;height:20px" src="'+url+'" />';
}
I have left some comments on "empty" photos here on Symposium's site so it should be easy enough to spot.
All things considered, this is the best WP Symposium release to date, big thanks for the extra effort and attention to issues. I will try to isolate the above issue to make it easier to correct, but i have already spent a few hours that should have been spent coding. I will post any further info I come up with... Thanks again for a great release!!!












You are not permitted to reply on this forum. Login...







Saving...