MyBB Community Forums

Full Version: ezGallery 2.0.1 - Photogallery for MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Didn't have a part in that updated file. But may include previous/next links in a future update.
(2011-11-16, 09:25 AM)Cyphocx Wrote: [ -> ]You're doing it wrong(lol, meme reference).

EDIT: Keep in mind that this modification is not optimal. For example; if you press Next when there are no images left then you will receive a Database Error.
Next & Previous buttons Update 1
Find:
function ViewPicture()
{
	global $context, $db, $mybb, $gallerySettings ,$lang, $config, $parser, $parser_options, $plugins;

	isAllowedTo('view');

Put this below:
	//Prevent user from going to a page that does not exist.
	$DbResult = $db->query("
	SELECT 
		* 
	FROM ".TABLE_PREFIX."gallery_pic 
	ORDER BY ID_PICTURE DESC");
	
	$dbRows = $db->fetch_array($DbResult);
	
	if ($_GET["id"] > $dbRows["ID_PICTURE"])
	{
		header("Location: ezgallery.php?action=view&id=" . $dbRows["ID_PICTURE"]);
	}

With the changes you made to the original file, the "comments" option does not function anymore. For some reason it is trying to comment on the picture ID of the picture before the one that is actually showing. I'm not sure what is causing this...
I've used this plugin before and the one thing that I dislike is that it doesn't recognize the images already in the folder, you need to manually add the images through the plugin.

That doesn't work for me when I have over 4,600 images on http://www.resource.mebes.net
(2011-12-05, 03:57 AM)Mebes Net Wrote: [ -> ]I've used this plugin before and the one thing that I dislike is that it doesn't recognize the images already in the folder, you need to manually add the images through the plugin.

That doesn't work for me when I have over 4,600 images on http://www.resource.mebes.net
I could build something to do that.
(2011-12-05, 03:11 PM)vbgamer45 Wrote: [ -> ]
(2011-12-05, 03:57 AM)Mebes Net Wrote: [ -> ]I've used this plugin before and the one thing that I dislike is that it doesn't recognize the images already in the folder, you need to manually add the images through the plugin.

That doesn't work for me when I have over 4,600 images on http://www.resource.mebes.net

I could build something to do that.

That would basically be a bulk upload feature, and that would be awesome.
I have to get time to build a dedicated MyBB version. Just recently built the standalone version ezGallery http://www.ezcommunitysuite.com/ezgallery.php with integration options to MyBB and other forums.
Just have to get back into it at some point to build a native version
Thanks a lot for this useful plugin!
Please add "Upload from URL" option in next versions.

How can i add it myself? who know it?
Will consider adding it. So you want it to download the photo and save it to gallery via a url?
yes this add URL option and also compabilities with dont know name off plugin author its Pirata some advertisiment plugin
Hi. I haven't read the previous pages but is this 1.6.5 ready?