Unmaintained VigLink 1.1.3

No permission to download
By disabling Convert, some links, for instance Thread Tools would break. This has been resolved.
It had been brought to my attention that how my user groups options were set up that it would not work as intended.

This newest update uses the inverse of the original options, so now you choose the user groups that you want to disable VigLink Insert or VigLink Convert for. So please make sure to double check your options for which User Groups are disabled.

Here's a quick example of where the original options would not have worked correctly. If you had a User that was in both Registered (the User Group that most users are a part of) and Admin, and you selected to Enable Convert or Insert for All User Groups but Admin. VigLink would still work work for said user, since he is in the Registered User Group.

So by making it look for those User Groups to disable VigLink you can select Admin, and it will indeed be disabled for them.
  • Like
Reactions: CoZmicShReddeR
Added the class 'nolinks' to posts authored by disabled user groups. This will stop insert from working, prior it only have 'norewrite' which was for convert.
This update fixes the template caching issue. The javascript will automatically be inserted into your forum as soon as the key is added, and any changes to options will take place immediately instead of on re-saving the template modifications or waiting for the cache to clear.
  • Like
Reactions: Nirjonadda
Fix for array to string conversion. This should fix the template issues where the template would break.
Updated the logic for Disabling VigLink for posts authored by certain user groups. Please let me know if the errors continue.

Also updated the options to checkboxes.