Difference between revisions of "Plugin Development"

From GeeklogWiki
Jump to: navigation, search
(Preparations to make this the landing page for Plugin Development)
m (Links to Admins Block, User Settings & User Functions Block)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
* Ability for your plugin to be submission-based so that users can submit objects to your plugin.  You can then visit the command and control center in Geeklog to moderate the submissions for your plugin.  
 
* Ability for your plugin to be submission-based so that users can submit objects to your plugin.  You can then visit the command and control center in Geeklog to moderate the submissions for your plugin.  
* Allow your plugin to show up in the Admin block and User block on each Geeklog page.  
+
* Allow your plugin to show up in the [[Admins Block]] and [[User Settings & User Functions Block|User Block]] on each Geeklog page.  
 
* Allow your plugin to be searched via the Geeklog search page.  
 
* Allow your plugin to be searched via the Geeklog search page.  
 
* Allow stats for your plugin to show up on the site statistics page.  
 
* Allow stats for your plugin to show up on the site statistics page.  
Line 19: Line 19:
 
** [[Moderation Functions]]  
 
** [[Moderation Functions]]  
 
** [[Admin and User Menu Functions]]  
 
** [[Admin and User Menu Functions]]  
** [[Search Functions]]  
+
** [[Using Geeklog's Improved Search Engine|Search Functions]]  
 
** [[Integrating the Comment Engine|Comment Functions]]  
 
** [[Integrating the Comment Engine|Comment Functions]]  
 
** [[Stats Function]]  
 
** [[Stats Function]]  
Line 37: Line 37:
 
* [[Plugin API]]
 
* [[Plugin API]]
 
* [[Plugin Toolkit]]
 
* [[Plugin Toolkit]]
 +
* [[Minimal Plugin|Writing A Minimal Geeklog Plugin]]
 +
* [[New Plugin API Functions in Geeklog 1.6.0]]
  
  
 
[[Category:Plugin Development]]
 
[[Category:Plugin Development]]

Latest revision as of 11:54, 8 June 2009

Overview

Geeklog is becoming more and more popular each day and we, the Geeklog developers, are amazed at some of the great hacks people have made to extend their Geeklog installation to fit their own needs. At the same time, the Geeklog development team is continually adding new features that make Geeklog even better. We have realized the need for Geeklog to support two threads of development: core Geeklog code and plugin code. By building in the infrastructure needed to extend Geeklog's functionality through plugins we can make a clean separation between the Geeklog codebase and plugin code so that we can concentrate on making Geeklog's core code better while others can develop plugins so that Geeklog fits their needs. With that said, Geeklog now has a Plugin Application Program Interface (API).

At the highest level, the Geeklog Plugin API is generic code that is called in strategic places in the Geeklog codebase that allows functions of plugins to be called. This will allow your plugin the following features:

  • Ability for your plugin to be submission-based so that users can submit objects to your plugin. You can then visit the command and control center in Geeklog to moderate the submissions for your plugin.
  • Allow your plugin to show up in the Admins Block and User Block on each Geeklog page.
  • Allow your plugin to be searched via the Geeklog search page.
  • Allow stats for your plugin to show up on the site statistics page.
  • Allow your plugin the ability to use Geeklog's comment engine.
  • Allow you to use the power of Geeklog's code library (lib-common.php) in your own plugin code.
  • Allow you full flexibility on what your plugin does. Geeklog does not dictate your plugin's power.


Content


Other Resources