SMF Gallery

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

Previous topic - Next topic

mashby

Which version are you referring to? Lite or Pro?
Always be a little kinder than necessary.
- James M. Barrie

Chadrew

Lite.
But if Pro has those 3 things, I'll probably get it.

vbgamer45

1. Nice idea thought about doing it but the issues occur users were to use quotes inside the title of the image it would break the html formating.

2. Have that in SMF Gallery 1.4 beta

3. Requires a template edit.
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

Chadrew

#1603
Quote from: vbgamer45 on August 29, 2008, 08:10:39 PM
1. Nice idea thought about doing it but the issues occur users were to use quotes inside the title of the image it would break the html formating.
I'm sure it's possible to strip the text of all special characters before using it :)

Thanks for info. I've modified the template in the following way (anything missing?):

echo '<tr>';
echo '<td align="center"><span class="smalltext"><a href="' . $scripturl . '?action=gallery;sa=view;id=' . $row['ID_PICTURE'] . '">
<strong>' . $row['title'] . '</strong><br />
<img ' . ($GD_Installed == true ?  'src="' . $modSettings['gallery_url'] . $row['thumbfilename'] . '" ' : 'src="' . $modSettings['gallery_url'] . $row['filename'] . '" height="78" width="120" ')  . ' border="0" /></a><br />';
echo $txt['gallery_text_views'] . $row['views'] . '<br />';
echo $txt['gallery_text_filesize'] . round($row['filesize'] / 1024, 2) . 'KB<br />';
echo $txt['gallery_text_date'] . timeformat($row['date']) . '<br />';
echo $txt['gallery_text_comments'] . ' (<a href="' . $scripturl . '?action=gallery;sa=view;id=' . $row['ID_PICTURE'] . '">' . $row['commenttotal'] . '</a>)<br />';

vbgamer45

That looks good might want to put
<strong>' . $row['title'] . '</strong><br />
Before
<span class="smalltext">
Depending on how you want it to work/look
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

istup

Quote from: mashby on August 29, 2008, 02:43:28 PM
Can you attach that index.template.php file here?

Pls find attached index.template.php file for your easy ref..


Marcus Forsberg

Will this work whit 2.x?

And if not, will it do in the future?

mashby

Quote from: istup on August 30, 2008, 12:18:01 AM
Quote from: mashby on August 29, 2008, 02:43:28 PM
Can you attach that index.template.php file here?

Pls find attached index.template.php file for your easy ref..
OK, I've edited your file. The only issue I can foresee is this bit of code:
<em class="gallery"></em>

I'm assuming that the other em classes all reference an image. You may need to edit your CSS for that theme to create a gallery em class. Look for one like this <em class="help"> and mimic what it's doing.
Always be a little kinder than necessary.
- James M. Barrie

vbgamer45

Quote from: Nascar on August 30, 2008, 04:39:04 AM
Will this work whit 2.x?

And if not, will it do in the future?
Not currently waiting for SMF 2.0 final to be released.
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

lordtron

Is there a way to pull galleries from only a certain membergroup? Cause I know how to pull the galleries from all, but I can't do it from 1. I do a database query to pull the information.


Thanks for your help.

VainSoftGames.com - New Design To Gaming

istup

Quote from: mashby on August 30, 2008, 09:42:46 AM
Quote from: istup on August 30, 2008, 12:18:01 AM
Quote from: mashby on August 29, 2008, 02:43:28 PM
Can you attach that index.template.php file here?

Pls find attached index.template.php file for your easy ref..
OK, I've edited your file. The only issue I can foresee is this bit of code:
<em class="gallery"></em>

I'm assuming that the other em classes all reference an image. You may need to edit your CSS for that theme to create a gallery em class. Look for one like this <em class="help"> and mimic what it's doing.


Thanks for your help it is working now...

I had edited the CSS style sheet to bring the icon but it is not working..

pls find the below code that i had changed


