Website Development


The Difference Between The Different Files of WordPress 2.6.5 and 2.7

Monday, January 12th, 2009

I found that people were looking for the differences in the files and directories of WordPress 2.7 compared to WordPress 2.6.5.

I had the same thought when I was thinking about upgrading WordPress 2.6.5 and then eventually realised that I did not make any changes to the core WordPress files but only to the template files.

So, for those of you have you have developed the core WordPress 2.6.5 files, I have a list of changes between WordPress 2.6.5 and 2.7 which you may find useful for your upgrade.

Click here to see the list.

How to Send an Email Using a PHP Post Form

Friday, January 9th, 2009

I was looking at the access stats for Set Forever the other day and noticed that people are looking for “PHP POST FORM” on search engines.

So I thought I’d write a simple PHP POST FORM using only one PHP file and which sends an email using sendmail.

Read the rest of this Post »

How to Add More Zones to Zone Rates in osCommerce 2.2rca

Friday, December 19th, 2008

If you’re using the Zone Rates shipping mehtod then you will notice that there is onyl one zone and associated rate of charges for that zone.

I was developing an osCommercs site for GD Tech UK and they had one set of delivery rates for the UK and another set of rates for the rest of Europe.

With the default zone settings I could only set the rates for the UK or for the rest of Europe, but not both.

You can add more zones by simply changing one number in the following zones.php file.

Click here to find out how.

Internet Explorer 8 Beta 2 Bug With Text Fields

Thursday, December 18th, 2008

I downloaded Internet Explorer 8 Beta 2 (IE8 b2) this morning and just started to edit some blog content on Set Forever and noticed that the text started to overflow to the right of the textarea used for editing content in WordPress 2.7.

So, I tried it with Mozilla Firefox 3.0.4 and everything seems OK.

Read the rest of this Post »

Zone Rates Based On Order Total for osCommerce 2.2rca

Wednesday, December 17th, 2008

By default, the only zone rate calculaions that can be done with OSC 2.2rca is by total weight of order.

I thought I could find a contribution on OSC site to do zone rate calculations by TOTAL ORDER PRICE but I couldn’t so I wrote my own.

There are 2 files that you need, both called zones.php and they need to be put into specific directories replacing the existing zones.php files that exist in the appropriate directories.

Click here for more information.

bbPress v0.9.0.2: How To Add Login/Register or Reply Link Under Each Posted Message

Wednesday, December 17th, 2008

Grant, one of the Set Forever forum contributors, asked for a Reply link under each posted message.

I believe that this was a very good suggestion as it was not obvious how to reply to a message especially when a Topic had many posted messages spanning multiple pages where the reply form was on the last page. If you did not know this then you could wonder where the reply form was.

 

I took the suggestion a little step further by creating a dynamic link which has links to LOGIN & REGISTER if you are not logged in, or a link to REPLY which takes you to the reply form on the last page no matter what page if the topic you are reading, if you are logged in.

Click here for more information.

bbPress v0.9.0.2: How To Add a Link To The Latest Posted Reply/ Message In A Topic

Wednesday, December 17th, 2008

Sometimes forum topics are so interesting that they get many replies and bbPress v0.9.0.2 does not have any links to the latest reply when you go to a topic.

So I created one as you will see when you go to any of the topics in the Set Forever forum.

 

bbPress comes with the default Kakumei theme in which you only need to change the one topic.php file.

Click for instructions.