dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on August 10, 2015, 11:56:59 PM

Title: Post and PM Inline Attachments
Post by: Chip on August 10, 2015, 11:56:59 PM
for details etc. visit http://www.simplemachines.org/community/index.php?topic=525705.260
Title: Re: Post and PM Inline Attachments
Post by: Chip on February 18, 2016, 01:20:36 AM
the bbcode may be disabled by going to Admin -> Forums -> Posts and Topics -> Bulletin Board Code and (un)checking the attachment bbcode.
Title: Re: Post and PM Inline Attachments
Post by: Chip on April 06, 2021, 10:27:29 AM
testing this ...


* chipper.gif (4.25 kB . 100x94 - viewed 349 times)
Title: Re: Post and PM Inline Attachments
Post by: Chip on May 30, 2021, 02:23:24 PM
PHP 7.4 issue for Post and PM Inline Attachments   5.10:

error:
Code: [Select]
8192: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
File: /var/www/html/Sources/Subs-InlineAttachmentsAdmin.php
Line: 292

in ./Sources/Subs-InlineAttachmentsAdmin.php:

find:
Code: [Select]
<input type="hidden" name="count2" value="' . $context['ila_completed'] + ($count - $start). '" />
replace:
Code: [Select]
<input type="hidden" name="count2" value="' . ($context['ila_completed'] + ($count - $start)). '" />

Post Merged: May 30, 2021, 02:50:26 PM
testing ...


* trippy-max-headroom.gif (51.73 kB . 200x163 - viewed 855 times)
SimplePortal 2.3.6 © 2008-2014, SimplePortal