SMFHacks.com

SMFHacks.com => News => Topic started by: SMFHacks on September 16, 2006, 05:21:46 pm

Title: SMF Gallery Released!
Post by: SMFHacks on September 16, 2006, 05:21:46 pm
I have released the first edition of SMF Gallery to the public.
For SMF Versions 1.0.8 and 1.1 RC3

Features:
Ties directly into SMF, uses forum theme, members and permissions.
Categories for images
Comment System
Keywords for picture
Picture Approval
Reporting of Picture
User Image galleries
Who is viewing a picture/gallery
Permissions for adding picture, editing own picture, deleting own picture, viewing the gallery, autoapproved image postergroups, and managing the gallery
Settings for max image size and max image width and height
Create's thumbnails automatically for uploaded images
Supports bmp, gif, jpeg, and png images
Easy to install package for SMF

http://www.smfhacks.com/hacks/SMF-Gallery-Lite.html
Title: Re: SMF Gallery Released!
Post by: goghin on September 16, 2006, 07:33:28 pm
Hi! greatings from Portugal!
my first post ever in this forum... ;D

Sorry for my english...  ;)

 Installation done sucessfull !

 But now it just dont work, i have a template translated to my language (portuguese) but even if a change for the default template of SMF...it appears a link called >gallery<, but when i go in that link ...it opens a box with 2 zeros in it...and a link above to the site SMFHACKS....!? ???

 What´s wrong  ???
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 16, 2006, 07:35:27 pm
Hmm, Someone else told me the same thing.
What SMF version are you running?

It sounds like the language file isn't being loaded
Title: Re: SMF Gallery Released!
Post by: goghin on September 16, 2006, 07:41:11 pm
SMF 1.0.8...
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 16, 2006, 07:42:51 pm
It sounds like language file isnt' being loaded check that Gallery.english.php is in your themes language folder.
Title: Re: SMF Gallery Released!
Post by: goghin on September 16, 2006, 07:46:22 pm
nops! :-\
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 16, 2006, 07:47:28 pm
put in there and rename it to Gallery.yourlanaugeyouareusinghere.php
Title: Re: SMF Gallery Released!
Post by: goghin on September 16, 2006, 07:55:18 pm
thanks..now i think it works...but only in the default theme of SMF...in my custom...it just dont show the link/button... :-\

 Now i have to find out how it would be done :-[
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 16, 2006, 07:59:23 pm
Yeah you will need to edit it manually to add a link/button for custom theme.
Title: Permissions problem
Post by: mickey on September 17, 2006, 05:56:45 pm
I seem to be having a permissions problem on my unix box.

Everything seems to work ok until after I upload the picture.

The thumbnail shows ok, but when I click on it to veiw the fullsize image I just get the red "X" placeholder.

When entered the url to the full size pic it stated that I did  have permissions to view it.

When I  checked the permissions via ftp I noticed that the thumbnail had chmodded to 644 but the main pic keeps getting set to 600 !! Which obviously makes it unreadable.

Any help ?

Thanks
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 17, 2006, 06:00:32 pm
Make sure the gallery folder has read and write permissions.
Title: Re: SMF Gallery Released!
Post by: mickey on September 17, 2006, 06:03:14 pm
I already checked that.

It has full read/write permissions.

The thumbnail is in the same directory and works fine, it is only the full size image.
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 17, 2006, 06:09:22 pm
I added some code to chmod the main image to 644 if it can.
Unistall old mod, reinstall new one from this site. Data and images will remain unistall won't remove them.
Title: Re: SMF Gallery Released!
Post by: mickey on September 17, 2006, 06:22:56 pm
That worked  !!!

Thanks man !  ;D
Title: Re: SMF Gallery Released!
Post by: mickey on September 17, 2006, 06:28:21 pm
Would it be possible for users to create their own subcategory ?

Where they could place all of their own poics in their own section a little like coppermine allows ?

Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 17, 2006, 06:40:27 pm
I will proabaly add that to the pro edition of the gallery.
Well right now you can cheat right now and access a user's pictuers that they upload.
By going to yourforum.com/index.php?action=gallery;sa=myimages;u=userid
Replace the userid in the above with the persons id number
Title: Re: SMF Gallery Released!
Post by: affordableweb on September 19, 2006, 12:13:37 am
I have installed this on RC3 with a custom template. I have added the link and all seems to work fine. I modified settings with no problem and CHMOD folders already. My only trouble is when trying to add a category. Whenver I try to add on it fails. No action. The page is blank. Of course no category means no pics upload yet either. I check all files insalled look fine but what do I know. Only permissions I changed was for gallery subfolder. Anything else?


http://www.zunemax.com/forum/index.php?action=gallery
Title: Re: SMF Gallery Released!
Post by: computel on September 19, 2006, 02:34:21 am
I get an error when I try to add a category.

Fatal error: Call to undefined function: () in /home/USERNAMe/public_html/forum/Sources/Gallery.php on line 235
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 19, 2006, 07:07:03 am
Fixed unistall old one and download and install the new one.

SMFHacks.com
Title: Re: SMF Gallery Released!
Post by: Jump1979man on September 19, 2006, 09:04:19 am
I have no issues like that......would i still need to uninstall and install the new one?
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 19, 2006, 11:29:55 am
It was only a small bug in 1.5 release been fixed.
Title: Re: SMF Gallery Released!
Post by: uncletaz on September 19, 2006, 11:49:58 am
I have got a small issue:

I can reach the gallery by typing in the http://www.dory8.nl/index.php?option=com_smf&Itemid=45&action=gallery (http://www.dory8.nl/index.php?option=com_smf&Itemid=45&action=gallery) but in the normal view there are no links to click. There is however, it seems, a space left in the menu for entering the gallery, the words are missing.

I am using SMF 1.1 RC3 with dutch translation.

Anyone a suggestion?

Edit: Cannot change any permissions as text is missing....
Thanks
Title: Re: SMF Gallery Released!
Post by: SMFHacks on September 19, 2006, 11:57:27 am
You need to make the changes to modifications.english.php as well and save  it as modifications.dutch.php in order for the language to work.
Title: Re: SMF Gallery Released!
Post by: uncletaz on September 19, 2006, 12:03:11 pm
You need to make the changes to modifications.english.php as well and save  it as modifications.dutch.php in order for the language to work.

Thanks this worked great!  ;D
Title: Re: SMF Gallery Released!
Post by: akulion on October 22, 2006, 01:13:25 am
Thanks - its a great mod :D
Title: Re: SMF Gallery Released!
Post by: humanporkrind on December 02, 2006, 06:28:12 pm
Is there been a thought about doing a batch upload through FTP? If not it would be a very good funtion
Title: Re: SMF Gallery Released!
Post by: SMFHacks on December 02, 2006, 06:56:36 pm
I have something liket that for the Pro edition where you can import files from a folder on the server.