Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4274
Latest: kellanphil
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43645
Total Topics: 7572
Most Online Today: 58
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 51
Total: 51

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SMFHacks

Pages: [1] 2 3 ... 947
1
Support / Re: How to move SMF to new server
« on: January 21, 2025, 08:45:53 pm »
Best place to ask would be on  SMF's website https://www.simplemachines.org/community/index.php?board=254.0

2
Looks like I had a typo

Upload  attached to root of your forum and run it.

3
Attached edited ezblock page. Requires ezPortal 5.5.4

If not check ezBlock Manager -> Installed ezBlocks


And let us know the SMF Gallery block versions.

Make sure EzPortalInstall2.php is run to install to update blocked.

4
It is when you edit the block there is an option to change.

5
Done
5.5.4
+Added media type to SMF Gallery blocks if you are using SMF Gallery Pro. Allows you to select pictures or audio/video files or both to show

6
Support / Re: Figuring out settings
« on: January 12, 2025, 04:56:14 pm »
Thanks for headsup.


I edited Gallery2.php function CreateThumbnail

with
Code: [Select]
// don't resize just copy the file
if ($width > $sizes[0] && $height > $sizes[1])
{
copy($filename,$filename . '_thumb');
return true;
}

7
Bugs / Re: Filesizes incorrect
« on: January 12, 2025, 02:02:47 pm »
Old files would have to be reuploaded unfortunately. But new ones going forward would be ok. Or a script would have to be written to loop though each item and update filesize

8
Bugs / Re: Filesizes incorrect
« on: January 12, 2025, 01:35:08 pm »
Fixed
10.2.2
!Fixed filesize for uploaded audio/video files
+Added webp support for audio/video thumbnails

9
Support / Re: Figuring out settings
« on: January 12, 2025, 11:45:48 am »
Posted and update that should help
10.2.1
+Webp thumbnail support added for SMF 2.0.x and SMF 2.1.x
!Don't resize image if smaller than the height/width of the image

10
Support / Re: Figuring out settings
« on: January 12, 2025, 10:17:21 am »
webp coming to 2.1 eventually https://github.com/Sesquipedalian/SMF/commit/33f1686f992315e2a2cc0818cb87c5147c057ac5

But can backport to smf 2.0.x

11
Support / Re: Figuring out settings
« on: January 11, 2025, 09:46:10 am »
1. Shouldn't do that but will double check.

2. Webp images thumbnails have to look into either change resizeImageFile in SMF to support it or make a new version of that function and use in the gallery.


I did have a fork called ezforum.com the idea was to include the fixes/back port changes in 2.0.x and include some major free mods built in. Again not enough interest/time to market. And forum market smaller. All this is just a hobby for me. I manage/run other companies so not a ton of time.

12
Support / Re: Figuring out settings
« on: January 09, 2025, 08:42:45 pm »
Glad you have it working.

I will say my code is old school. It is mostly just if/loops and basic php functions with MySQL statements. I hardly ever use more advanced language features as it just makes code harder to maintain. Mainly between new PHP versions when features are changed/removed.

It is harder than ever to keep modern scripts going: with composer, OOP, it is way easier to keep an older script. There is just so many more components and things to know.

I try to keep things easy few files. I do my php development in PHP Storm. And I honestly do agree with on maintaining old then starting from scratch again, hard when you have a custom site with many features, a custom theme etc.  I do not see myself doing much with SMF 3.0 just don't have energy to rewrite everything for not much gain/killer new feature.

I still have phpbb2 sites running, SMF 1.1.x on PHP 8.1

13
Support / Re: Figuring out settings
« on: January 09, 2025, 08:13:37 pm »
For the 413 error its an nginx config issue you have edit the config client_max_body_size

https://stackoverflow.com/questions/24306335/413-request-entity-too-large-file-upload-issue


The bulk uploader should upload should automaticlly upload the files after selected. It should upload then place them in the category.


14
Support / Re: Figuring out settings
« on: January 08, 2025, 05:13:27 pm »
Quote

The main page of the gallery should be an overview of recently uploaded images
Admin -> Gallery Configuration -> Settings -> Layout ->
Then check "Show the most recent items on the main page"

Quote
    On the left there should be a categories list (This I think can be done by modding the Gallery2.template.php)
For SMF 2.1 it would be the Gallery2.1.template.php and for both would be in function template_mainview() function

Quote
    When you click someones name, it should take you to a page that shows all of their recent uploads, and the categorizes on the left should show only the categorizes they have uploaded too, along with their personal categorizes.
That would be editing function template_myimages()


Quote
    When someone uploads, it should be added into a predefined public category AND into a user category if they have one. (This is the part that's confusing me, Gallery Pro is just creating duplicate images instead of assigning them to multiple categories) - so I need multiple category support per image.

The biggest issue I'm having is that Gallery Pro seems to be treating personal galleries and general categories as totally separate galleries, when I want them to act more like filters or tags.
In your case I would disable personal galleries under membergroup permissions and gallery settings. Personal galleries allow a user to create their own mini gallery where they can create their own categories and organize items.

Instead I think you should just create top level/main gallery categories


Quote
I would also like to disable the entire Approval system; its not needed for me.
That can be done with permissions under each membergroup set the  membergroup to autoapprove gallery items/comments

15
Replied to PM.
Just want to ask is it for "SMF Gallery Random Image" ezblock or "SMF Gallery ezBlock" as they are both different.

Pages: [1] 2 3 ... 947

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
January 22, 2025, 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

Powered by EzPortal