Trung_PressZen 0.9.4

Posted on July 14, 2008
Filed Under OpenSource, Wordpress | 29 Comments

I have just review the code of my Zenphoto - Wordpress plugin. New version is availale on Wordpress Plugins Directory.

http://wordpress.org/extend/plugins/trung-presszen

For Zenphoto 1.1.7, there is no need to edit its code anymore, so ignore step 2 in my installation instruction.

I’m glad to have more feedback.

Trung

ExtJS : Radiogroup extension with validation

Posted on June 17, 2008
Filed Under ExtJS, OpenSource | 1 Comment

I have just pickup this extension by vtswingkid and adapted it with validation ability.

Please feel free to post bug report and comments.

For PhpExt Users : I’m gonna release a wrapper class for this as well.

Greets

Download :

radiogroup_trung-s_version

Trung_PressZen ver0.9

Posted on June 15, 2008
Filed Under Wordpress | 17 Comments

This is an extension for Wordpress to integrate ZenPhoto into your Wordpress installation. It required ZenPhoto installed on the same server and very easy to install (thanks to Wordpress easy plug-in system).

Update : 17-06-2008 : This plug-in is now in Wordpress repository

http://wordpress.org/extend/plugins/trung-presszen/

Change log :

  1. added trung_zenlatest widget
  2. fixed the absolute action in admin form

There is one minor conflict in 2 systems in gettext functions, you will have to modify 2 lines of code in Zenphoto to make this work. No danger at all.

Installation :

1. Download the zip file and extract to Wordpress plug-in directory.

2. Edit {ZENPHOTO}/zp-core/lib-gettext/gettext.inc

About line 33, replace

require('streams.php');
require('gettext.php');

with
if (!class_exists('StreamReader'))
{
require('streams.php');
}
if (!class_exists("gettext_reader"))
{
require('gettext.php');
}

and about line 190:

replace

function __($msgid) { return _gettext($msgid); }

with

if (!function_exists('__')) { function __($msgid) { return _gettext($msgid); } }

3. Go to wordpress admin page, activate the plug-in, then go to Trung_ZenPress Configuration under plug-in tab, fill in the required information .

There you go, ZenPhoto is resided in your wordpress page.

Download