Archive for the 'Web Development' Category

Essential Wordpress Plugins

404 Notifier helps you identify any broken links in your site. Great if you move posts around and need to update links. Note it only works with pretty permalinks (2006/12/30/post-name), not ugly (?p123) ones.
Redirection Manage 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. This is [...]

  • Share/Bookmark

Migrating your Wordpress Blog

I needed to migrate a Wordpress blog from one webhost to another. After installing Wordpress 2.5.3 on the new host, I looked around for some way of getting the content moved over. The recommended method was to import the content from a WXR file (WordPress eXtended RSS). However, the old host was running Wordpress 1.5 [...]

  • Share/Bookmark

Best Web 2.0 Web Sites

Real World Software Development has a comprehensive list of web 2.0 web sites including bookmarking sites, social communities, email, image and video sharing, and the list is getting longer.
One application that has been omitted from all the lists I’ve seen so far is Outlook Web Access from Microsoft. Sure, it needs a Microsoft Exchange server [...]

  • Share/Bookmark

Playing with Ruby

If you’d like to give Ruby a go, heres a quick tutorial on how to get it up and running on your PC.
First off, you have a choice of two development environments:

Instant Rails, the command line environment, or
RadRails, the Eclipse based IDE (Integrated Development Environment).

  • Share/Bookmark

Best Web 2.0 Web Sites

Real World Software Development has a comprehensive list of web 2.0 web sites including bookmarking sites, social communities, email, image and video sharing, and the list is getting longer.
One application that has been omitted from all the lists I’ve seen so far is Outlook Web Access from Microsoft. Sure, it needs a Microsoft Exchange [...]

  • Share/Bookmark

Fix for StatTraq Calendar bugs

The StatTraq plugin for Wordpress has a bug where the Year and Month time periods are not displayed correctly. Here is a fix for the problem.
Download calendar_php.zip. Extract calendar.php from the file and copy it into your \wp-stattraq folder, replacing the file that already exists there.
Now when you check your StatTraq statistics, you will be [...]

  • Share/Bookmark

Add StatTraq to your WordPress Dashboard

StatTraq is one of the better statistics for Wordpress blogs. Unfortunately Randy Peterman is no longer maintaining it, but Adsworth have patched a version which will run under Wordpress v1.5 and 2.0 as well as fixing a couple of bugs.
I often forget the url to view my StatTraq statistics so I wanted to add a link [...]

  • Share/Bookmark

Anti-Phishing

The Washington Post describes one technique that e-gold is using to reduce the likelihood of phishing. It involves displaying images reading “THIS IS A FRAUDULENT WEB SITE” when the image is linked to by any site not included in a whitelist of sites permitted to use those images.
While this method is not infallible, anything that [...]

  • Share/Bookmark

Cool WordPress Plugins

Some very cool WordPress plugins to spice up your blog.

  • Share/Bookmark

Moblogging with Wordpress 2.0

The default wp-mail.php file doesnt support attached images or files, at least in the v2.0 R133 version of Wordpress I’m using now. It takes a bit of work, but it is possible! Heres how…

  • Share/Bookmark

Customizing Wordpress

I’ve been keeping notes while I am setting up Wordpress. What I really want is to be able to post by email from my phone. Its been difficult, but it looks like its just about starting to work.
The hard part was getting a mail plugin to work with Wordpress v2.0.

  • Share/Bookmark

Installing Postie for Wordpress

I’ve been keeping notes while setting up Wordpress on my PC at home. What I really want is to be able to moblog – post articles from my phone. Its been difficult, but it looks like its just about starting to work. The hard part is getting the Postie mail plugin to work with Wordpress [...]

  • Share/Bookmark

Software Development Tools

Some interesting new development tools and platforms are available these days.
Microsoft is providing beta versions of its Visual Studio 2005
Mono is an open source IDE for developing .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. from http://www.mono-project.com/
Grasshopper is a Visual Studio .NET plug-in which enables you to use C# [...]

  • Share/Bookmark

File Storage Sites

When email limits the size of files you want to send to someone, try one of these file transfer websites.

http://www.filesend.to 5 files, 100MB, 5 downloads, 3 days retention
http://okurin.bitpark.co.jp/ 250MB, 10 downloads, 5 days retention
www.filebank.co.jp 10 files, 100MB, 5 downloads, 3days retention
www.fileocool.com 100MB per file, 5 downloads, 7 days retention
www.datadeliver.net 10 files at a time, 100MB, [...]

  • Share/Bookmark

Open Internet Explorer from MS-Access

Database Journal shows how to open a web page from inside MSAccess.
Public Function UpdateOrderInfoWebSite() As Long
On Error Resume Next
Dim objDoc As SHDocVw.InternetExplorer
Dim sURL As String
Dim lOrderID As Long
lOrderID = Forms!frmOrder!txtOrderID
Const cURL As String =”http://localhost/Orders/Process.asp”
sURL = cURL & “?ID=” & lOrderID
[...]

  • Share/Bookmark

WinLIKE Web Window Manager 0.8

WinLIKE is the first professional Window-Manager for Web browsers. With WinLIKE, Web applications, Web sites, and portals can contain little windows – like you are used to from your desktop. WinLIKE is based of DHTML and is only 25 KB big. It works without any plug-ins in the Microsoft Internet Explorer 5.5 and Netscape Navigator [...]

  • Share/Bookmark

Internet Connections

Test your network connection speed at http://www.broadbandreports.com/stest?more=1
I got a disappointing 664kbps from my 8Mbps ADSL line.

  • Share/Bookmark

php file upload

How to upload files to your blog

http://jp.php.net/features.file-upload

  • Share/Bookmark

Installing PHP and MySQL

Run httpd with

/etc/rc.d/init.d/httpd start
Create a test file /var/www/html/test.php containing the following line

Use a web browser to browse to http://localhost/test.php
If PHP is working, this should display your settings.
Sincxe RedHat7.2 on uses PostgreSQL instead of MySQL you will have to change a number of settings.
Note in particular that the default PHP is not installed with MySQL support.
PHP-Nuke [...]

  • Share/Bookmark

PostgreSQL

RedHat has switched from MySQL to PostgreSQL which is a more advanced DB server supporting stored procedures and functions. The PostgreSQL site is at http://www.postgresql.org/

I have the following rpms on my system:

postgresql-7.1.3-2
postgresql-devel-7.1.3-2
postgresql-libs-7.1.3-2
postgresql-server-7.1.3-2
php-pgsql-4.0.6-7

If you want to install from source try the following, but the install paths will be different.

./configure gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su [...]

  • Share/Bookmark

Installing PhpNuke on Windows XP

For a full package see Foxserv-3.1 at Sourceforge
MySqlFront is a useful Windows frontend for MySQL http://www.sstienemann.de/mysqlfront/
For users to register in your PHP-Nuke site, you’ll need an smtp server. Theres one in WinXp or you can try http://www.argosoft.com/applications/mailserver/
Requirements
Download the latest versions of the following software.

Apache (try IIS?) http://www.apache.org/
MySQL http://www.mysql.com/
PHP http://www.php.net/
PhpNuke http://phpnuke.org/

Installation
MySQL
Use WinZip to install MySQL. Install [...]

  • Share/Bookmark

Installing PhpNuke on ciHost

It was easier than I thought to set up phpNuke on ciHost.

First go to your sites Monstercontrol at yourdomain/cgi-bin/monstercontrols
Login with your website username and password
Click on Script Archive
Note the “Add MySql database” button at the top of the page.
Check the box beside PhpNuke then click the Install button at the bottom of the page.
Done, now [...]

  • Share/Bookmark

Wysiwyg editor

The new version of wysiwyg editor for PhpNuke 6.0 looks really nice. Its installed and working now.

I eventually figured out why this homepage wasnt loading properly. Turned out to be a bug in the World Weather module which wasnt reading enough data from the cache file. I just added 100 bytes to the fread function.
  $content [...]

  • Share/Bookmark

Random Photo Module for Gallery

It took a while to get the Gallery random photo block to work properly with PhpNuke. Most of the solutions are in the Gallery forums… if you look carefully. Heres how I did it… The first error (and also the most commonly asked question on the forum) has to do with the rand() function. The [...]

  • Share/Bookmark

Domain Name Hijacked

My domain, mortell.com, was taken over by some Asian firm. I missed the email from Network Solutions reminding me to pay the yearly fee. I must have deleted it among all the spam I get daily. I registered dmortell.com and moved my website here.

  • Share/Bookmark