SMF Gallery

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

Previous topic - Next topic

vbgamer45

NP that was actually a bug with SMF which being fixed now.
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

Angelotus

In the viewpicture template, how can I get the picture ID (for using social bookmarking)?

IACS_CM

vbgamer45

I had the same issue as njdevils28 re:-

Parse error: syntax error, unexpected T_ELSE in /home/content/c/i/t/cityofgamers/html/smf/Sources/Subs-Graphics.php on line 227

Fortunately I was able to look at your modified code in the relevent reply, and make the necessary change. I posted it here as a retrospective thank you, but also in case anyone had the same issue after upgrading to RC1-1

Original Post

Regards


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

Angelotus

Quote from: Angelotus on May 25, 2009, 02:48:08 PM
In the viewpicture template, how can I get the picture ID (for using social bookmarking)?

Spinx Haplo

Alright, feel like I am beating hy head against the wall at the moment.  Installed just fine on SMF 2.0 RC1-1, set my permissions, fixed the line 227 error.  I can upload pics, on main gallery page, says total images 1, but when I click the gallery, I get  "There are no pictures inside this category".  If I ftp into the site, file is in the /forum/gallery folder, which is where it should be.  In Support credits I have:  GD version: bundled (2.0.28 compatible)

I have no Idea why.....

Thanks

vbgamer45

Is the picture approved? Check under Admin -> Gallery -> Approvals
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

Angelotus


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

Angelotus

Quote from: vbgamer45 on June 02, 2009, 10:03:13 PM
Quote from: Angelotus on June 02, 2009, 08:48:23 AM
Quote from: Angelotus on May 27, 2009, 02:51:01 AM
Quote from: Angelotus on May 25, 2009, 02:48:08 PM
In the viewpicture template, how can I get the picture ID (for using social bookmarking)?


$context['gallery_pic']['ID_PICTURE']


Thanks. Tried that out, but didn't worked.

vbgamer45

There should be some code in the view_picture template area that references the ID_PICTURE just copy that line and as long as your adding to code to the view_picture template area it should work fine.
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

Angelotus

Yes, it is ' . $context['gallery_pic']['id_picture'] . '
Thanks for helping!

vbgamer45

No problem forgot for SMF 2.0 I had to lowercase all the variable.
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

German_AC

Hi, is there any option to just take the first picture of a post and create a gallerie with the name of the post. The idea is to make a car gallerie. Every user creates its own post, with pictures of his car. Then I wish the gallerie to pick the pictures from the post automatically.
Is that possible?

Thanks



Artificial intelligence is not a rival for natural stupidity.

vbgamer45

No way currently to pick up images from a post.
But the gallery I think can create create pictures on a category to a post.
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

German_AC




Artificial intelligence is not a rival for natural stupidity.

TheListener

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

AM Woody3

Here is my issue.  The gallery works fine on my test site.  No problems at all.  I move the files and such over to the live site and I get this error.

Warning Gallery path is not writable!

Fatal error: Call to undefined function DoToolBarStrip() in /home4/lousyatg/public_html/Sources/Load.php(1736) : eval()'d code on line 47

vbgamer45

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?
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

Quote from: AM Woody3 on June 24, 2009, 04:07:02 PM
Here is my issue.  The gallery works fine on my test site.  No problems at all.  I move the files and such over to the live site and I get this error.

Warning Gallery path is not writable!

Fatal error: Call to undefined function DoToolBarStrip() in /home4/lousyatg/public_html/Sources/Load.php(1736) : eval()'d code on line 47

Check that your Gallery path is correct under Admin -> Gallery Configuration should be
/home4/lousyatg/public_html/gallery/
And that folder needs to be writable
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

Advertisement: