Actually, Admin Tools caters for all extensions whatsoever. However I do mention in the documentation (in several places) that the defaults are designed to be ultra-tough and extremely strict. It's the responsibility of the user to relax them up to the point that he feels comfortable. I could have followed the inverse policy: ship the software with lax defaults. This is what I was doing in version 1.x. Do you know what the result was? People got hacked and accused me. So I reversed my policy to shipping Admin Tools with default settings set to "very tough", just a notch below "paranoid".
Regarding your suggestions:
You could consider adding a helper class so that when 3rd party extension is installed it is capable of adding exception to Admin Tools?
No, for two reasons. First, it doesn't solve your problem. The problem is caused by .htaccess Maker. Unless this class is present at the time of the .htaccess generation (which is most likely
before the user installs your plugin) it won't have any effect. Secondly, it would require me to scan the entire site for such classes, leading to potential timeout issues.
We could add an .htaccess file of our own but then I understand that Go Daddy doesn’t support .htaccess files in their sub-directories.
Ugh, of course not! But you just have to think out of the box:
- Create a file named, for example, test.php inside your plugin's folder, doing only echo json_encode(true);
- When the editor loads, try loading the test.php file
- If you get a 403 or otherwise the load fails and administrator/components/com_admintools/admintools.php exists, issue a nice, big, fat banner with instructions regarding configuring Admin Tools.
See? It's not even half as hard as you think it is.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!