Archive for the 'Code' Category

Notovanus Beta 2

It’s here guys! Beta 2 is ready for launch. Beta 1 is still the surefire way to go for stability but Beta 2 is premiering around the… country/world? It’s sitting on its own virtual dedicated server! (512 mb ram + 40 GB HD + 200 GB Bandwidth **QUAD CORE INTEL**) Its pretty sick!

I’ve been working on Notovanus for ages now and I’m beginning to like it as a project. I’ve learned crazy things about PHP and CGI I would never have dreamed possible. Beta 2 is coming with a bunch of awesome new functions as well as some jazz-add content. AJAX scripting and colors are also coming in to play this time around!

Beta 3 will welcome in the final beta stage and after that its Omega 1 stage (that’s my own private level of awesome stage). But lets not get too ahead of our selves here: Beta 2 will have a twitter manager the SMS system will start working and you will be able to buy sms-groups as well as manage contacts and contact groups. The CDN log and CDN settings will start to work for all Easy hosters.

With Beta 2 within just 48 hours of launch on its new URL (https://controlcenter.beaconsfieldit.net/) Beta 1 has now changed to Release Version 1.

For those who aren’t all that keen on unstable software you can check out the first release version here! There’s also a quick run through of release version 1 below.

Get the Flash Player to see this content.

Really Basic ToDo List

zipI needed a ToDo list so I made a really basic VB.net one. It will probably never be updated, nor fixed. But there it is. It should be virus free, I just scanned it with McAfee (ahh McAfee). It is avaliable under the BSD license, If you want sourcecode please feel free to contact me.

Known Issues:

  • Checkboxes delete todo items, not hide them.
  • Clear all button does not work
  • Does not save lists to disk

An Interesting Problem

Interesting Problem

Interesting Problem

Small problem I’ve recently encountered, Having auto loads of pages is all very well and good, but when it forgets to load style sheets and JavaScript that’s quite an annoying problem.

The ideal thing to happen here, would be that all style sheets etc would be preloaded, But unfortunately using the <pre> tags is clearly limiting.

I will now proceed to find a way to force-load all style sheets on the first page, If that’s possible!

I will post the solution (if I find one) a little later.

*Update – Not a simple solution, Yet*

*Update – Thinking about a simple PHP solution to this problem*

Clearly that hasn’t worked. I couldnt care less to be honest.

I’ve had it with templates!

Ive had it with ALL templates! K2 is still legendary.

This is one example of how BAD they look when you try and format them. [This site is created by a client. Not myself.]

failI do all the codebase for there website, Including the surveys, But this template is the worst I’ve ever seen, Its badly formatted and just generally ugly-rendering.

Thickbox Onload

Get the Flash Player to see this content.

These are the neccesary files that you will need to make this project work.

  1. Thickbox Javascript
  2. Thickbox Stylesheet
  3. Thickbox Loading Animation
  4. Thickbox Mac Background Hack
  5. Jquery
  6. OR: Download my demo version

Add this to the .TBoverlayMacFBBGhack style.

.TB_overlayMacFFBGHack {background: url(../images/macFFBgHack.png) repeat;}

Edit thickbox.js and replace this.

var tb_pathToImage = "../images/loadingAnimation.gif";

Then you need to create/edit your index page and add the following lines (Removing the space between the < and first letter.)

< script type="text/javascript" src="scripts/jquery.js">
< script type="text/javascript" src="scripts/thickbox.js"> < link rel="stylesheet" href="stylesheet/thickbox.css" type="text/css" media="screen">

This javascript will make an inline thickbox open on page load

$(document).ready(function(){
tb_show("Food", "#TB_inline?height=300&width=500&inlineId=testdiv", "");
});