Archive for the ‘Text Tutorials’ Category

Creating a Wordpress plugin

The plugin that I'm going to show you how to create within this post is a plugin that I created for MakeUseOf.

Creating plugins for WP is relatively easy and uses actions to call functions that are included in pages within the main WP files. To learn more about creating plugins for WP go here.

Ok so lets get started with creating the plugin.

When creating a plugin for WP make sure that you include your own unique word or acronym to your functions so that they don't conflict with any other plugins that may be installed.

Because I created this for MakeUseOf the acronym I use is MUO and then AF because I named the plugin author footer so every function within this plugin begins with MUO_AF.
(more...)

PHP One Line IF Statement

I'm sure if you've been programming for a few years that you've come across when you need to check if something equals something than do something else a few times.

Well the best way to do this is like so.

Say for example we have a variable called $num and the value of it is 5.
(more...)

PHP News System Part 4

If you haven't checked out the previous tutorials then click on the names to view them. Part 1, Part 2, Part3.

In Part 4 of this tutorial you are going to learn how to edit and delete your posts from the admin page.
(more...)

Timers in Actionscript 3

I'm writing this tutorial for someone who posted a comment on Basic Actionscript 3 Game Part 1 called sstng so if you would like to know how to do a certain thing in a language then feel free to post a comment and ask.

Timers in Actionscript 3 are really simple and easy to use and understand.

Sstng wanted to know how to create a timer that is triggered after 100 seconds.

(more...)

Sending Email With PHP

Email is used by most people that use the internet and is good for sending activation codes and notifications to users when you have a website.

To send an email you use the mail() function and it requires 3 parameters.

(more...)

Retrieving an RSS Feed in PHP

RSS Feeds are widely used throughout the internet today and on all kinds of websites. From websites like Digg to most blogs. If you want to display an RSS feed on your website its probably easier than you think.

For this example I'm going to show you how to display the RSS feed for The Tutorial Blog using PHP.

(more...)

PHP News System Part 3

If you haven't already viewed part 1 and part 2 then view them if you're new to PHP.

In part 3 of this tutorial you will learn how to display your posts, edit and delete them.
(more...)

PHP News System Part 2

If you haven't already seen part 1 of this tutorial then watch it here.

For the second part of this tutorial you will learn how to create a cookie to log the admin user in and create the tables for your news system.

(more...)

Basic Actionscript 3 Game Part 1

A video tutorial showing how to create a basic game using Actionscript 3.
(more...)