Resource icon

Unmaintained Post Macros 4.3.2

No permission to download
This is a basic maintenance update to stop the display of the macro options on the preferences page if the user does not have permission to use/view macros.

It also adds a title to the macro options on the user preferences page.

Under the hood, I have changed it to use event hints for all events (where allowed), and have split the single view extension into multiple - allowing for slightly improved performance & better code style.

You may get an error saying there is an invalid code event if you install via an add-on installer. If this happens, manually import the XML file - the files didn't copy fully before the XML was imported.
Fix bugs with the installer that caused server errors.

This version has been installed onto XF Liam (twice), the dev forum & a new install on another dev forum. No errors arose, so I'm happy this version does fix the errors...

You must disable the add-on before uploading new files if updating from 3.6.3 (or a failed previous update). The database fields changed, and so uploading files will cause it to try and use the not yet installed fields.


If your installed version is 3.6.4 or 3.6.5, then make sure the correct tables are in place after updating - the tables may not have installed (which should've stopped installation, but some systems don't).
Fix bug in installer in last version. The last version wouldn't have installed - install this one.

If you tried to install the last one, and it appeared to work, then you may need to manually run the following SQL:


Code:
ALTER TABLE xf_user_option ADD macros_hide_qr TINYINT(1) NOT NULL DEFAULT 0, ADD macros_hide_ntnr TINYINT(1) NOT NULL DEFAULT 0, ADD macros_hide_convo_qr TINYINT(1) NOT NULL DEFAULT 0, ADD macros_hide_convo_ncnr TINYINT(1) NOT NULL DEFAULT 0

and

Code:
ALTER TABLE liam_macros CHANGE macro content TEXT NOT NULL
Make sure the files copy over.
This update improves code style & methods.

The macro options have been moved to the user options. This does unfortunately erase existing options - however, the old table isn't removed, so it may be possible to move the values.

**This update removes all callbacks**
This update fixes the issue with custom bb codes.
Fix bug where line breaks aren't inserted when using WYSIWYG editor.
Fix incompatibility with some addons also modifying the quick_reply template.
  • Like
Reactions: Sunka
Most of the changes in this version are behind-the-hood, to make it easier for me to maintain in the long run.

However, there is one key new feature - you can now specify which forums can and can't have macros used in them. When creating or editing a forum node, you will see a new 'allow macros' option:

upload_2014-4-11_5-59-54-png.88


If that option is unchecked, then the macro selector will not appear in that forum at all.

Please be aware that I have switched to the new licensing system. You may have got an email from forum@xf-liam.com - if not please check your spam. It was requesting you register at xf-liam.com to get your update.
  • Like
Reactions: Sunka
A bug has been discovered that would've resulted in a server error being thrown on the create-thread page, the view thread page, or the reply to thread page if any admin macros were defined.
3.5.1 has been released to fix this issue.

Please be aware that 3.5.1 has been updated to the new file structure. You should delete the library/LiamMacros folder after updating.

Announcement: http://xf-liam.com/threads/post-macros-3-5-0-released.47/#post-90
New in this version:
  • 1.3 Support
  • Thread title completion!
More info: http://xf-liam.com/threads/post-macros-3-5-0-released.47
  • Like
Reactions: Sentenza
The permission wasn't actually checked in the delete action, meaning it was pointless... Fixed now!

Liam
Top Bottom