Advertisement:

Author Topic: SMF Gallery  (Read 1221358 times)

Offline dash

  • Semi-Newbie
  • *
  • Posts: 18
Re: SMF Gallery
« Reply #260 on: November 26, 2006, 11:45:10 AM »
Hi,
I've a problem to install the gallery (see attachment).
Can anybody help me?

Offline indigotwilight

  • Semi-Newbie
  • *
  • Posts: 23
    • Indigo Chronicles
Re: SMF Gallery
« Reply #261 on: November 27, 2006, 06:44:56 PM »
It's me again! sorry to keep 'bugging' you with all these questions about coding, but I've an idea for gallery that I'd like to ask you...

First of all, if I wanted to adapt the gallery to upload and store other files such as PDF's and word documents, how would I do it? Can the gallery display thumbnails of the first page of a pdf?

Secondly, noting there is demand for a working music download mod, could I try and use the gallery template system to build such a thing? Maybe allowing the upload of media files such as mp3, .wav? I'd like to give unsigned bands the opportunity to show off their talent in one of my forums, and this seems like a good way of doing it...

Twilight
I write what I dream - through my writing my dreams come true

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #262 on: November 27, 2006, 07:34:43 PM »
You could modify the mod to upload other files. Thumnails wouldn't work but maybe you could setup a system to use icons for other filetypes that are not images. Getting the first page of PDF would require some php extension to read the format and then somehow get a screenshot of it which would be hard to do.
Community Suite for SMF - Take your forum to the next level built for 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

Offline Arnaldo

  • Semi-Newbie
  • *
  • Posts: 11
Re: SMF Gallery
« Reply #263 on: November 29, 2006, 08:54:56 AM »
Hi all, I new to all this code stuff, and will need to learn it very soon.

I installed SMF Gallery and I'm able to upload pics and able to view thumbnails, but when i click on the thumbnail the full size image is not viewable

Is there a setting that I need to change somewhere?

any help would be great

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #264 on: November 29, 2006, 09:17:23 AM »
No image at all? Check your Gallery folder and see if the picture was uploaded.
Community Suite for SMF - Take your forum to the next level built for 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

Offline Arnaldo

  • Semi-Newbie
  • *
  • Posts: 11
Re: SMF Gallery
« Reply #265 on: November 29, 2006, 09:20:00 AM »
yea the pictures are there, i just get an empty image holder with a red x in it

Offline Arnaldo

  • Semi-Newbie
  • *
  • Posts: 11
Re: SMF Gallery
« Reply #266 on: November 29, 2006, 09:57:24 AM »
No image at all? Check your Gallery folder and see if the picture was uploaded.
i even check the folder and it has 777 rights on it

what do you think can be wrong

should I uninstall and then reinsall?

Offline Arnaldo

  • Semi-Newbie
  • *
  • Posts: 11
Re: SMF Gallery
« Reply #267 on: November 29, 2006, 10:08:16 AM »
no worries, i unistalled and reinstalled - everything seems to be workig now

sorry for the bother

Offline †MavN†

  • Language Moderator
  • Sophist Member
  • *
  • Posts: 1,203
  • Gender: Male
  • MavnGroup
    • MavnGroup
Re: SMF Gallery
« Reply #268 on: December 05, 2006, 05:08:05 PM »
missing language string
Code: (Gallery.template.php;  line 701) [Select]
echo $txt['gallery_text_postedby'] . ''  . $context['gallery_pic']['realName'] . ' at ' . $context['gallery_pic']['date'] . '
at

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #269 on: December 05, 2006, 08:01:01 PM »
missing language string
Code: (Gallery.template.php;  line 701) [Select]
echo $txt['gallery_text_postedby'] . ''  . $context['gallery_pic']['realName'] . ' at ' . $context['gallery_pic']['date'] . '
at
Fixed added txt string.
Community Suite for SMF - Take your forum to the next level built for 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

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #270 on: December 13, 2006, 01:00:59 PM »
Released an update to a bug that was found.

Version 1.6.9
Fixed low quality thumbnails that were being generated. The thumbnails should now retain the color information that the image used.
Community Suite for SMF - Take your forum to the next level built for 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

Offline Adamzon

  • Semi-Newbie
  • *
  • Posts: 57
Re: SMF Gallery
« Reply #271 on: December 14, 2006, 06:48:02 AM »
Gallery "text" dont show up in Swedish

Tried to locate where it is, but i dont get it..

Menu button shows up in English, but dont show in swed, I got all the lang and theme files for swe ..


Help?

/adam

Offline Adamzon

  • Semi-Newbie
  • *
  • Posts: 57
Re: SMF Gallery
« Reply #272 on: December 15, 2006, 05:16:09 AM »
can i add the textbutton my self?
where ?

/Adam

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #273 on: December 15, 2006, 02:55:33 PM »
You need to copy the text strings from modificaitons.english.php to modifications.yourlanguage.php
Community Suite for SMF - Take your forum to the next level built for 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

Offline jazz

  • Jr. Member
  • **
  • Posts: 331
Re: SMF Gallery
« Reply #274 on: December 18, 2006, 01:06:42 PM »
Great mod!  This is very much appreciated.

Just one question.  Is there any way to make the images auto fit the screen when you click on the thumbnail to view?  Some of the pictures you need to scroll all over the place to see the whole thing.

Offline hdhoran

  • Semi-Newbie
  • *
  • Posts: 66
Re: SMF Gallery
« Reply #275 on: December 19, 2006, 11:30:53 AM »
Hi.....love the mod. I'm not new to SMF but don't play in the code often enough to know what I'm doing. I have been running the default theme on 1.1 final with Tiny Portal...I want to switch to the DilbertMC...

Would you mind showing me where in the index.template. php where to put the code and WHAT code to put?

Thanks in advance.  :)


index.template.php attached...

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #276 on: December 19, 2006, 11:51:27 AM »
File attached check the template_menu function for adding menu links.
Community Suite for SMF - Take your forum to the next level built for 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

Offline hdhoran

  • Semi-Newbie
  • *
  • Posts: 66
Re: SMF Gallery
« Reply #277 on: December 19, 2006, 12:49:58 PM »
Thank you....I looked at what you did and actually understand it...lol.

But it still didn't add the text button?? Is there something else I need to do?
« Last Edit: December 19, 2006, 12:51:39 PM by hdhoran »

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,629
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Gallery
« Reply #278 on: December 19, 2006, 12:51:16 PM »
Check that the following is in your themes modifications.english.php file
Code: [Select]
//Begin SMF Gallery Text Strings
$txt['smfgallery_title'] = 'Gallery For SMF';
$txt['smfgallery_menu'] = 'Gallery';
$txt['smfgallery_version'] = '1.0 Lite';
$txt['smfgallery_admin'] = 'Gallery Configuration';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Gallery';

$txt['permissionname_smfgallery_view'] = 'View SMF Gallery';
$txt['permissionhelp_smfgallery_view'] = 'Allows the user to view the Gallery';
$txt['cannot_smfgallery_view'] = 'You are not allowed to view the Gallery';

$txt['permissionname_smfgallery_add'] = 'Add Picture';
$txt['permissionhelp_smfgallery_add'] = 'Allows the user to add a picture.';
$txt['cannot_smfgallery_add'] = 'You are not allowed to add a picture.';

$txt['permissionname_smfgallery_edit'] = 'Edit own Picture';
$txt['permissionhelp_smfgallery_edit'] = 'Allows the user to edit a picture.';
$txt['cannot_smfgallery_edit'] = 'You are not allowed to edit a picture.';

$txt['permissionname_smfgallery_delete'] = 'Delete own Picture';
$txt['permissionhelp_smfgallery_delete'] = 'Allows the user to delete a picture.';
$txt['cannot_smfgallery_delete'] = 'You are not allowed to delete a picture.';

$txt['permissionname_smfgallery_comment'] = 'Leave Comments';
$txt['permissionhelp_smfgallery_comment'] = 'Allows the user to leave comments on a picture.';
$txt['cannot_smfgallery_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_smfgallery_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_smfgallery_report'] = 'Allows the user to report pictures and comments.';
$txt['cannot_smfgallery_report'] = 'You are not allowed to report content.';

$txt['permissionname_smfgallery_autoapprove'] = 'Auto Approve Pictures';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Pictures do not need to wait for approval.';

$txt['permissionname_smfgallery_manage'] = 'Manage Gallery';
$txt['permissionhelp_smfgallery_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Pictures, Approve Pictures';
$txt['cannot_smfgallery_manage'] = 'You are not allowed to manage gallery.';

//END SMF Gallery Text Strings
Community Suite for SMF - Take your forum to the next level built for 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

Offline jazz

  • Jr. Member
  • **
  • Posts: 331
Re: SMF Gallery
« Reply #279 on: December 20, 2006, 11:19:01 AM »
Great mod!  This is very much appreciated.

Just one question.  Is there any way to make the images auto fit the screen when you click on the thumbnail to view?  Some of the pictures you need to scroll all over the place to see the whole thing.

Anyone know the answer to this?