jestter
Forum Replies Created
-
Forum: Hacks
In reply to: Nextgen Gallery – How to get gallery's contained in an albumHello again
After some research of the ngg data structure and function I came up with something that looks like a solution to this.
My fanal goal was to display the recent images of a album so I came up with this function. Probably not the best solution but looks like work. Still need to do more testing on it
function nggDisplayRecentImagesAlbum($albumid=0, $number, $width = '75', $height = '50', $exclude = 'allow', $show = 'thumbnail') { global $nggdb, $ngg; if ($album = nggdb::find_album($albumid)) { $alist = implode(',',$album->gallery_ids); if(!empty($alist)) return nggDisplayRecentImages($number,$width,$height,$exclude,$alist,$show); } }UPDATE: fully functional now.
Forum: Plugins
In reply to: [Plugin:NextGEN Gallery Voting] Not working on Image browserThe issiue resloved.
My problem was just that for all old library’s and photos you need to set the ability to vote manually.
if anyone interested here is the link to the post that explains all
Forum: Hacks
In reply to: Nextgen Gallery – How to get gallery's contained in an albumAny idea anyone?. Sorry to nag but I am banging my head around this cos it is the last thing that I need to finish this project
Forum: Hacks
In reply to: Nextgen Gallery – How to get gallery's contained in an albumBasicly I would like to achive to get a list of recent pictures same as nggDisplayRecentImages just to get recent images from a specific album instead of gallery so the user dosent need to hardcode the gallerys inside the code