News:

Wondering if this will always be free?  See why free is better.

Main Menu

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
I promise you nothing.

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

Antechinus


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.
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

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

Bob Clifton

Thanks ! Really long named worded guy .
Great to have .
If a Grasshopper Carried a Shotgun the Birds wouldn't Mess With Them

FrizzleFried

Hello...

Recently I changed the default behavior of my editor to have the attachments/additional options section CLOSED by default (versus open by default). 

The unfortunate side-effect is that when you click this mods new ADD FILES button ... it takes you to the editor which now has the bottom section closed.  Opening the section shows the red bordered attachments section as normal.

Is there any way to force the default "CLOSED" to be OPEN only when clicking the ADD FILES button from the quick reply area?

Thanks!

IP_Board_Rules

Hello, may I ask if it would be possible to do a SMF 2.0 backport of your Quick Reply Attachments Button Mod please? I am also willing to pay for it. Thank you and best regards, Nicole

Sesquipedalian

Quote from: FrizzleFried on June 13, 2022, 12:10:38 PMIs there any way to force the default "CLOSED" to be OPEN only when clicking the ADD FILES button from the quick reply area?

That should be possible, yes. It might be a little while before I have time to implement the necessary changes, though.
I promise you nothing.

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

Sesquipedalian

Quote from: atanua on July 04, 2022, 10:50:15 PMHello, may I ask if it would be possible to do a SMF 2.0 backport of your Quick Reply Attachments Button Mod please? I am also willing to pay for it. Thank you and best regards, Nicole

Sorry, but no.
I promise you nothing.

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

Advertisement: