[pLog-svn] r4906 - in plugins/branches/lifetype-1.2: blogtimes sitemap tagcloud

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Thu Mar 1 15:17:27 EST 2007


Author: pwestbro
Date: 2007-03-01 15:17:27 -0500 (Thu, 01 Mar 2007)
New Revision: 4906

Modified:
   plugins/branches/lifetype-1.2/blogtimes/pluginblogtimes.class.php
   plugins/branches/lifetype-1.2/sitemap/pluginsitemap.class.php
   plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
Log:
Fixed problem where these plugins were not being called when posts were
added from the admin interface


Modified: plugins/branches/lifetype-1.2/blogtimes/pluginblogtimes.class.php
===================================================================
--- plugins/branches/lifetype-1.2/blogtimes/pluginblogtimes.class.php	2007-03-01 14:54:51 UTC (rev 4905)
+++ plugins/branches/lifetype-1.2/blogtimes/pluginblogtimes.class.php	2007-03-01 20:17:27 UTC (rev 4906)
@@ -34,7 +34,7 @@
             $this->id = "blogtimes";
             $this->author = "Mark Wu";
             $this->desc = "This plugin offers you to show the blogtimes image in your blog.";
-            $this->version = "20070226";
+            $this->version = "20070301";
   
             // source the neccessary class files
             include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
@@ -61,6 +61,8 @@
         {
             include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
 
+            $this->init();
+
             $this->registerAdminAction( "blogtimes", "PluginBlogTimesConfigAction" );
             $this->registerAdminAction( "updateBlogTimesConfig", "PluginBlogTimesUpdateConfigAction" );
             

Modified: plugins/branches/lifetype-1.2/sitemap/pluginsitemap.class.php
===================================================================
--- plugins/branches/lifetype-1.2/sitemap/pluginsitemap.class.php	2007-03-01 14:54:51 UTC (rev 4905)
+++ plugins/branches/lifetype-1.2/sitemap/pluginsitemap.class.php	2007-03-01 20:17:27 UTC (rev 4906)
@@ -22,7 +22,7 @@
             $this->desc = "Generates Google Sitemap for all permalinks.";
             $this->author = "Paul Westbrook";
             $this->locales = Array( "en_UK", "de_DE" );
-            $this->version = "20070226";
+            $this->version = "20070301";
             
 			if( $source == "admin" )
 				$this->initAdmin();
@@ -43,6 +43,8 @@
         {           
             include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
 
+            $this->init();
+
             // register an action that will allow users to see which comments have not been
             // accepted yet
             $this->registerAdminAction( "sitemapPluginSettings", "AdminSiteMapPluginSettingsAction" );

Modified: plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php	2007-03-01 14:54:51 UTC (rev 4905)
+++ plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php	2007-03-01 20:17:27 UTC (rev 4906)
@@ -28,7 +28,7 @@
             include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
             $this->db =& Db::getDb();
             $this->id = "tagcloud";
-            $this->version = "20070226";
+            $this->version = "20070301";
             
             $this->locales = Array("en_UK");
                                 
@@ -49,6 +49,8 @@
       
         function initAdmin()
         {
+            $this->init();
+        
             $this->registerAdminAction( "tagcloud", "PluginTagCloudConfigAction" );
             $this->registerAdminAction( "updateTagCloudConfig", "PluginTagCloudUpdateConfigAction" );
             include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );



More information about the pLog-svn mailing list