[pLog-svn] r5731 - plugins/branches/lifetype-1.2/tagcloud
pwestbro at devel.lifetype.net
pwestbro at devel.lifetype.net
Thu Jul 26 00:26:25 EDT 2007
Author: pwestbro
Date: 2007-07-26 00:26:25 -0400 (Thu, 26 Jul 2007)
New Revision: 5731
Modified:
plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
Log:
Fixed a problem were tagclouds were not being generated
Modified: plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
===================================================================
--- plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php 2007-07-25 22:01:03 UTC (rev 5730)
+++ plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php 2007-07-26 04:26:25 UTC (rev 5731)
@@ -28,7 +28,7 @@
lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
$this->db =& Db::getDb();
$this->id = "tagcloud";
- $this->version = "20070511";
+ $this->version = "20070725";
$this->locales = Array("en_UK");
@@ -94,7 +94,7 @@
function process( $eventType, $params )
{
$validEvent = false;
-
+
// Looking for EVENT_POST_POST_ADD, EVENT_POST_POST_UPDATE, EVENT_POST_POST_DELETE
// or EVENT_POST_ADMIN_PURGE_TEMP_FOLDER (if defined)
if ( $eventType == EVENT_POST_POST_ADD ||
@@ -110,12 +110,15 @@
{
return true;
}
+
+ // Load all of the settings for this blog
+ $this->register();
if(!$this->isEnabled())
{
return true;
}
-
+
// Update the Blogtime png
$this->createCloud();
More information about the pLog-svn
mailing list