HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Installation?
Pouncer012
New
in Feedback
Hello, sorry I'm new to Vanilla. I'm trying to read everywhere how to install all plugins/addons, the readme files, etc. and nothing is making sense. Do you have an easy way of installing this?
Thank you!
0
Comments
You extract and upload it to your plugins folder of vanilla installation . If it is compatible and works, you can enable it in the dashboard.
You need to have a basic grasp of this sort of thing . Otherwise you need to learn .
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
have you set up the correct permissions on the folder.
I haven't installed the plugin myself, but downloading and looking at it, I see a number of things.
the plugin also should be cleaned up before it is uploaded, or it should be cleaned up be everyone who downloaded it.
if a newer version than 3.1.4 of plugin occurs you should delete the folder and re-install the new version.
probably a good idea to delete the XXX file names.
My personal suggestion, These practices that would best be avoided when developing or uploading a plugin.
naming files with "multiple or pseudo extensions" xxxx.php.txt poor practice
including old locales that are non-existent in current recomended stable version of vanilla.
including multiple class files with the same class
including duplicates that are formatted slightly differently or just take up space
some unused files just get loaded into cache and pollute things.
Professional Tip.
If you don't check a plugin before you upload it, you may be adding unnecessary or old files.
Something to consider if a developer uploads a newly created plugin
the developer could delete the plugin and any old versions from their test installation and then download the plugin from add-ons and install it and test the downloaded version disabling, running, and enabling. to see if it gets enable and disabled properly and all css and js files are loaded and not other junk is in it.
I've seen several plugins in recent months where there was a glitch because the downloaded add-on was neither tested or installed by developer, otherwise they would have noticed the bugs and extra files if they closely looked at things.
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
@River - thanks for these comments -- I uploaded the wrong folder, the one on Github marked with the same version does not have all these file duplicates as well as the totally unnecessary Alsosee directory. However, the plugin existing files are fine. After the US Labor Day I'll upload a cleaner version with a fix for another issue reported by another user.
Apologies to everyone (and don't tell anyone else that I am human and make mistakes).
@Pouncer012 - since you are just starting with Vanilla I suggest that you (1) wait until I upload a newer version, (2) delete this plugin directory as River suggested, and (3) perhaps start your Vanilla experimentation with a simpler plugin (the DiscussionTopic is one of the more complex plugins from a setup point of view - it probably has more options to chose from than other plugins)
@river - new version without the unused files is now in the directory.
@R_J - code now conforms to the Vanilla standard.
@okhawaja - your long list of priority phrases should work now.
yes but it would be "better and more responsible" if you have a note in your description on plugin page, and your readme about deleting the folder before installing new plugin version, otherwise people will still have the junk files from previous versions of the plugin as explained above, otherwise cache will be polluted, etc, as stated in my comment above.
if you want to help the people who installed previous versions. - make a clear and easy to see note before they download the plugin.
e.g. https://vanillaforums.org/addon/galleries-plugin see description here as an example. except I would bold the part about deleting folder before installing
kudos - you have very nice descriptive images on plugin page
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
Hi @River - I think the extraneous folders we introduced in the previous to the last version, not earlier. Nevertheless, I updated the directory description as you suggested.
Thanks for your feedback!