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

coldthunder

Quote from: jamesk on October 19, 2007, 10:59:51 AM
Quotecurrently have gallery lite 1.7.5.1. 

That is not the PRO.

The pro version:

http://www.smfhacks.com/smf-gallery-pro.php

I think you need to uninstall the lite version prior to installing the pro version.  I don't believe there's a straight upgrade, but check the install instructions...



vbgamer45  can you donfirm this, do i have to unistall the old one and install the pro? or can i upgrade? what about the pictures i haven now in lite? Can i read install instruction before purchasing it? thanks

NEMINI

signatures are boring.

vbgamer45

Quote from: coldthunder on October 20, 2007, 12:49:14 AM
Quote from: jamesk on October 19, 2007, 10:59:51 AM
Quotecurrently have gallery lite 1.7.5.1. 

That is not the PRO.

The pro version:

http://www.smfhacks.com/smf-gallery-pro.php

I think you need to uninstall the lite version prior to installing the pro version.  I don't believe there's a straight upgrade, but check the install instructions...



vbgamer45  can you donfirm this, do i have to unistall the old one and install the pro? or can i upgrade? what about the pictures i haven now in lite? Can i read install instruction before purchasing it? thanks

You would unistall lite all pictures and database information is saved and then install the pro edition.
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

shumar

Is there any chance to get bbcode of thumbnail in lite version ?

Thank you.

eniaroyah

I'v got "Execute Modification     ./Themes/default/languages/Modifications.english.php     Test failed" error when I tried to install... What should I do?

TrueSatan

The probable cause is that you have failed to set up your forum properly prior to applying any new mods or themes...

You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.

DeMar

One question please.

Can someone tell me what must I inport (copy) into the file "modification.english.php" to see the permisions of gallery. I can't see any permisions only checkmarks.
See attached printscreen!!!

Thanks

[embed-flash(width,height)]

jamesk

Double check in the default modifications.english.php file, but I believe it's:

//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.';

DeMar

Thanks,

I will try and let you know!

[embed-flash(width,height)]

TrueSatan

The reason you are having this problem isn't due to your modifications.english.php file...

You need to go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.

DeMar

Quote from: jamesk on October 23, 2007, 09:15:32 AM
Double check in the default modifications.english.php file, but I believe it's:

//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.';


thanks. That was the problem

solved

[embed-flash(width,height)]

jamesk

You're welcome...

QuoteThe reason you are having this problem isn't due to your modifications.english.php file...

You need to go to ACP>Server Settings and set your forum language to English and not English utf8 and to ACP>Features and Options>Basic Settings and uncheck Enable user-selectable language support.

I thought it was because some themes install their own modifications.english.php file, in which case the forum doesn't use the default.  Adding a new mod updates the default modifications.english.php, but not the ones inside other themes and that's why any additions to the file have to manually be copied into the ones in the themes....  No?


DeMar

#1012
One question again:

How can I hide or disable in gallery this:
Picture Stats:
Views: xxx
Filesize: xxxx
Height: xxxx Width: x
Keywords: xxxxxxxx
Posted by: xxxxx

I don't need this

Another question is:
Is it possible to have the picture name above every picture, so that user don't need to open this picture to see his name?

Thanks

[embed-flash(width,height)]

TrueSatan

Normally when you see a gap like that it's down to a languages issue however I see the questioner neglected to mention that he was using a custom theme as well so that also came ionto play this time...I'd always start by checking languages though.

DeMar

You don't understad me.
I wan't all picture stats to be disable. I don't need the picture stats.

[embed-flash(width,height)]

shumar

Is there  any solution for this:
I wish that when I link picture from gallery to forum I get thumbnail, like I get when put picture as attachment.

jamesk

#1016
Dean B:

Make sure you backup the file first, but in gallery.template.php, lines 683-700 show those stats:

<b>' . $txt['gallery_form_description'] . ' </b>' . ($bbc_check ? parse_bbc($context['gallery_pic']['description']) : doUBBC($context['gallery_pic']['description']) ). '
<hr />
' . $txt['gallery_text_picstats'] . '<br />

' . $txt['gallery_text_views'] . $context['gallery_pic']['views'] . '<br />
' . $txt['gallery_text_filesize']  . $context['gallery_pic']['filesize'] . 'kb<br />
'  . $txt['gallery_text_height'] . ' ' . $context['gallery_pic']['height']  . '  ' . $txt['gallery_text_width'] . ' ' . $context['gallery_pic']['width'] . '<br />
' .  $txt['gallery_form_keywords'] . ' ';

for($i = 0; $i < $keywordscount;$i++)
{
echo '<a href="' . $scripturl . '?action=gallery;sa=search2;key=' . $keywords[$i] . '">' . $keywords[$i] . '</a>&nbsp;';

}
echo '<br />';

echo $txt['gallery_text_postedby'] . '<a href="' . $scripturl . '?action=profile;u=' . $context['gallery_pic']['ID_MEMBER'] . '">'  . $context['gallery_pic']['realName'] . '</a>' . $txt['gallery_at'] . $context['gallery_pic']['date'] . '<br />
<br />';


If you delete (or better yet comment out) that block but leave the last semi-colon, it should work...

DeMar

please can you tell me where exactly I can find this file: gallery.template.php

I looked but nothing.

[embed-flash(width,height)]

DeMar

it don't work:
Parse error

676: </tr>
677: <tr class="windowbg2">
678: <td align="center"><img height="' . $context['gallery_pic']['height']  . '" width="' . $context['gallery_pic']['width']  . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename']  . '" /></td>
679: </tr>
680: <tr class="windowbg2">
681:
682: <td>
683:
684:
685: echo $txt['gallery_text_postedby'] . '<a href="' . $scripturl . '?action=profile;u=' . $context['gallery_pic']['ID_MEMBER'] . '">'  . $context['gallery_pic']['realName'] . '</a>' . $txt['gallery_at'] . $context['gallery_pic']['date'] . '<br />686:
687:

[embed-flash(width,height)]

jamesk

Where's the semi-colon?

Please re-read my post....  You need a semi-colon...

Also, you didn't delete the last line.

Advertisement: