News:

Join the Facebook Fan Page.

Main Menu

SMF Gallery

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

Previous topic - Next topic

vbgamer45

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

AANDROID

Okay, now it works, I just remaked the folder. You got my respect. Thanks!

MinasC

i installed the gallery to my smf 1.1.2/tp 0.971 portal , but encountered 2 dissapointing "problems" :

1) it doesn't support greek (and autorenamed my pics the same way it did to MatthewSchen) .

2) you can only upload pics to your server but not include to the gallery pics you've uploaded to another server (e.g. imageshack) .

the 1st was ungly , but the 2nd one i couldn't afford as i have very limited space and can't upload or let my members upload !!!

are there any solutions to those "problems" !!! another gallery maybe ??

vbgamer45

I don't plan on offering links for images unless the image is then downloaded to the server. It would not work well since the gallery generates thumbnails and this would not be an option if you are linking an image.

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

Gourgi

vbgamer45 same problems with greek language in SMF 1.1.2 :(
fresh install and the only mod installed is TP 0.9.7.1.
i also tried the greek utf-8 translation found here : http://www.simplemachines.org/community/index.php?topic=148142.0
but nothing happened :(
my site is completely utf-8  
Όσο ζώ, μαθαίνω ...

vbgamer45

What are the problems with the greek language for the gallery? Does it show up?
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

MinasC

Quote from: vbgamer45 on February 25, 2007, 08:29:13 PM
I don't plan on offering links for images unless the image is then downloaded to the server. It would not work well since the gallery generates thumbnails and this would not be an option if you are linking an image.



fair enough !!! would be nice though , for people with not nearly enough space ... ::)

joe90

Just tried to install this but conflicts with The Arcade Mod and gives an error

Execute Modification ./Themes/default/languages/Modifications.english.php Test failed

This file was modified by the installation of the Arcade. Tried on a test forum, if I remove the Arcade I can install the Gallery but then when I try to put the Arcade back I get a different error. Is there a way round it? Can I have both?  
SMF: 1.1.17
Simpleportal:

vbgamer45

Yes installthe gallery anyway but you will need to copy the text strings from smfgallery.xml for modifications.english.php and copy them to your modifications.english.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

joe90

OK installed it, on my test forum, thanks for that,

How do I find the text string I need, where is smfgallery.xml for modifications.english.php and where do I copy the string to in modifications.english.php

Sorry new to this


Thanks for your help so far

SMF: 1.1.17
Simpleportal:

joe90

Sorry don't understand what you are telling me to do, had a look at the file smfgallery.xml, are you saying copy all the contents of the file from where it starts

<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM


to


</operation>
</file>
</modification>

and copy them to the modifications.english.php   ?????????
SMF: 1.1.17
Simpleportal:

vbgamer45

Just copy these text strings

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

joe90

Thanks again, sorry to keep bothering you, but still not there yet. Did say I was new to this.

Found the modifications.english.php file and it just has the Arcade strings in. Tried to add the gallery strings at the top and also at the bottom but just end up with the text at the top of the forum. This is how it looks, clearly I have inserted it in the wrong place or I'm missing something. Help....

<?php
// Version: 1.1; Modifications

$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';   
$txt['arcade_manage_games'] = 'Games';
$txt['arcade_manage_category'] = 'Categories';
$txt['arcade_settings'] = 'Settings';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_play'] = 'Play on Arcade';
$txt['permissionhelp_arcade_play'] = 'Allows member to play on arcade, in games which he/she has rights to';
$txt['permissionname_arcade_admin'] = 'Administrate arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administarator can Install/Edit/Delete game, Delete scores and edit settings for arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_favorite'] = 'Use Favorites feature';
$txt['permissionhelp_arcade_favorite'] = 'Allows member to favorite and unfavorite games';
$txt['permissionname_arcade_submit'] = 'Save scores';
$txt['permissionhelp_arcade_submit'] = 'Allows users to save their scores.';
$txt['permissionname_arcade_rate'] = 'Rate games';
$txt['permissionhelp_arcade_rate'] = 'Allows users to rate games.';
$txt['permissionname_arcade_comment'] = 'Allow to comment/edit comment';
$txt['permissionhelp_arcade_comment'] = 'Allows user to edit comments, own or any';
$txt['permissionname_arcade_comment_any'] = 'Any';
$txt['permissionname_arcade_comment_own'] = 'Own';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'You are not allowed to play games!';
$txt['cannot_arcade_view'] = 'You are not allowed to access arcade.';
$txt['cannot_arcade_favorite'] = 'You are not allowed to favorite games';
$txt['cannot_arcade_rate'] = 'You are not allowed to rate games';
$txt['cannot_arcade_comment_own'] = 'You are not allowed to comment';

// Who's online
$txt['who_arcade'] = 'Viewing Arcade index';
$txt['who_arcade_play'] = 'Playing <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Viewing highscores of <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Maximum scores that will be stored per member. (0 means unlimited)';
$txt['arcade_membergroups_help'] = 'These groups will be allowed to play and view highscores. Others will not see this game, only used if permission mode will use game permissions.';?>

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

SMF: 1.1.17
Simpleportal:

vbgamer45

Make sure you have ?> at the end.
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

TrueSatan

He has one but it's in the wrong place:

// Help
$txt['arcade_max_scores_help'] = 'Maximum scores that will be stored per member. (0 means unlimited)';
$txt['arcade_membergroups_help'] = 'These groups will be allowed to play and view highscores. Others will not see this game, only used if permission mode will use game permissions.';?>


It's right at the end of the code above. Move that to the very end and put it on a line of its own...thus:

//END SMF Gallery Text Strings 
   
?>

Gourgi

#475
Quote from: vbgamer45 on February 25, 2007, 11:06:16 PM
What are the problems with the greek language for the gallery? Does it show up?
i can see tha gallery, i can also upload images but in the title - descritpion the greek characters are displayed wrong !
(see attachemnt below )

[edit] in the previous version of gallery that i used (v.1.6.6) in a 1.1 RC3 forum all worked well
Όσο ζώ, μαθαίνω ...

vbgamer45

I am not sure if I can support since I do not have a good understanding of UTF.
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

Gourgi

the thing is that i manually switch the encoding from my browser from UTF-8 to greek-windows charset and greek ISO-8859-7  but still no changes ... i continue to see strange letters in greek description :(
Όσο ζώ, μαθαίνω ...

joe90

Thanks for that Arcade and Gallery seem to be working fine now.
SMF: 1.1.17
Simpleportal:

Gourgi

Quote from: Gourgi on March 01, 2007, 09:44:37 AM
[edit] in the previous version of gallery that i used (v.1.6.6) in a 1.1 RC3 forum all worked well
strange ...
i just upgraded this old forum form 1.1 RC3 to 1.1.2 and the gallery looks ok with the greek characters ..
it seams like there is another issue with the other forum.
i 'll post back if i have news about the encoding thing ...
Όσο ζώ, μαθαίνω ...

Advertisement: