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

vbgamer45

You could restrict uploads to a certain image size for example 600 width and 600 height.
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

†MavN†

language string missing again :)
Gallery.template.php

<input type="submit" name="savesettings" value="Save Settings" />


I fink it's will be better if you do it this code block with some language strings too


<tr class="windowbg"><td><b>Has SMF Gallery helped you?</b> Then support the developers:<br />
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="SMF Gallery">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it is fast, free and secure!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<br />You can also upgrade to the SMF Gallery Pro edition at <a href="http://www.smfhacks.com/smf-gallery-pro.php" target="blank">http://www.smfhacks.com/smf-gallery-pro.php</a>
</td>
</tr>
</table>';
//Keep the copyright links please helps support develop of Mods for SMF
echo '<div align="center"><a href="http://www.smfhacks.com/smf-gallery.php" target="blank">SMF Gallery</a></div>';


and this too


echo '<div align="center"><a href="http://www.smfhacks.com/smf-gallery.php" target="blank">SMF Gallery</a></div>';

vbgamer45

I noticed the Save Settings block. The donate and copyright block I am not going to change since I want it to show as is.
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

†MavN†


rabbithutch

vbgamer45 has done an EXCELLENT job with SMF Gallery.  I have the Lite version installed on my forum and it works great!

One question:  Is there a way to display the gallery file titles on the thumbnail screen?  Instead of the view count and file size and other stuff there, my members want to see an image title and the name of who posted it.

Please pm if this is not the right place for this sort of thing.

TIA
r
rabbit
--------------------
Just because you can doesn't mean you should!

vbgamer45

Yeah you can do that. Just a couple of template changes. Look into Gallery.template.php and under the main function
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

Adamzon

hi!

i just got the pro version of the gallery
how can i put "random picture" in i Tinyportal block?
ssi??

/adam

chig

Quote from: Adamzon on December 21, 2006, 03:14:34 PM
hi!

i just got the pro version of the gallery
how can i put "random picture" in i Tinyportal block?
ssi??

/adam

there is more info in the block code snippet section from the http://www.tinyportal.net website and in the smfhack forum (from the developer) ...

vbgamer45

If you purchased the pro version upgrade your forum account on SMFHacks.com which will give you access to more forums for SMF Gallery Pro and mods for the Gallery.
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

Adamzon

eehmmum..

My domain is Glidarhoj.se and my username is Adamzon ...

redpanda

Hello, sorry for the troubles. SMF Gallery works fine, but now when I want to manage my Boards in the Admin Panel, I get the following error:

QuoteFatal error: Cannot redeclare editcategory() (previously declared in /home/---/forum/Sources/Gallery.php:266) in /home/---/forum/Sources/ManageBoards.php on line 337

Any help is greatly appreciated!

vbgamer45

Quote from: Adamzon on December 22, 2006, 08:43:53 AM
eehmmum..

My domain is Glidarhoj.se and my username is Adamzon ...

You need to upgrade the account on smfhacks.com click on the license button and enter the license information
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

stroll

Hello, i'm new on this forum.  I'm running SMF 1.0.8 and i installed the gallery. i have a different theme and create a gallery button to match which is cool.

the problem i have is in FORUM CONFIGURATION menu in the admin section the link GALLERY CONFIGURATION isn't there like in the example on this page hxxp:www.smfhacks.com/smfgallery/help/modifypermissions.PNG [nonactive]

there's actually and empty space there under EDIT SERVER SETTINGS

also in the permissions i don't see these settings at all
    *  View SMF Gallery
    * Add Picture
    * Edit own Picture
    * Delete own Picture
    * Rate Picture (Pro Edition)
    * Leave Comments
    * Edit own Comment (Pro Edition)
    * Report Pictures/Comments
    * Auto Approve Comments (Pro Edition)
    * Auto Approve Pictures
    * Manage Gallery

what do i have to edit in order to see these?

thanks

vbgamer45

You will need to copy the text for the gallery from modifications.english.php in the default theme to the modifications.english.php file in your custom theme.

Or if you are using another language other than english then you need to copy the text strings in modifications.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

stroll

yeah i just figured that out from a previous post to a member you helped out. thanks.

hopefully there won't be any errors.

damacguy

Thumbnails aren't being generated when the images are uploaded. I don't think it's a permissions issue as everything is 777 at the moment (feel like my fly is open). The image path is correct (removing thumb_ from the front of the image loads the correct image).

How are the thumbnails generated?

vbgamer45

Thumbnails are generated using SMF's thumbnail function which is built in SMF 1.1.1. I am not sure what causes this bug to occur on some servers.
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

redpanda

I have copied the modifications.english.php entries, which fixed my previos problem, but I'm now encountering another error. :(

When I want to edit Gallery category, I get this error
QuoteFatal error: Call to undefined function EditCategory() in /---/forum/Sources/Gallery.php on line 76

It generates Forum Error Log
Quote8: Use of undefined constant smfgallery_menu - assumed 'smfgallery_menu'
File: /---/forum/Themes/default/Admin.template.php (main_above sub template - eval?)
Line: 667

vbgamer45

You need to copy all entries to every modificaitons.yourlanguage.php file since that is where  smfgallery_menu is defined.
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

redpanda

#299
I only use English language in my boards.

Edit: Don't worry, I re-installed and it works fine now! Thank you for your help and sorry for the inconvenience!

Advertisement: