Change inline attachment indices for all posts (Post and PM Inline Attachments)

Started by lf123123, December 30, 2016, 04:12:22 AM

Previous topic - Next topic

lf123123

Since I upgraded from SMF 1.x to 2.0.12, I had to use a new modification to manage inline attachments. I decided that Post and PM Inline Attachments might be a good choice.

In the old version of our forum, inline attachments could be accessed with BBCodes like [attachment=1], [attachment=2], ...
Now, the correct syntax is [attachment=0], [attachment=1], the difference being an index shift. Therefore, all attachments are shown in the wrong place.

Now, the option "Should first attachment should be numbered "1"?" looks like just what I need, but it's not: If I change the setting from "begin with 0" to "begin with 1", all my messages are edited such that all indices are raised by 1, which I don't want in this case.

Is there any way to have all old attachments display correctly without having to manually go through all posts with inline attachments?

Thanks in advance!

d3vcho

Hello!

You should ask for support in the Mod's support topic...

Regards :)
"Greeting Death as an old friend, they departed this life as equals"

lf123123

Sorry for not doing this in the first place, and thank you for sending me in the right direction.

Advertisement: