SMF Gallery

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

Previous topic - Next topic

Biology Forums

vbgamer45, Could you please provide me the code for next/previous buttons for the images?

vbgamer45

Might just add it to lite have in pro but that code is different than the one needed here
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

Biology Forums

Quote from: vbgamer45 on June 12, 2011, 05:12:45 PM
Might just add it to lite have in pro but that code is different than the one needed here

Thanks, how long to do I have to wait? I'm anxious.

vbgamer45

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


Biology Forums

I want to report a bug: I allow guests to post comments, but when I click add comment as a guest, it says you have to register.


balou

Yes thank you, I´ve replaced that now. But after I enabled the highslide before, the forum/site is gone, now I really need some help  :( What to do if I can´t reach the website!?


Quote from: shuban on June 11, 2011, 10:19:11 PM
Quote from: balou on June 11, 2011, 03:36:49 PM
Hmm now I done it like that, but the pictures doesn´t appear, do I need to enable something?

It should work right away, without enabling anything else. It doesn't interact with the picture part of the code, so I don't see why it's doing that. Do you want my gallery.template.php? You will need Highslide installed, though.

vbgamer45

Quote from: shuban on June 13, 2011, 01:26:59 AM
I want to report a bug: I allow guests to post comments, but when I click add comment as a guest, it says you have to register.


Will check that out what SMF version?
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


Biology Forums

Quote from: balou on June 13, 2011, 06:33:21 AM
Yes thank you, I´ve replaced that now. But after I enabled the highslide before, the forum/site is gone, now I really need some help  :( What to do if I can´t reach the website!?


Quote from: shuban on June 11, 2011, 10:19:11 PM
Quote from: balou on June 11, 2011, 03:36:49 PM
Hmm now I done it like that, but the pictures doesn´t appear, do I need to enable something?

It should work right away, without enabling anything else. It doesn't interact with the picture part of the code, so I don't see why it's doing that. Do you want my gallery.template.php? You will need Highslide installed, though.

Put a new gallery.template.php in the directory if that's the only thing you changed. Otherwise, I'm unsure where the error is. You could use Google Chrome and it will tell you exact where the problem is if it's a coding error. If this happened after highslide installation, unparse the installation code.

balou

#2830
Lost the website after I intergrated the Highslide! Now I dont know how to get it back, HTTP 500 it says??? I haven´t changed anything else except that.

thank you for any help!


Quote from: shuban on June 13, 2011, 11:41:14 AM
Quote from: balou on June 13, 2011, 06:33:21 AM
Yes thank you, I´ve replaced that now. But after I enabled the highslide before, the forum/site is gone, now I really need some help  :( What to do if I can´t reach the website!?


Quote from: shuban on June 11, 2011, 10:19:11 PM
Quote from: balou on June 11, 2011, 03:36:49 PM
Hmm now I done it like that, but the pictures doesn´t appear, do I need to enable something?

It should work right away, without enabling anything else. It doesn't interact with the picture part of the code, so I don't see why it's doing that. Do you want my gallery.template.php? You will need Highslide installed, though.

Put a new gallery.template.php in the directory if that's the only thing you changed. Otherwise, I'm unsure where the error is. You could use Google Chrome and it will tell you exact where the problem is if it's a coding error. If this happened after highslide installation, unparse the installation code.

Biology Forums

Upload your index.template and display template and I will fix it.

Biology Forums

#2832
I have the following code which works for highslide, but it returns the thumbnail as opposed to the actual image, how can I change it so that it returns the image rather than the thumbnail when clicked:

echo '<a href="' . $modSettings['gallery_url'] . $row['thumbfilename'] . '" class="highslide" rel="highslide">

<img src="' . $modSettings['gallery_url'] . $row['thumbfilename'] . '" height="78" width="120"></a><br />';


Here is an example, scroll to the bottom:

http://biology-forums.com/index.php?action=gallery

I also found this: http://www.simplemachines.org/community/index.php?topic=266750.msg1741763;topicseen#msg1741763

But I don't know how to apply it.

Vitti

I just uploaded the newest version of this mod (3.0.6) to my server and it will not install.  Keeps giving me the message "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

I am running 2.0 RC5.  The package shows up on the package list, but with no option to install.

I had an older version of the gallery running just fine on 1.1.x and I upgraded the forum to 2.0.

Any idea what is going on here?  How do I install it manually?

vbgamer45

New update

3.1
+Added next/previous links to the picture display
!Allowed guests to leave comments
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

Biology Forums

Quote from: vbgamer45 on June 13, 2011, 09:47:37 PM
New update

3.1
+Added next/previous links to the picture display
!Allowed guests to leave comments

Could you please tell me which files you updated for the, guests allowed to post, change? I replaced my gallery.php with the new one and changed the gallery.template.php to have next/previous and that new feature worked. Are there changes to the gallery.template.php to make the guest-posting work?

vbgamer45

For guest posting of comments it should just in the Gallery.php files I removed the one line that checked for is not guest
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

Biology Forums

Quote from: vbgamer45 on June 13, 2011, 10:51:56 PM
For guest posting of comments it should just in the Gallery.php files I removed the one line that checked for is not guest

Still doesn't work though, I tried to post as a guest, and I wrote the message in the field, but it doesn't show the comment underneath once it returns to the picture. :-\ try it on mine.

vbgamer45

Quote from: shuban on June 13, 2011, 11:17:13 PM
Quote from: vbgamer45 on June 13, 2011, 10:51:56 PM
For guest posting of comments it should just in the Gallery.php files I removed the one line that checked for is not guest

Still doesn't work though, I tried to post as a guest, and I wrote the message in the field, but it doesn't show the comment underneath once it returns to the picture. :-\ try it on mine.
Reposted an update. Think I have it fixed this time made one more change to Gallery.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

Biology Forums

Quote from: vbgamer45 on June 13, 2011, 11:31:56 PM
Quote from: shuban on June 13, 2011, 11:17:13 PM
Quote from: vbgamer45 on June 13, 2011, 10:51:56 PM
For guest posting of comments it should just in the Gallery.php files I removed the one line that checked for is not guest

Still doesn't work though, I tried to post as a guest, and I wrote the message in the field, but it doesn't show the comment underneath once it returns to the picture. :-\ try it on mine.
Reposted an update. Think I have it fixed this time made one more change to Gallery.php

I also found a problem with the tree as well

My forum > Gallery > Gallery > General Biology

Why is it doubled?


Advertisement: