Re: Plugin: Avatar Upload
Well, yes, the plugin includes a file that must be placed into the bbPress root as well as another file that must be moved into the templates folder (either bb-templates/kakumei
or my-templates/template-name
). Not to mention the creation of the avatars
folder and uploading of the default
avatar.
I can not see any way around this other than uploading all files to the my-plugins/avatar-upload
folder and then using the script to move them to the right locations. Although, the file that remains in the my-plugins
would still need to be manually edited to set the plugin’s options. Likewise, the folder creation could be done with a script rather than the current manual creation (as SamBauers suggested on the Plugin Browser thread).
Is there a hook for when a plugin is activated? Looking around bbPulp I found the following…
bb_deactivate_pluginXXX
bb_activate_plugin_XXX
… but no information on how they are used.