Resource icon

Unmaintained Post Macros 4.3.2

No permission to download
This update includes some new features, and some improvements:
  • You can now use 3 variables in macro, {threadname}, {threaduser}, {forumname}. These will be automatically replaced with the correct values when the macro is inserted.
  • The edit and delete controls will now show only if the user can edit or delete the macro.
  • There is now a line of text next to the macro name if the macro is a staff macro. If it it someone else's staff macro, then the authors name will be displayed as well.
  • Last activity text now displays 'Managing macros' instead of 'viewing unknown page' when they are anywhere in the macros route controller (the entire macros route).
I'll upload the update to fetchapp as soon as I've posted this update :)
Fix error on brand new installs
Fix error in previous release.
This update fixes some issues people were having with missing tables etc.

This update can be installed by all if you wish, no bad things will happen :)

Orders have been reopened.

Liam
So, the interesting part first :)

This update now shows the macro selector near all conversation editors - create, reply and the quick reply editor. You can stop the selector from showing in these locations in the macro options.

Now, the uninteresting part...

I'm slowly trying to switch all my addons to a new method of creating tables and updating them, which offloads the queries into their own classes. I feel this makes it easier to manage (which is important for me!), and also makes it much less error-prone.

This update does include some new columns for a table. It should automatically create them upon update.

Liam
  • Macro Options
    People can now choose whether or not to show the macro selector on each page!
  • Auto BBCode Linking
    URL's and E-Mails will now be linkified automatically when the macro is saved.
  • Like
Reactions: mistypants
The macro selector is now ordered Alphabetically.
The macros template has had an overhaul, thanks to @gldtn :)
There is now a confirmation overlay on delete.
The edit box is now an overlay.
  • Like
Reactions: gldtn
This update improves the TMC by ensuring the content that is found is replaced back again - tabs and all, so that other addons can replace it.

This update also removes some unnecessary files, improves the installer & removes some deprecated code.
In this update, the system for inserted a macro has changed. It now uses javascript only, and not a controller. The content of the macro is supplied in the value tag of the selector option.

Macros now work with the BBCode plain editor.

When inserting a macro into the WYSIWYG editor, it will be ready-compiled (you won't see the bbcodes).

You can now insert macros to the quick reply box.

There is no longer any need to click a button - just select the macro from the drop down, and it'll be inserted.

The drop down has been moved to be (imo) neater.
  • Like
Reactions: mistypants
So, here is the update with predefined macros.

Developers
This update adds 2 code events, in case anyone wants to ever use them.
  • Like
Reactions: Matthew Hawley
Back
Top Bottom