News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF Gallery

Started by SMFHacks.com Team, September 16, 2006, 07:13:02 PM

Previous topic - Next topic

TheListener

Quote from: vbgamer45 on June 24, 2009, 09:04:58 PM
Quote from: TheListener on June 23, 2009, 09:07:03 PM
Since we upgraded to 2.0 RC1-1 from 1.1.9 we have been unable to add or view images.

I get this error in the log:

File: /home/visionar/public_html/Themes/default/Gallery2.template.php
Line: 333
Is that it in the error log? Do you have link to your gallery?

the forum is at www.paranormalhaunt.co.uk I have temporarily given guests access to the gallery so you can have a look.

vbgamer45

Quote from: TheListener on June 24, 2009, 09:23:13 PM
Quote from: vbgamer45 on June 24, 2009, 09:04:58 PM
Quote from: TheListener on June 23, 2009, 09:07:03 PM
Since we upgraded to 2.0 RC1-1 from 1.1.9 we have been unable to add or view images.

I get this error in the log:

File: /home/visionar/public_html/Themes/default/Gallery2.template.php
Line: 333
Is that it in the error log? Do you have link to your gallery?

the forum is at www.paranormalhaunt.co.uk I have temporarily given guests access to the gallery so you can have a look.
Thank link isn't working for me.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

ElectricSquid

#2162
Does anyone know how to edit the code to allow users to create categories.

I know that it can be done through permissions, but that would allow them to Add/Edit/Delete.
I just want every user group (except guests) to be able to Add categories, without having the ability to Edit or Delete other peoples categories. To do that to thier own is fine, but not everyone else's.

I figured the easy way to do this would be simply rewriting the add categories code to be a simple if/else statement.

    if  (!empty [user_is_guest])
           "no add category code here"

    else
           "add category code here"

How do I do that?
Where is that found?

vbgamer45

This mod is not currently suited for user created categories would require a lot of rework and permissions.

I do have user gallery's built into SMF Gallery Pro found at http://www.smfhacks.com/smf-gallery-pro.php
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Morfus

Hi,
I try to add a Prev - Next button...

I have edit Gallery_Template.php whit:
<tr class="windowbg2">
<td align="center"><b>
<a href="', $scripturl, '?action=gallery;sa=prev;id=', $context['gallery_pic']['ID_PICTURE'], '">', $txt['gallery_text_prev'], '</a> |
<a href="', $scripturl, '?action=gallery;sa=next;id=', $context['gallery_pic']['ID_PICTURE'], '">', $txt['gallery_text_next'], '</a>
</b>
</div>
</td>
</tr>


But it doesn´t work, buttons goes to main gallery page. Whats missing?


Regards

vbgamer45

You would need to edit Gallery.php too to add the code that does it.
I have this built into SMF Gallery Pro though
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

gbsothere

Hi,

I'm gleaning through this thread and maybe it's just because I'm old and can't see... :) .....  but I can't find an answer to these questions (below).   I have SMF Gallery 2.0.5 on SMF 1.1.9 and, although my posters love the gallery, their only complaint is that they have to close a pic and return to the category link to view the next one, rather than being able to navigate through all the photos in that category, whether by navigation arrows or a slideshow function.  Has there been any subsequent coding offered since 2.0.5 was released that might allow this?  If it appears somewhere in this thread, I apologize for missing it and hope that you might offer it again.

Thanks so much.


EDITING:   As I checked my post after submitting it, I see something on this current page that seems to suggest that I should upgrade to Pro in order for this to be available.  Is this correct? 



Quote from: zach21uk on September 27, 2008, 09:33:22 AM
Hey there,

Is there any code I can add to the Gallery to enable a NEXT and BACK button when viewing images, so that a user does not have to go back out to the Gallery Index to Move to the Next Photo?

I am using the 2.0 Beta 4 Edition

Many Thanks
Zach


Quote from: emonk on September 29, 2008, 01:45:51 PM
Hey, hi, good mod, but can you make a slide show? or a simples buttons "< previous next >" in the show picture page?
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

vbgamer45

Currently do not have next/previous in the lite edition of the gallery but do have it the pro edition.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

gbsothere

Quote from: vbgamer45 on June 28, 2009, 09:50:30 AM
Currently do not have next/previous in the lite edition of the gallery but do have it the pro edition.


Thank you, vbgamer and I'll check out the Pro Edition.  I appreciate it.


My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

llyon

I have this installed on two forums - one runs 1.1.9 & the other 2.0 RC 1-1.

Both forums are front ended with Simple Portal.

The 1.1.9 portal happily shows thumbnails for images from the gallery, but 2.0 does not - any ideas on this one ?

Lance

Morfus

Quote from: vbgamer45 on June 26, 2009, 09:11:06 PM
You would need to edit Gallery.php too to add the code that does it.
I have this built into SMF Gallery Pro though

What is the code that does it? ;)

vbgamer45

Quote from: llyon on June 29, 2009, 12:19:04 AM
I have this installed on two forums - one runs 1.1.9 & the other 2.0 RC 1-1.

Both forums are front ended with Simple Portal.

The 1.1.9 portal happily shows thumbnails for images from the gallery, but 2.0 does not - any ideas on this one ?

Lance
Would need to see a link to a page that this occurs on to get a better idea.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


vbgamer45

You are using the wrong portal block type. Make sure you are using SMF Gallery portal simple portal block.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

llyon

> You are using the wrong portal block type. Make sure you are using SMF Gallery portal simple portal block.

These are identical setups except for the version of SMF being used. SMF Gallery is also identical on both forums. Both of them use the "Gallery" block - there is no other tpe of block listed.

cheers,

Lance

vbgamer45

I can tell by the block type it is using the media gallery block cause the url has mgallery. While the SMF Gallery block just uses gallery in the url
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

llyon

vbgamer45,

Again - there is only the one gallery block in the config - can you point out where the other one is ?

cheers,

Lance

MATTEK

Is this the same as the media gallery?
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

vbgamer45

Quote from: llyon on July 05, 2009, 07:52:44 PM
vbgamer45,

Again - there is only the one gallery block in the config - can you point out where the other one is ?

cheers,

Lance
I would try to contact Simple Portal and see what they have to say. I don't have much experience with Simple Portal and I can only support EzPortal since I made that portal
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

septa/njt rider

I like the lite version, the only thing i would suggest is back and foward buttons. Since i can't buy the pro version. I'd suggest those for the lite. But, is it possible for when i use the SMF Gallery Block on EzPortal that i could have them lined up vertically instead of horizontally. I change the number of images per row to 1, but it would still show 4 in a row...

thanks in advanced,
-DJ

Advertisement: