Quick Reply Attachments Button

Started by Sesquipedalian, March 11, 2022, 07:40:35 PM

Previous topic - Next topic

Sesquipedalian

Link to the mod

Quick Reply Attachments Button

A modification for SMF 2.1 that adds a button to the quick reply form that makes it easier for users to add attachments. This button is a one-click shortcut that takes the user straight to the attachment upload interface on the full posting form, already open and ready to go.


Settings

There are no settings. Install to enable, uninstall to disable.


License

Quick Reply Attachments Button, © 2022 Jon Stovell, is released under the MIT License. A full copy of this license is included in the package file.


Changelog

Version 1.0:
  • Initial release
Slava Ukraini!
Heroiam slava!

I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Antechinus

Sources code: making easy front end changes difficult since 1873 :P

Mods & Themes | Revamped theme for this site | Dark theme for this site | GitHub for n00bz

FrizzleFried

I got my first attachment error in the log today.  I can't say for sure it was this mod that caused it... it could be a coincidence.

Anyway,  here is the error:

Yesterday at 11:26:59 PM
 osver
 67.170.23.99
 b036b0cbc9f587a4b401cf856f23414d
 https://www.xxxxx.com/index.php?action=post;msg=840529;topic=8589.1400
 /home/ahaforum/public_html/Themes/default/Post.template.php (Line 339)  Backtrace information

Type of error: Undefined
Error messageSelect
8: Undefined index: imageAttachments

Here is the backtrace:

Type of error
Undefined_vars
Error message
8: Undefined index: imageAttachments
File
/home/ahaforum/public_html/Themes/default/Post.template.php
Line
339
URL of page causing the error
https://www.xxxxx.com/index.php?action=post;msg=840529;topic=8589.1400
Backtrace information
#0: smf_error_handler()
Called from /home/ahaforum/public_html/Themes/default/Post.template.php on line 339
#1: template_main()
Called from /home/ahaforum/public_html/Sources/Load.php on line 2755
#2: loadSubTemplate()
Called from /home/ahaforum/public_html/Sources/Subs.php on line 4159
#3: obExit()
Called from /home/ahaforum/public_html/index.php on line 190

Sesquipedalian

Your error is caused by some other mod or custom theme that you have installed. The string "imageAttachments" does not occur anywhere in SMF 2.1's code, nor does it occur anywhere in the code of this mod, so it must have been added by something else. So whatever mod or theme that code came from is the place to look for the source of the error.
Slava Ukraini!
Heroiam slava!

I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

@rjen

Automatic Attachment Rotation (and Resize) mod.
Running SMF 2.1 with latest Tinyportal at www.fjr-club.nl
Testing SMF 2.1 with next version Tinyportal at test.fjr-club.nl

FrizzleFried

...I do have that mod running.  Might not be for long (though that was the last error I got to be honest...)


@rjen

I saw the same error once or twice : reported it there
Running SMF 2.1 with latest Tinyportal at www.fjr-club.nl
Testing SMF 2.1 with next version Tinyportal at test.fjr-club.nl

Bob Clifton

Thanks ! Really long named worded guy .
Great to have .

Advertisement: