News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Gallery

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

Previous topic - Next topic

vbgamer45

No code yet for that in the lite have it the pro edition. Will check it will work for this version.
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

nwobhm

Quote from: okc2 on September 06, 2008, 11:07:44 PM
I added this mod in 1.1.5 am getting this error:
Quote8: Undefined index: image
File: /home/loganspr/public_html/Themes/default/languages/Gallery.english.php (main sub template - eval?)
Line: 788

Everything appears to be working OK, but getting a ton of these errors.
I get this kind of error too, but I think it appears on the babylon theme only.
I'm using smf 1.1.6 and gallery version 1.8.2.

vbgamer45

Will get that fixed for next update since that theme does not have tabs

Fixed that issue
In SMF Gallery 1.9.2 and SMF Gallery 2.0.2
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


emonk

Hey, hi, good mod, but can you make a slide show? or a simples buttons "< previous next >" in the show picture page?

Muldoon

I was hoping someone could post a link to their website so I could see SMF Gallery in action...  I'm thinking about using it but would like to see how it works.  Also is there difference between SMF Gallery and SMF Gallery Lite?

Thanks guys,
Muldoon

mathmission

Hi there. Have this mod installed and it works great. Just installed a new theme called Note, and the buttons follow this form:

// Show the [Blogs] button.
    echo '<li', $current_action == 'blog' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=blog">' , $txt['b1a'] , '</a></li>';


I'm running 1.1.6, can you help me out with code that I can use to insert a button into this theme?

vbgamer45

Please attach your index.template.php and I can add the code to it.
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


vbgamer45

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

mathmission

This is the code you added, as well as the code before it:

/ Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<li', $current_action == 'pm' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<blink> '. $context['user']['unread_messages'] . ' </blink>]' : '' , '</a></li>';

if ($context['allow_smfgallery_view'])
echo '<li', $current_action == 'gallery' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=gallery">' , $txt['pm_short'] , '</a></li>';


The button works, and takes me to the gallery, but the button's text reads "My Messages" which is the button right before it.

mashby

Always be a little kinder than necessary.
- James M. Barrie

mathmission

That worked! Very good! Thanks! I will be starting a new site soon with the same theme. Can I just copy the code you entered in the button area and have that work again, or did you add anything else in the index.template.php file?

mashby

I only edited the button code, specifically the language string. So, if you install this mod, the button code in the index.template.php file attached above should work just fine.
Always be a little kinder than necessary.
- James M. Barrie

vbgamer45

Released a new update

For SMF Gallery 1.9.3 and 2.0.3
!Fixed issue on some hosts where it could not use getimagesize in the php temp folder.
!Fixed the category theme link when viewing an image.
!Fixed a Pretty Url filter bug with the add picture link
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

genieuk

Hi,

I have SMF Gallery installed Version 1.9.2,

Do i have to uninstall previous first? ifso how do i backup category names and pictures? as i have pictures and categories i done alot with and dont want to loos. MY site is gone live today so dont want to screw anything up.

When uninstalling will it remove pictures etc, please explain

thank you,
Mathew

vbgamer45

You would uninstall the previous version then install the new version.
When you uninstall it does not delete pictures or category information so everything will be the same.
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

genieuk

Hi,

Thanks for replying.

I just went to uninstall so i could install new version and it says

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

Why would there be an error for uninstall? as my site is heavly modded but it installed perfectly without problems, does that mean i will have to manually remove code from modifications.english.php?

Thanks you,
Mathew

vbgamer45

That is ok to fail. That happens because a lot of modifications install to modifications.english.php and currently there is not a good way in SMF to add and remove to that file.
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

genieuk

Yeah,

Thank you,

I went like a breeze :) So happy it did plus the modifications.english.php file is probably the easiest file of all so no problems.

Thank you Very Much,

Mathew

Advertisement: