[Liam W.] Post Macros

[Liam W.] Post Macros 5.2.2 Fix 8

No permission to download
The 5.1.0 betas have been through enough testing, and I now feel comfortable releasing the moving Post Macros 5.1.0 to a stable release.

Some very minor bugs were fixed in this version:
  • Add missing phrase
  • Improve handling of merged and deleted users
  • Like
Reactions: yin9 and Sunka
  • Some minor changes to the macros list
    • Move controls from the footer to the header, as FA icons
  • List the available placeholders when editing/creating a macro

Attachments

  • Screenshot 2019-03-28 at 14.56.55.webp
    Screenshot 2019-03-28 at 14.56.55.webp
    8.9 KB · Views: 44
  • Screenshot 2019-03-28 at 14.57.15.webp
    Screenshot 2019-03-28 at 14.57.15.webp
    5.2 KB · Views: 44
  • Screenshot 2019-03-28 at 14.57.09.webp
    Screenshot 2019-03-28 at 14.57.09.webp
    13.5 KB · Views: 45
  • Fix a bug where a lack of macro json would break the editor
  • Like
Reactions: yin9 and Sunka
  • Add missing pagination elements to admin global macros list
  • Fix issue which caused pre-5.1.0 macros to lock and sticky threads, even when they weren't supposed to
  • Improve JS compatibility with other add-ons
  • Like
Reactions: yin9 and Sunka
Post Macros 5.1.0 brings some major changes - the most noticeable being the much improved layout of the front-end macros list. Each macro is now it's own block, making them stand out more and allowing the full range of BB Code to be displayed effectively (the previous layout had the control buttons overlaying tables).

Inactive macros are now listed on a separate page, and both lists are fully paginated - so those with large numbers of macros will no longer be subjected to a horrifically long page.

In addition, Post Macros 5.1.0 contains two new features:
  • Auto submitting macros
  • Custom macro placeholders
Auto submitting macros are self explanatory - there is a new checkbox when creating a macro, which, if enabled, will cause a reply to be submitted automatically when that macro is used. This can be used to create quick moderator actions (moderation-only macros will be coming in a future version, hang tight!).

Custom macro placeholders is a more significant introduction - and is very powerful. This lets users (and admins, in the case of global macros) to define placeholders in macros that should be entered by the user using the macro when it's used. The placeholders can be defined as required (in which case, the macro cannot be inserted without entering a value), or optional. The placeholders are filled in with an overlay when the macro is selected - see the screenshots.

This is a beta for now, though I've tested it extensively locally, so I expect there to be minimum bugs. Do please test the beta, and let me know if you find any, though!

Note: Post Macros 5.1 requires PHP 7.0 or above and XenForo 2.1 or above.

Attachments

  • Screenshot 2019-03-19 at 00.12.46.webp
    Screenshot 2019-03-19 at 00.12.46.webp
    49 KB · Views: 62
  • Screenshot 2019-03-19 at 00.13.20.webp
    Screenshot 2019-03-19 at 00.13.20.webp
    10.7 KB · Views: 54
  • Screenshot 2019-03-19 at 00.24.17.webp
    Screenshot 2019-03-19 at 00.24.17.webp
    17.9 KB · Views: 54
  • Screenshot 2019-03-19 at 00.25.01.webp
    Screenshot 2019-03-19 at 00.25.01.webp
    50.7 KB · Views: 55
  • Like
Reactions: yin9 and Sunka
This version adds interim support for XF 2.1 - version 5.1 is in development, with exciting new features!

Note: Version 5.0.1 requires XF 2.1 and PHP 7. Version 5.1 will also have these requirements.

Note: After upgrade/install you need to add the post macros button to your editor toolbars. This is not done automatically.
Fix bug which caused XenForo boards not hosted at URL root to be incompatible with macros
  • Like
Reactions: yin9 and Sunka
  • Improved macro list display
  • Many minor bug fixes
  • Stable version
  • Like
Reactions: yin9
  • Fix an issue where permissions weren't being rebuilt when a new global macro was created, causing no-one to have permission to enrol into the new global macro.
  • Minor performance improvements.
  • Like
Reactions: yin9
Betas 6-9 fix bugs and improve performance of the add-on.
Top Bottom