.pro15 li a em {display:block; float:left; width:25px; height:28px;}
.pro15 li a em.home {background:url(./images/img/home.png) no-repeat center center;}
.pro15 li a em.forum {background:url(./images/img/forum.png) no-repeat center center;}
.pro15 li a em.download {background:url(./images/img/download.png) no-repeat center center;}
.pro15 li a em.calendar {background:url(./images/img/calendar.png) no-repeat center center;}
.pro15 li a em.gallery {background:url(./images/img/gallery.png) no-repeat center center;}
.pro15 li a em.login {background:url(./images/img/login.png) no-repeat center center;}
.pro15 li a em.profile {background:url(./images/img/profile.png) no-repeat center center;}
.pro15 li a em.search {background:url(./images/img/search.png) no-repeat center center;}
.pro15 li a em.register {background:url(./images/img/register.png) no-repeat center center;}
.pro15 li a em.logout {background:url(./images/img/logout.png) no-repeat center center;}
.pro15 li a em.admin {background:url(./images/img/admin.png) no-repeat center center;}
.pro15 li a em.pm {background:url(./images/img/pm.png) no-repeat center center;}
.pro15 li a em.help {background:url(./images/img/help.png) no-repeat center center;}
.pro15 li a em.members {background:url(./images/img/members.png) no-repeat center center;}


istup

I had corrected image also..  Thanks..

I had one query

If we had more than 100 images shall we able to maintain pages like posts in forum..

display per page = 25 or 30 like that?

Tanks in advance


mashby

That type of functionality is available in the Pro version (as well as a bunch more features).
Always be a little kinder than necessary.
- James M. Barrie

NOBLE

#1613
Hello,

I've noticed that quite a few people have had the Modifications.english-utf8.php file fail the test; however, both of my language files are failing the test. I'm currently using English as the default language, not English utf8. I am also using a custom theme that has a language folder, but the only file that's listed is Settings.english.php.

Install Actions
Installations actions for "SMF Gallery Lite":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed
2.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test failed
3.    Execute Modification    ./Themes/default/languages/Who.english.php    Test successful
4.    Execute Modification    ./index.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test successful
6.    Execute Modification    ./Sources/Subs.php    Test successful
7.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
8.    Extract File    ./Sources/Gallery.php    
9.    Extract File    ./Themes/default/Gallery.template.php    
10.    Extract Tree    ./gallery    
11.    Extract File    ./Themes/default/languages/Gallery.english.php    
12.    Extract File    ./Themes/default/languages/Gallery.english-utf8.php    
13.    Execute Code    galleryinstall.php

The other mods that I currently have installed are as follows:

Mod Name     Version     
1.    TinyPortal    1.052    [ Uninstall ] [ List Files ] [ Delete ]
2.    SMFShop    3.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF Arcade    2.0.13    [ Uninstall ] [ List Files ] [ Delete ]
4.    Custom Profile Field Mod    3.19    [ Uninstall ] [ List Files ] [ Delete ]

Thanks. :)

vbgamer45

SMF Gallery 1.9 Released!
+Major updates to the interface
+Uses Admin Tabs for the admin section.
+Added theme links on the major pages.
+Added tabs on many of the pages.
+Minor bugs and fixes.
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

4b11l

Quote from: vbgamer45 on September 01, 2008, 05:32:23 PM
SMF Gallery 1.9 Released!
+Major updates to the interface
+Uses Admin Tabs for the admin section.
+Added theme links on the major pages.
+Added tabs on many of the pages.
+Minor bugs and fixes.


Are the screenshots up to date on the front page and if upgrading from a previous version; do you recommend an uninstall and install again? Also, how about existing pictures/directories, will they stay in tack?

vbgamer45

Screenshots are not up to date.
I would recommend an uninstall then a reinstall. Uninstalling does not delete any of the pictures or data.
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

Rafferty

Im confused, I'm running SMF Gallery Pro version 1.3.23, so is this not related to pro version?

Don't Follow me I got No Idea what I'm Doing

Sudhakar Arjunan

Quote from: vbgamer45 on September 01, 2008, 05:32:23 PM
SMF Gallery 1.9 Released!
+Major updates to the interface
+Uses Admin Tabs for the admin section.
+Added theme links on the major pages.
+Added tabs on many of the pages.
+Minor bugs and fixes.


Excellent Updates.
But i have around 10000 plus images.

in last post you have mentioned that i could uninstall and install the latest, which will not affect the entire images and data.

Is that possible.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Jimi_Hendrix

Quote from: Jimi_Hendrix on August 10, 2008, 12:52:05 PM
hi vbgamer45,

great mod ;-)

I have a problem:

I changed your mod, so that created 3 photos: (small, medium and large). I used to create the medium photo the same code that you used to create the thumb, but I have a photo too big ... where I can set the size of files?

the final result:
http://www.sanpietroinguarano.org/gallery.html

thank  ;)

???

Advertisement: