SMF Gallery

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

Previous topic - Next topic

mickjav

Quote from: Diego Andrés on December 28, 2023, 01:01:25 PM
Quote from: Mike66 on December 28, 2023, 11:58:55 AMPost Image Upload is an add on mod for SMF gallery pro, it is used in the text editor and combines adding an image to the gallery with adding an image link to your post, so that the image displays in your post.

I made an updated version it works for Pro and Free
Attached here
https://www.simplemachines.org/community/index.php?topic=114291.msg4164713#msg4164713

You cannot view this attachment.

Just checked my PHP Version in myphp is saying my version is "PHP version: 8.1.26" but still telling me I need version 8

All the best mick

Diego Andrés

Quote from: mickjav on January 27, 2024, 05:33:26 AMJust checked my PHP Version in myphp is saying my version is "PHP version: 8.1.26" but still telling me I need version 8

All the best mick

Perhaps your sites have a different version each?
In the admin you can check for it, go to Admin > Maintenance > Server settings > PHP info.

It's where it says 'Core'.

SMF Tricks - Free & Premium Responsive Themes for SMF.

mickjav

Quote from: Diego Andrés on January 27, 2024, 03:06:55 PM
Quote from: mickjav on January 27, 2024, 05:33:26 AMJust checked my PHP Version in myphp is saying my version is "PHP version: 8.1.26" but still telling me I need version 8

All the best mick

Perhaps your sites have a different version each?
In the admin you can check for it, go to Admin > Maintenance > Server settings > PHP info.

It's where it says 'Core'.

Thanks They all say 7.4.33

But Myphpadmin says
You cannot view this attachment.

It's not important as prob wont be using it just wanted to look lol

Arantor

It's quite possible for phpMyAdmin to be running its own version of PHP especially if you're on hosting with a PHP version switcher...

vbgamer45

You can check in SMF your php version under Admin -> Support and Credits
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

mickjav

Quote from: vbgamer45 on January 27, 2024, 04:48:21 PMYou can check in SMF your php version under Admin -> Support and Credits

7.4.33 As said it's not important at the moment but if more mods require 8 then I'll have to talk to my host? lol

vbgamer45

In cpanel there is a php version area you can change the PHP version of your site. MultiPHP manager I believe.
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

mickjav

Quote from: vbgamer45 on January 27, 2024, 05:03:44 PMIn cpanel there is a php version area you can change the PHP version of your site. MultiPHP manager I believe.

Sorry, can't find anything like that.

vbgamer45

I changed your site to PHP 8.1 it's under software in cpanel admin area.
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

mickjav

Quote from: vbgamer45 on January 27, 2024, 05:21:30 PMI changed your site to PHP 8.1 it's under software in cpanel admin area.

Thanks just found cPanel, Never noticed it before, Always thought my client area was it lol

mickjav

Had one issue in my pledges mod it didn't like "cannot be called statically"

So I changed the problem function from

public function PledgesToBeConfirmed()

To

public static function PledgesToBeConfirmed()

to be honest not 100% sure what I'm doing there.

last of topic from me lol

vbgamer45

Added some built in translations for German, Spanish-es, and French. Just note these are AI assisted translations and should give a good start for most users.
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

ColinJM

I've just installed this on my development SMF forum and am receiving a Warning Gallery path is not writable! /xxxxxxxxxx.com/gallery/

The sub directory exists in the public.html folder on the server

Any ideas?
Kind Regards

Colin

vbgamer45

Is it writable? Check the directory permissions
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

ColinJM

Quote from: vbgamer45 on March 28, 2024, 09:39:30 AMIs it writable? Check the directory permissions

That's now fixed - came down to pathing and permissions.
But I have another problem - when you click on the TNs the image blows out the View Ports on mobiles and squashes in horizontally

Kind Regards

Colin

vbgamer45

What device are you using?
Interested to know on the image size width/height.
And if possible can you pme me a link or the 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

ColinJM

I'm using a SamsungS7 with Chrome.
The original image is 1040 x 726
When I screenshot it and download it it goes to 1080x1920
original and downloaded images sent vb

MSG sent
Kind Regards

Colin

ColinJM

@vbgamer45 - The Image doesn't retain aspect ratio as I shrink threw view ports in a browser. Thumbnails are ok, its the non TN image the TN is tapped. Otherwise awesome plug in.
Kind Regards

Colin

vbgamer45

Haven't forgot have to see if I have fix in pro edition/compare code.
There is still some unresolved responsive in the gallery, css is not my strong point/using divs instead of tables.
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

fmofmpls

I recently upgraded my forum to 2.1.4 and my SMF Gallery Pro gallery isn't showing any longer. I found the lite version at SMF mods section, but I purchased the Pro version years ago. Is it still possible to download that package again to my forum somehow? Thanks!

Advertisement: