Tuesday, October 03, 2006

Over a month!

Damn! I've left it a while again to update the blog...
Well, i've managed to update the website with a few new bits and pieces. below is a run down..
1. As mentioned in the previous post, a Digg-like vote box.
2. A popup box for the coverart on the sleeve page. This uses the 'ibox' (http://www.ibegin.com/blog/p_ibox.html)
3. A popup box for a new comments system. this uses the 'ibox' too.
4. I've removed the thickbox for preference on the 'litebox' because its smaller footprint, speed and usability. (http://www.doknowevil.net/litebox/)
5. The 'register here' image on the bottom bar has been replaced for a clickable image that goes to the register page.
6. A new register page has been created but is not been implemented yet.
7. Page links have been added to the shelf page so you can jump to any page instantly. this also uses AJAX.
8. Concept image has been drawn of the register 'clipboard' page.
 
So! I haven't been lazy... (well, ok, a little bit.) but the site is coming along nicely... I'm concentrating on the registration part of the site at the moment. This is going to be quite complicated because I need to implement some method of being able to submit your tracks for approval... (give it a holding status... i.e. Submitted, Reviewing, Approved, Declined)
I also need to start thinking about the Avatar image upload scripts... i'll dive into my PHP book for help on this.
 
Sweet!

Tuesday, August 29, 2006

The Digg effect.

Hallo!
I've successfully added a Digg-like vote box onto every product page. This little baby adds an entry into a new 'voting' table which keeps track of who has voted and who has not. it also uses AJAX, so its all done instantly. Each user can only vote for a product once and only once.
Cool!
see digg.com to see what i'm talking about.

Sunday, August 27, 2006

Update.

Blimey. Its been over a month already since my last update! I've done a few bits and bobs to the site, and its coming along nicely. Below is a quick list of things that I've being doing...
 
1. Built a webserver.
I decided to use an Ubuntu LAMP server for this in the end. The reason for this is because it is based on the debian system, which implements the amazing apt-get application. It is also easy to install and very secure from the beginning. I used the tutorial by the howtoforge.com website. check it out here: tutorial
 
2. Implemented PAYPAL.
I have been looking at both Paypal and the new Google checkout solutions for the payment scheme and decided to go with the paypal route since google only allows US payments only! cop out! The integration is proved quite difficult because i'm doing digital downloads which need to remain secure.
 
Thats it really, but these were two big stages of the website that needed doing...
 
I have to look at the security side of the paypal part a little bit more, but it seems to be working fine. I'm going to concentrate on the DIGG-like voting system for each track next. I also have to implement a tracking system for the paypal purchases.
 

Wednesday, July 19, 2006

Pure CSS Rounded-edge boxes, drop shadows and post-it notes.

Afternoon.
Today i've been sitting at work bored as hell in the sweaty covent garden heat and thought i'd start playing around with some CSS to keep myself occupied. A couple hours later and I've created three funky CSS stylesheets to share with my fellow Internet designers and developers. The three stylesheets i've created are the following:

1. Pure CSS Round-cornered box.
I thought i'd have a crack at making a CSS-only round cornered box. The concept is quite simple actually... I use four bullet-point characters ampersand+hash+183 (·)
(& # 183)
to create the corners, and overlap a couple boxes to fill in the middle. Simple! it's not very scalable and uses absolute-positioning, but maybe somone could make a better version... anyway, here we go...

The HTML File "test.html":

<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="rounded">
<div id="cornertl">·</div>
<div id="cornertr">·</div>
<div id="cornerbl">·</div>
<div id="cornerbr">·</div>
<div id="middle"><div id="text">test</div></div>
</div>
</body>
</html>


Next up is the actual CSS File "style.css":

#cornertl{
font-family: times;
font-size: 110px;
color: #DDDDDD;
position: absolute;
left: 0em;
top: -0.5em;
}

#cornertr{
font-family: times;
font-size: 110px;
color: #DDDDDD;
position: absolute;
left: 0.89em;
top: -0.5em;
}

#cornerbl{
font-family: times;
font-size: 110px;
color: #DDDDDD;
position: absolute;
left: 0em;
top: 0.5em;
}

#cornerbr{
font-family: times;
font-size: 110px;
color: #DDDDDD;
position: absolute;
left: 0.89em;
top: 0.5em;
}

#rounded{
font-family: times;
font-size: 110px;
background-color: #DDDDDD;
width: 1em;
height: 1em;
}

#middle{
font-family: times;
font-size: 110px;
background-color: #DDDDDD;
width: 0.89em ;
height: 1.11em;
position: absolute;
left: 0.13em;
top: 0.03em;
}

#text{
font-family: verdana;
font-size: 10px;
}

Thats it! you should now have a grey box in the top-left corner of the screen when you open the HTML file.


2. Pure CSS Drop-Shadow.
I wanted to create a Digg-style digg box that has the rating of a story in it... I also wanted to create a simple drop-shadow effect that was scalable. (So when the text size is increased/decreased it still looks correct. Anyway, I managed to do it and you can see the code here (I know it uses a table, but I couldn't get it to scale properly any other way!):

The HTML File:

<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table class="box">
<tr><td>
<div class="shadow4">
<div class="shadow3">
<div class="shadow2">
<div class="shadow1">
<div class="rating">9999</div>
<span class="websiterating">vote!</span>
</div>
</div>
</div>
</div>
</td></tr>
</table>
</body>
</html>


The CSS File:

.box{
width: 4em;
height: 20px;
}

.shadow1{
border: 1px solid #555555;
background-color: #DDFFBB;
width: 3em;
height: 3em;
}

.shadow2{
border-right: 1px solid #666666;
border-bottom: 1px solid #666666;
background-color: #666666;
width: 3.05em;
height: 3.05em;
}

.shadow3{
border-right: 1px solid #999999;
border-bottom: 1px solid #999999;
background-color: #999999;
width: 3.1em;
height: 3.1em;
}

.shadow4{
border-right: 1px solid #BBBBBB;
border-bottom: 1px solid #BBBBBB;
background-color: #BBBBBB;
width: 3.15em;
height: 3.16em;
}

.rating{
background-color: #99CC66;
border: 0px;
padding: 0.28em;
padding-top: 0.5em;
padding-bottom: 0.5em;
font-family: sans-serif;
font-size: 1em;
text-align: center;
color: #444444;
float: center;
}

.websiterating{
font-family: sans-serif;
font-size: 10px;
text-align: center;
color: #666666;
float: right;
padding-right: 2px;
}

You shold have a green 'Vote' Box with a nice CSS drop-shadow that grows and reduces with the Text size! cool...

And Finally:



3. A simple Post-it note... (This was my first one, so it sucks a little)

TTHE HTML FILE:

<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="Postit"><span>This is a postit note 1!</span></div>
</body>
</html>

THE CSS FILE 'style.css':

.Postit{
width: 30%;

background-color: #FFFFB3;
border-right: 3px solid #BBBBBB;
border-bottom: 3px solid #BBBBBB;
border-left: 1px solid #DDDDDD;
border-top: 1px solid #DDDDDD;
font-family: sans-serif;
font-size: 10px;
color: #666666;
padding: 5px;
margin: 5px;
float: left;
}

Simple!
Anyway, I hope that someone might find these useful... I'm going to use them on my website project, but its not copy-righted code so take it, rewrite it, do what you wish with it, I don't really mind!

Have fun!

Wednesday, July 12, 2006

Tooltips and PlayPoints.

Last night I managed to sort out most of the 'Play Points' system that allows a customer to collect these points everytime they make a purchase. Once enough points have been collected they can use them to purchase more tracks!
The Sleeve page has a cool yellow price-tag star on it that shows how many points you earn when you purchase each track. (unitprice * 100).

The other little job I completed was to incorporate a tooltip when you hover over the country-code. the Tooltip will then bring up the name of that country! A little detail that helps the experience of bplayd.com!

I need to start thinking of a metaphor for the download page... maybe a computer screen or an album tracklisting-type thing... or a stack of CD's maybe... i'll have to have a think.

Tuesday, July 11, 2006

Today.

I've been severly lacking with the website lately... I think its lack of motivation, but I've promised myself to start back into development of it again. I've decided to change the name from Whirled Sounds to bplayd.com (Be Played) Which is suggesting the customer to get their tracks played! It's very "Web 2.0"-like too. I'm not trying to jump on a bandwagon, but you have to recognise the power of trends.
I also think it would be interesting to incorporate a non-commercial creative commons license option for everyone who puts their track onto the website. I'm also planning to get the following people involved in the opening of the site...
DJ 2Tall,
Eclectic Breaks,
LowDeep and Colourful State,
Ian Fahy who's a talented Indie/R&B Singer,
1 or 2 other contacts and friends that are artists / producers.

The other issue is the usage of a 3rd party payment company... I've obviously got the option to use Paypal, but the new Google solution 'GBuy' has been released and is cheaper to use. Maybe its time to try a better company than ebay. (I've heard so many problems regarding paypal) hopefully if I start with GBuy from the beginning then it'll be a lot better.

I've got to work on the payment system next, and its probably the most difficult stage of the development. I'm hoping that once the payment system is done I can start work on doing-up the other pages of the site... I really want to incorporate a Digg-esque counter for every track available on the site to gauge the popularity of everything.

Wednesday, July 05, 2006

New Lightbox... LiteBox!

http://www.doknowevil.net/litebox/