Search Engine Friendly URL in LifeType Tag Cloud Plug-in
Dflying | 15 March, 2006 17:14
Currently the Tag Cloud Plug-in of LifeType uses search to fetch related topics and just shows the raw URL such as http://dflying.dflying.net/index.php?searchTerms=ajax&op=Search&blogId=1 which may not friendly enough to search engines. I’ve added a line in .htaccess file
# Search (i.e. /plog/1_userfoo/search/keyword.html)
RewriteRule ^([0-9]+)_[^/]+/search/([^.]+).html$ index.php?
blogId=$1&op=Search&searchTerms=$2 [L,NC]
To make the url like http://dflying.dflying.net/1/search/atlas.html. here ‘atlas’ is the keyword.
Then change the plugintagcloud.class.php file line 152 and line 153 to generate friendly urls:
$baseUrl = $rg->getBaseUrl(); $Cloud .= "<a href='{$baseUrl}/{$blogId}/search/{$k}.html' " ."style='font-size: {$size}px; color: #{$r}{$g}{$b}' " ."title='$k($v)'>$k</a> ";
Just download here if you do not like to modify: http://dflying.dflying.net/1/resources/plugintagcloud.zip.html
Posted in LifeType . Comment: (0). Trackbacks:(1). Permalink
Access Denied Error in Rich Text Editor after Adding Google Adsence Ad
Dflying | 06 March, 2006 00:42
When showing Google Adsence Ads in your LifeType Admin page, you may get the ‘Access Denied’ JavaScript error when choosing a resource or image. I’ve debugged into the JavaScript code today and find some potential conflicts between the editor and Adsence Ad. The editor is trying to visit elements generated by the Ad in different domains (google.com), so IE denied the access.
(More)Posted in LifeType . Comment: (6). Trackbacks:(10). Permalink
New Plugin: AuthImage
Dflying | 25 February, 2006 06:26
AuthImage plug-in is used in comment form to provide user extra security and get rid of spamming messages. It shows an auto generated image which contains some characters and commenter needs to recognize these characters to submit his/her comment.
You may simply enable this plug-in in Control Center and modify your commentform.template:
{if $authimage->isEnabled()} <div> <label for="authImage">AuthImage</label> <input type="text" name="authImage" id="authImage" value="" /> {$authimage->show()} </div> {/if}
Posted in LifeType . Comment: (2). Trackbacks:(108). Permalink
New Plug-in: PloGeSHi
Dflying | 25 February, 2006 01:06
GeSHi means Generic Syntax Highlighter, aims to be a simple but powerful highlighting class, with the following goals:
- Support for a wide range of popular languages
- Easy to add a new language for highlighting
- Highly customisable output formats.
More details please check out at: http://qbnz.com/highlighter/
This plug-in ports powerful PloGeSHi to LifeType, you may enable it from Manage -> PloGeSHi in admin page.
Here PloGeSHi support following lauguages' highlighting: Actionscript, ASM, ASP, Bash, C, C#, C++, CSS, Delphi, HTML, Java, Javascript, Lisp, Objective C, Pascal, Perl, PHP, Python, Smarty, SQL, VB.NET, Visual BASIC and XML.
Examples: ...
(More)Posted in LifeType . Comment: (0). Trackbacks:(191). Permalink
New Plug-in: Template Editor
Dflying | 24 February, 2006 20:21
LifeType supports user defined templates to customize the look and feel of your blog, but it only provide basic upload/delete functionalities which will bring end users inconvenience for later changing or small modifications. This plug-in is used for editing templates online without needing to access the host.
Template Editor for LifeType is designed by Mark Wu. Please visit this wiki page for more details:
Follow the guide below to use Template Editor in your blog…
(More)Posted in LifeType . Comment: (2). Trackbacks:(103). Permalink
Introduction to This Blog System (LifeType)
Dflying | 23 February, 2006 18:28
LifeType is an open-source blogging platform with support for multiple blogs and users in a single installation. Current instance is based on LifeType. Later some useful plugins will be online.
Following excellent features made me choose this...
(More)Posted in LifeType . Comment: (0). Trackbacks:(2514). Permalink
Added Blog Templates
Dflying | 21 February, 2006 21:32
Pick you like via Control Center -> Settings -> Blog Settings
More features (plugins) are coming soon...
Posted in LifeType . Comment: (466). Trackbacks:(250). Permalink




