Not Solved Max Attachments
#4
Not Solved
I will attach here for all to see. Please note this is a work in progress. Code retains original comments, a couple are mine. Original 1.8.9 code is commented out. I may have not identified a change. It works on a clean 1.8.9 forum not running any plugins.

Message for all:
THIS IS NOT A PLUGIN. IT IS CORE EDITS. KEEP ORIGINAL FILES INTACT IN CASE SOMETHING GOES WRONG. YOU ARE RESPONSIBLE FOR ITS USE.

The files are 1.8.9 modified. I have not worked with earlier 1.8 versions.

These are hard-coded for 10 items at a time. I am not using ACP portion of 1.6 plugin.

To install:
1. Rename text files to drop TXT extension.
2. FTP to forum file location. SAVE ORIGINAL FILES FIRST.
3. ACP to modify template post_attachments_new to include new text attached.
4. Reload forum display.

To use:
You can enter up to 10 at a time, up to forum max each post. My forum ACP is set to 50 max per post. I have not tested different values.
Load the list, then click Add Attachment button.
This uploads the first batch, then returns with another blank list of 10.

Once some files have already been uploaded, then Update Attachment and Add Attachment buttons do the same thing.

You can either Post Thread button and attachments are posted in the order added,
or you can click each Insert Into Post button in the order you want them to appear.

It does not require they be sequentially entered in the list. Blank lines where no file selected are ignored. 

Mods: if this post is not permitted or in the wrong forum, please correct. Thank you.
Reply


Messages In This Thread
Max Attachments - by SteelCurtain - 2014-09-10, 03:05 PM
RE: Max Attachments - by HLFadmin - 2017-01-06, 01:37 PM
RE: Max Attachments - by Eldenroot - 2017-01-07, 09:04 AM
RE: Max Attachments - by HLFadmin - 2017-01-07, 12:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)