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.
Glad you got it figured. I didn't get an email notification for a new reply to this post.
Still no updates for these mod?
Don't plan on adding anything unless needed.
(2011-10-17, 04:20 PM)vbgamer45 Wrote: [ -> ]Don't plan on adding anything unless needed.

any more updates on the pro version?
(2011-10-20, 07:01 AM)Shemo Wrote: [ -> ]
(2011-10-17, 04:20 PM)vbgamer45 Wrote: [ -> ]Don't plan on adding anything unless needed.

any more updates on the pro version?

thats i mean. hohoho!
Looking forward to the pro version. Thanks.
(2010-11-27, 05:15 PM)SaschaH Wrote: [ -> ]Great Plugin, but don't work with the "My Advertisement" plugin. Instead of the banner at top of the page, there is only shown this line: "{myadvertisements[zone_1]}" Sad
Has anybody found a fix for this?

Get a "Previous" and a "Next" button above the image.

A small update has been posted here.

Go into ezgallery.php

Find:
echo '<br /><table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
			<tr class="tcat">
Put this above it:
$GALLERY_ID = $context['gallery_pic']['ID_PICTURE'];

And just a few lines blow that

Find:
			<tr class="trow2">
				<td align="center"><img height="' . $context['gallery_pic']['height']  . '" width="' . $context['gallery_pic']['width']  . '" src="' . $gallerySettings['gallery_url'] . $context['gallery_pic']['filename']  . '" alt="" /></td>
			</tr>

Put this below it:
<center><< <a href="ezgallery.php?action=view&id=' . --$context['gallery_pic']['ID_PICTURE'] . '">Previous</a> | <a href="ezgallery.php?action=view&id=' . ++$GALLERY_ID  . '">Next</a> >></center>
(2011-11-15, 10:58 PM)Cyphocx Wrote: [ -> ]Get a "Previous" and a "Next" button above the image.

Go into ezgallery.php

Find:
echo '<br /><table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
			<tr class="tcat">
Put this above it:
$GALLERY_ID = $context['gallery_pic']['ID_PICTURE'];

And just a few lines blow that

Find:
			<tr class="trow2">
				<td align="center"><img height="' . $context['gallery_pic']['height']  . '" width="' . $context['gallery_pic']['width']  . '" src="' . $gallerySettings['gallery_url'] . $context['gallery_pic']['filename']  . '" alt="" /></td>
			</tr>

Put this below it:
<center><< <a href="ezgallery.php?action=view&id=' . --$context['gallery_pic']['ID_PICTURE'] . '">Previous</a> | <a href="ezgallery.php?action=view&id=' . ++$GALLERY_ID  . '">Next</a> >></center>

wow. nice Smile
(2011-11-15, 10:58 PM)Cyphocx Wrote: [ -> ]Go into ezgallery.php

Find:
echo '<br /><table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
			<tr class="tcat">

Thanks for this, but there's 3 instances of that code in the .php file, which one must we look at?
(2011-11-16, 07:42 AM)viper357 Wrote: [ -> ]
(2011-11-15, 10:58 PM)Cyphocx Wrote: [ -> ]Go into ezgallery.php

Find:
echo '<br /><table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
			<tr class="tcat">

Thanks for this, but there's 3 instances of that code in the .php file, which one must we look at?
The one where a variable isn't declared above it.
So your code should look like this:
$foo = 'bar';
echo '<br /><table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
			<tr class="tcat">

And not like this:
$foo = 'bar';
$foo2 = 'bar';
echo '<br /><table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">
			<tr class="tcat">