Category Archives: Wordpress

wordTube 2.1 for WordPress 2.7

I take some time to prepare as well wordTube for WordPress 2.7. No big changes , only some admin UI updates and I added the statistic feature again (THX to Frederic de Ranter).

Here is the version until WordPress 2.7 will be released :

Download wordTube 2.1.0 RC2
Beta Version @ Google Code

Tagged ,

NextGEN Gallery v1.0.0 Beta 1 – Time to test

So let’s roll the ball. Here is now NextGEN Gallery V1.0.0 for WordPress 2.7-Beta 1. I would be very happy if some of you give me some feedback about it, it will speed up the stability. If you test this at your blog, please backup, backup, backup the database before… the tags will be merged with the WP tags and not longer available when you downgrade to a older version.

Some note about the new features : I will release in the next days more details about the most important addons, read the changelog in the meantime. Please be so kind and report new errors at my google code project, it would help me to track the failures in the test period.

One final note : The new ImageMagick isn’t very good tested, my hoster didn’t allow exec() and the local test system doesn’t gives the same result.

Tagged , ,

NextGEN Gallery V1.00 only for WordPress 2.7

The new Version of NextGEN Gallery is getting close, I finished up the last changes and will now polish up the final code. Yesterday WordPress announce the feature freeze and Admin Redesign for WordPress 2.7.

It’s a nice Admin Interface and I need to change again my own UI, so that it fit with this redesign. Therefore I decided to release the next version only in combination with WordPress 2.7. It makes no sense t keep backward compatibilities : If you didn’t want to upgrade to WordPress 2.7 , why should you upgrade then my plugins ?

Tagged ,

Chrome rocks…

I know Google tracks my searches…
I know Google scans my emails…
I know Google knows which adult pages I visit last week (ehhh…) 
I know Google knows what I like and what I hate…

BUT Chrome rocks !!! Thanks for this new way of browsing !

BTW : I uploaded a new Beta of wordTube. It contain now the new JW  Player 4.1 and some minor bugfixes. Please report issues at the GoogleCode page 

Tagged ,

wordTube 2.0

After a lot of work I finished the next version of wordTube. This new version is a great rework of the plugin, with a much better code base (THX to Alakahnor). Due to the fact that Jeroen Wijering release a new version of his great JW FLV Media Player, I take the chance to rebuild my plugin a little bit. This new media player version has some great new features which I can support now with wordTube 2.0 :

  • Skining the player (Not only colorized)
  • LongTail Ads support
  • Plugin support

If you already used the Media Player V3.xx you will miss a couple of features (statistic, callback routine, colors, MP3 equalizer). Please stay tuned Jeroen is already working on Version 4.1 and I will integrate these new features in the next time. (If you need those features , please do not upgrade right now, Version 1.60 is still good enough)

wordTube 2.0 has also some great new YouTube feature programmed by Alakhnor : When you entered a YouTube URL, this version will fetch automatic all the media title, description and tags. So you don’t need to enter them …

Here is a first demonstration

Please note : wordTube 2.0 require WordPress 2.6 and the JW FLV Media player 4.0, it doesn’t support earlier versions.

Download wordTube 2.0
Beta Version @ Google Code

Tagged , , , ,

The hassle with WP_CONTENT_URL and WP_PLUGIN_DIR

Since WordPress 2.6 it’s possible to move wp-content and the plugins path to a different location. Basically not a bad idea , except the situation that my plugins wordTube / NextGEN Gallery loads some XML/AJAX based “standalone” php files not via the admin page. This means I need to know the location of wp-load.php. In the past I can be sure that my plugin is located always below wp-content/plugins/<plugin name>. So it was easy to get the correct path to wp-load.php

Now this has changed and Ozh show up the new way in his article. In his discussion with GamerZ he added the note to the article :

However, as pointed out by GamerZ in the comments, this still may not work. Why? Because not only the config file may not be there anymore, but the relative path to it may have changed since wp-content might have been moved too.

At this point though, there is no way I can think of to guess the locations of both wp-config and wp-content. To be 100% foolproof, such a “standalone” file needing to include wp-config should be editable so that advanced users moving their wp-content directory could manually edit a location path (the $root variable in the previous example)

I’m currently thinking what would be the best solution. For a intermediate solution I will now add a “config” file where you can add “server path” to wp-load.php in the case you moved the plugin folders. The disadvantage of this solution is the automatic upgrade procedure, because every upgrade wipe out your changes (Mhh, would be not a good idea to have a way to exclude files from the upgrade procedure ??).

Anyway here is the code :

/** Define the server path to the file wp-config here,
if you placed WP-CONTENT outside the classic file structure */

$path  = ''; // It should be end with a trailing slash   

/** That's all, stop editing from here **/

if ( !defined('WP_LOAD_PATH') ) {

 // classic root path
 $classic_root = dirname(dirname(dirname(dirname(__FILE__)))).'/';
 
 if (file_exists( $classic_root . 'wp-load.php') )
  define( 'WP_LOAD_PATH', $classic_root);
 else
  if (file_exists( $path . 'wp-load.php') )
   define( 'WP_LOAD_PATH', $path);
  else
   exit("Could not find wp-load.php");
}

// let's load WordPress
require_once( WP_LOAD_PATH . 'wp-load.php');

I’m happy for any comments / ideas for a better solution….

Tagged , ,

Let's go WordPress 2.6

The new update for NextGEN Gallery is available. It only fixes minor things, no new features… It’s a required update for the upcoming WordPress 2.6 on Monday. Please note that WP 2.6 has the new feature to move wp-content outside the classic file structure, NextGEN currently didn’t support this feature !

If you have any seldom problem with the automatic upgrade procedure, please re-upload all files per FTP before you post a request at the forums (and only there please).

So, let’s start the countdown for iPhone 2.0 and WordPress 2.6… Have a nice weekend

Tagged , , ,

Real Estate with NextGEN Gallery

A new plugin called Great Real Estate is published and I’m glad to say that it supports NextGEN Gallery and wordTube. Great Real Estate brings content management of real estate listings to the WordPress community.

Agents can manage listings, input price and common data such as number of bedrooms and baths, and not worry about formatting each page. The plugin provides starter templates to display listings, and a sidebar widget for featured listings. Agents can enhance listings with a photo gallery, video, panorama photos, downloads, and a location map. The listings information is nicely formatted with a tabbed interface.

Download at wordpress.org

Tagged , , ,

Security issue or not ?

Before to many people starts writing that there is a security problem, I would like to give my statement . In the current version of NextGEN Gallery it’s possible to include javascript commands inside the description field (So called XSS vulnerability) as long as the user has admin access to  the blog . It was my intention to allow here HTML code and I see no security flaw unless somebody has access to your blog… but then he can enter also a javascript code inside a blog post or a page or do other bad things.

So is this now a problem or not ? It’s a simple thing to strip out any HTML code, but does somebody see a real security problem ? Should I disallow any HTML code for editors , auhors and admins ?

Tagged , ,

200.000

At the 22th Feb I posted a note that NextGEN reached the 100.000 downloads at wordpress.org, now 3,5 month later we enter the level 200.000. I’m very happy that after the release of WordPress 2.5 Gallery feature the interest is still there…

Currently the development is slowed down, but not stopped. I feel version 0.9x is still good enough that it can live for a while, so that I can refactor main parts, which are not well designed. Currently I’m creating the template pages for gallery and album so that everybody is able to create there own output.

I got the main idea from the great plugins of Urban Giraffe, which are IMHO the best pattern for a modern MVC based PHP plugin. I can strongly recommend every plugin author to have a look for the plugins structure.

Tagged , , ,