Alex (SirShurf) Frenkel's Blog

A web log of a PHP professional

Posts Tagged ‘development

WPMU Ultimate Facebook Addon plugin Upgraded to version 0.3

with 2 comments

Well as stated in the topic, I have updated the WPMU Ultimate Facebook plugin Fix to version 0.3.

This is a maintenance only version since it’s only fixing posting description with a quotes (single quote to be exact).

You can download the plugin from: http://wordpress.org/extend/plugins/wpmu-dev-facebook-addon/

And you can get the plugin from: WPMUDev.org

 

Written by Alex (Shurf) Frenkel

March 12, 2012 at 7:05 pm

WPMU Infinite SEO plugin fix

with 7 comments

As you where able to see from my previous post’s I was quite made at some of the development decisions of WPMU stuff and I was stuck with a problem that was not possible (at least I did not know how) to fix.

Well I fixed it and here is the result.
My new plugin was approved by wordpress.org and can be downloaded here: http://wordpress.org/extend/plugins/wpmu-dev-seo-addon/

This plugin fix multibite problems with the description and fixes usage of caption.

Comments are welcomed.

Written by Alex (Shurf) Frenkel

February 22, 2012 at 10:41 pm

WPMU Ultimate Facebook plugin Fix

with one comment

In addition to this post:Problem with UTF, Excepts — AND GOOD CODING PRACTICES!

I have created a fix to Ultimate Facebook:
This fix address next things:
* Facebook OpenGraph fails if the text in description is incorrect – especially in Hebrew
* Current version of the plugin sends in wall post description blog tag line. In my fix I am sending Excerpts.

The plugin can be downloaded at wordpres.org.

http://wordpress.org/extend/plugins/wpmu-dev-facebook-addon/

Written by Alex (Shurf) Frenkel

February 20, 2012 at 9:42 pm

WPMU MarketPress and “Comments are closed” – or a new WordPress plugin

with 3 comments

Laitly I desided to try and to move form Magento to a something simplier.

Since I had an account on WPMU I desided on MarketPress, a plugin that adds eCommerce to WordPress, but came to a problem that I had a “Comments are closed” on the theme they provided (at first I desided no to make a custom theme)

Searching the forum gave me nothing usefull (except a notification that “it is planned”) so I desided to hack it a bit.

The conclution of this hack us a plugin that re enables a comment on a product listing: WPMU MarketPress Allow Comments

Well, have fun 🙂

Written by Alex (Shurf) Frenkel

February 6, 2012 at 10:36 pm

Zopim Live Chat Addon – WordPress Plugin – Updated

with 3 comments

One of the users of my Zopim Live Chat Addon, activated the addon before he activated the Zopim itself.

What it did was adding a submenu before the menu was created and as such it was not working.

I have added a code that is allways moving this plugin to be the last on the list.

Good luck.

Written by Alex (Shurf) Frenkel

January 12, 2012 at 1:36 am

Zopim Live Chat Addon – WordPress Plugin

with 4 comments

A few weeks ago I have found a nice chat that can be installed in a website.

I called a client that I think can be interested in and we tested the chat on the clients WordPress.

One of the thigs that was missing was an option to exclude special pages from the chat and from that a new plugin came up.

I give you the Zopim Live Chat Addon Plugin (Zopim Live Chat Addon – WordPress Plugin).

P.S. If you consider to get you a new Zopim Live Chat please use my reference for a referal: Zopim Free registration page

Written by Alex (Shurf) Frenkel

December 24, 2011 at 12:30 am

Gravity Forms Popup Widget ver. 0.2

leave a comment »

Per a couple of requests I have updated Gravity Forms Popup Widget to a version 0.2.

The changes in this version are:
* Updated to work with WordPress 3.3.
* Added an option to set a position for the window location on opening.

As a side note, by the help of Andy here is a working installation of the plugin:
http://gatehouserental.com/house-houses-4-bedroom-house-for-rent-in-sawtry-close-to-huntingdon/4053/

Thank you Andy for you link and for your feedback.

Written by Alex (Shurf) Frenkel

December 21, 2011 at 7:03 pm

Ubuntu 11.10 (Oneiric Ocelot) and MySQL Workbench gpl, fix plus deb repository

with 3 comments

Since the install of Ubuntu 11.10 (Oneiric Ocelot) my MySQL Workbench was mostly unusable. I could not open it normally and Query Browser was not accessible. Finally a few days ago a patch was summited to the MySQL forum, but it was for a self compile version only.

Today I found a debian repository that maintains MySQL Workbench gpl and the fix is already implemented there. In order to update it use next commands:

sudo add-apt-repository ppa:olivier-berten/misc
sudo apt-get update
sudo apt-get install mysql-workbench-gpl

Now we have a debian repository for MySQL Workbench and a version that will work on Ubuntu 11.10 (Oneiric Ocelot)

Written by Alex (Shurf) Frenkel

November 7, 2011 at 9:46 am

jQGrid with Zend Framework Updated

with 9 comments

Recently I had some time to update the fork I have of the jQGrid encapsulation for Zend Framework.

Among the things updated is:
* Support for jQGrid 4.1.
* Support for methods in options.
* 2 new decorators
* New special decorator, a multi select element on grid search.
* Support for advanced search

And many more…
You can locate the code at my GitHub:

If you dont use jQGrid it is an Ajax-enabled JavaScript control that provides solutions for representing and manipulating tabular data on the web.

Written by Alex (Shurf) Frenkel

August 22, 2011 at 7:19 pm

How to use Zend-Framework-PDF-Table-Helper

with 10 comments

Here is the example of how to user ZendFramework PDF-Table-Helper.

You can get the code from GitHub here:

One of the prerequisites is that you mast have the zf_autoloader on and configured since I am relaying on it to auto load files.

first you have to in instantiate the class:

$pdf = new SirShurf_Pdf_TableSet ();

You can instantiate it with a Zend_PDF object and without it, in which case it will be created for you, but if you are instantating with Zend_PDF you have to tell the system on what page you are working (Default is page 0).

Now what you need it to initialise a Table you are going to work with:
$objTableRow = $table->addRow ();

Each table can have his own number of columns and settings.
Each table can have a different number of rows a row can be added using this method:

And as with HTML a row has a number of cells (or columns):
$objTableRow->addCol ( $strCourseId, array (
'bold' => false, 'colspan' => 1, 'align' => 'center'
) );
$objTableRow->addCol ( Labadmin_Models_Static::convertHebrew ( $this->view->translate ( 'LBL_GRADE_FORM_COURSE_ID' ) ), array (
'bold' => false, 'colspan' => 1, 'align' => 'center', 'font' => 'arial.ttf', 'fontBold' => 'arialbd.ttf'
) );

The Cell can have each own definitions as the example here shows, and you can iterate over the data to create it.

And finally you can call render(); in order to render the changes to PDF, or build(‘fileName’) to save the finale PDF to a file.

$pdf->build ( $strGradeFileLocation . $intTimeStamp . ".grade.pdf" );

Written by Alex (Shurf) Frenkel

July 26, 2011 at 3:15 pm