Jump to content


Starting from Scratch



Photo

Member related hooking

Posted by rct2·com, 02 October 2009 - - - - - - · 135 views

The mod I am rewriting is an upload/download system. In the mod, any board member can upload and/or download.

One of things I wanted to do with was provide as many links as possible to a member's uploads. I noticed that the IPS mods have links in 5 places. There may be more. If there are, let me know. :)

1. In the top 20 posters you can see links to...


Photo

open_basedir and virtual hosts in PLESK

Posted by rct2·com, 28 September 2009 - - - - - - · 284 views

My mod relies on calling a command line executable. I keep this off the main website folder path to protect it.

But this means that the default PHP open_basedir restriction won't let it run.

The normal way of solving this on a LINUX server is to edit /etc/httpd.conf but in my PLESK environment, it's much more complicated.

Having blogged in the...


Photo

Hello World! - An IPB.Board 3 mod - Part 4

Posted by rct2·com, 05 September 2009 - * * * * * · 470 views

Now that the structure of my application is correct, it's time to 'personalise' it. Instead of just redisplaying the calendar application, I want to replace that with my own skin, my own language, and (of course) my own code.

The function that runs in the hellosec.php file is the function called doExecute. The function that is...


Photo

Hello World! - An IPB.Board 3 mod - Part 3

Posted by rct2·com, 05 September 2009 - * * * * * · 397 views

That white screen of death points the way for what needs to be done to get this Hello World! application working, and to work quickly so there are no similar problems with dual naming of things. I guess that's one of the problems with copying an existing application and using it as the starting point.

The...


Photo

The white screen of death (between part 2 and part 3)

Posted by rct2·com, 05 September 2009 - - - - - - · 300 views

After a few hours rest I've come back to my PC to write the next blog entry about producing the Hello World! application. I switch on my PC and server, load up the IP.Board home page and ...

Nothing. Completely blank white screen, no HTML source generated. :( AdminCP works fine, so what's gone wrong?

I don't remember editing any skin...


Photo

Hello World! - An IPB.Board 3 mod - Part 2

Posted by rct2·com, 04 September 2009 - * * * * * · 258 views

The folder structure, and mandatory filenames within some of those folders mean that it's worth taking an existing application, copying it, and then starting to rename things. And that's exactly what I decided to do. I chose the calendar application and copied all the files from /admin/applications_addon/ips/calendar to...


Photo

Hello World! - An IPB.Board 3 mod - Part 1

Posted by rct2·com, 04 September 2009 - * * * * * · 393 views

Here's my notes for building the framework for an IP.Board v3 (3.0.3) mod. All it's going to do is display the text 'Hello World!'. But it will use a new skin and a language file to do this.

If I continue to call this a 'mod' it is going to cause confusion (for reasons that will become apparent), so from this point forward,...


Photo

Preparing IP.Board for modding

Posted by rct2·com, 04 September 2009 - - - - - - · 87 views

Now the board is installed there's a few steps needed to get it ready for beginning to mod.

First, unless you have a separate license for this version of IP.Board, you really ought to disable registrations to stop people form joining it and making it into a 'live' board. Personally, I also take it offline to stop people from viewing what is...


Photo

PLESK to the rescue - server good to go

Posted by rct2·com, 04 September 2009 - - - - - - · 232 views

That ought to have been simpler.


I installed CentOS 5.3 absolute minimal install from the DVD rebooted, and logged in.
I tried wget http://download1.par...s_CentOS_5_i386 and was told wget was not installed
yum install wget solved that problem so I...


Photo

The 'Perfect Server'? I think not

Posted by rct2·com, 02 September 2009 - - - - - - · 83 views

Hmm, although the link in the previous blog entry claims to have a HOWTO for the 'Perfect Server', the instructions don't actually work as they refer to a customised package that is no longer available, and I cannot find a suitable alternative.

So Plan B is to go back to an evaluation PLESK as my Control Panel. I have the steps for building a...






May 2012

S M T W T F S
  12345
6789101112
13141516171819
20 21 2223242526
2728293031  

Search My Blog

Latest Visitors