How To Install A Geeklog Plugin

From GeeklogWiki
Revision as of 14:43, 2 July 2004 by Tomw (talk | contribs)

Jump to: navigation, search

Note: Up until Geeklog version 1.3.4, there was an automatic install procedure for plugins. This, however, caused too many problems and support issues and has been removed from later versions. The manual install as outlined below is now the recommended way to install a plugin and should work for both old and new versions of Geeklog.

For details, you should always refer to the README that comes with the plugin. In general, however, a plugin will be installed like this:

  1. Depending on your setup and server access, you should either upload the tarball and unpack it remotely or unpack the tarball locally and upload the extracted files and folders afterwards.
  2. The public_html directory in the tarfile is copied to the webtree under <plugin name>. e.g. if my geeklog web is in /path/to/geeklog/public_html/ then the public_html from the tarfile is copied to /path/to/geeklog/public_html/<plugin name>
  3. The admin directory in the tarfile is copied to the admin webtree. e.g. if my geeklog admin webtree is in /path/to/geeklog/public_html/admin/ then the admin directory from the tarfile is copied to /path/to/geeklog/public_html/admin/plugins/<plugin name>
  4. Call the plugins install script at http://yourgeeklogsite/admin/plugins/<plugin name>/install.php
    • If this is a new install (plugin doesn't exist in plugins table) then table.sql is executed and then data.sql is executed
    • If this is an upgrade that the necessary upgrade_<version>.sql script is searched for and, if found, executed.
  5. That's it!