Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: sgm9 on April 27, 2025, 02:20:27 PM

Title: [Free] Update Image Floating to Left or Right mod to work with smf 2.1.4
Post by: sgm9 on April 27, 2025, 02:20:27 PM
https://custom.simplemachines.org/index.php?mod=3983

I edited the language_english.xml to reflect the new comment in the code that is used as insertion place, but the install.xml contains a replace for the string "$orders = permute($preg);" that was last seen about 10 years ago: https://github.com/SimpleMachines/SMF/commit/4dc6fb88df92417c1551029415a403261d57f99f

So I can't even install it to see if the rest of the code still works, as I have no idea how to adapt it to the current state of the code. I don't know any php.

I need it so I can have margins to my images.
Title: Re: [Free] Update Image Floating to Left or Right mod to work with smf 2.1.4
Post by: Diego Andrés on April 28, 2025, 02:18:31 AM
SMF 2.1.x already has a float bbc by default.
Screenshot_11.png
Title: Re: [Free] Update Image Floating to Left or Right mod to work with smf 2.1.4
Post by: sgm9 on April 28, 2025, 01:46:15 PM
I know, I am currently using it instead of the imgleft addon, but it does not support pixel margins, so that's why I am requesting someone give a hand with this.