Celebritypwn.com feature and bug fix update

February 26, 2007 at 1:32 pm (site news)

I haven’t posted an update in awhile, but rest assured that there have been many improvements.  I have fixed at least 20 bugs on the site that I noticed.  Seems like every other day I spot a new one.  In any case, its better I find these bugs before the site gets more traffic and more users.  To just name a few:  changes css in various parts of the site, pages 2+ in profile history would not load, search listings were screwed up, fixed security check in submission form, many stat/vote fixes for celebs and users, many rss feed fixes.  . etc etc

As far as new features are concerned.  I added the celebrity of the month category.  Each month the top 10 celebs will reset while their all-time records will still be saved.  I modified the “who voted” part and it now shows who voted against the PWN in light pink.  After I added that I got to thinking, hmm, I wonder how often this becccca user votes pwns down.  So I decided to add a new stat for each registered user called “voting tendency”.  This is pretty self explanatory and shows the percentage of positive votes.  Yet another new feature is called “celebrity bios”.  On each celebrity’s Hot PWN page you will now see their biography tab with all their information.  The data is from the Wikipedia site.  I figured it was a much needed feature since there are celebrities people never heard of before.
Also, Id like to say thanks to googlebot and msn search.  Its amazing how much traffic you can get after being indexed by search engines with the proper meta tags.  The site isn’t even a month old and I’m getting quite a bit of traffic from search engines.  This was a very welcomed surprise.  :)

Also, I want to thank becca, meghan, terri, christi and jenise for helping with this first month.   You girls are the main reason why I found many of these bugs.  Terri and jenise have come up with many good ideas for the site as well.  New ideas and features are always welcome.  So if you want something on the site, tell me!

Permalink Leave a Comment

new voting abilites and more

February 10, 2007 at 12:10 am (Uncategorized)

I have updated quite a few things.  The biggest update is the way voting is presented.  You can now vote for or against PWNs with a thumbs down and thumbs up button.  Easy to see, easy to use.  Whats more, after you vote the box is colored green or red depending on what you voted.

I have also done a few styling changes to make the site even better with readability and coolness. :)   Not only that, but I have added the “snap” plugin.  Its from a search engine site that you will be hearing plenty about in the future.  Basically what this plugin does is give you a preview picture to the gossip blogs as you hover over their link.  Cool?  Gets in the way?  You let me know.  In any case, you can disable it under settings when it pops up.

The final change is the addition to the top users list.  I have created a preliminary method for calculating the top users.  Unlike those other sites, you can actually get a high level without getting all of the good PWN submissions.

Lots more features to be added. So stay tuned.

Permalink Leave a Comment

The challenges of creating your own digg-site from scratch

February 6, 2007 at 6:24 pm (Uncategorized)

Many people out there might be thinking of creating their own democratic user driven site.  Some people refer to this as a “Content Management System”, while others simply refer to it as the Digg Model.   No matter what you call it, the success of the site hinges on the functionality and presentation of the content.  I have recently gone through this challenge from the ground up and decided to write this blog to help others who may follow the same path.  Because of the size and uniqueness of each digg-clone project (is that an oxymoron?), it would be impossible for me to write a “How To” article.  So instead, I present you with the three biggest challenges you will face creating a site like this.  My second goal, of course, is to help get the word out on www.celebritypwn.com .  Give and take right? hehe

I present this article from the point of view of a self-taught php programmer with roughly a year of freelance experience. I am now a little over a month into the project. I have had no prior experience with JavaScript, especially JavaScript with AJAX requests.  It is important that you have experience with at least one programming language to base the foundation of the site on.  As you probably noticed, I have also used various php code examples and scripts to aid in the completion of the site.  I’m not ashamed to admit I know how to use Google J.   It is also important to realize that you do not have to reinvent the wheel.  If something is out there that you can use, then go right ahead and use it.Having said all of that, on to the three obstacles. . .

First, envisioning the database required to house your imagination.  This is fairly obvious with any big project.  However, this is my first attempt at a complex site and many of you may not realize the importance of thoroughly planning things out.  As you begin to think about your own CMS, a lot of ideas pass through your head.  The trouble is finding out how to organize these thoughts into a manageable system.   For example, you take a look at digg.com and you right off the bat realize how things are organized.  Do you want the user to create their own organization by means of user-defined tags or for the site to organize for you?  Obviously Digg chose the ladder. This decision needs to be made during the initial development stages.

Deciding how to organize the site is also related to how you present user submissions.  Story promotion is a direct result as to how you structure the tables in your database.  This means during your initial brain storming of features that you must account for keeping track of a lot of information.  Deciding how to promote stories while at the same time stopping cheaters can be challenging.  The site can be as basic as keeping track of votes or as complex as taking into consideration ‘down votes’, the time of submission, and the class of the user who submitted it, etc.  Sometimes you might want to grab more information than you might *think* you need, because later on you will realize more data is necessary to accomplish your goal(s).  Right now I have six different tables to store the necessary information to make the site go-round.  But do not try to stuff too much data into one table and make it needlessly confusing and disorganized. 

Secondly, the user submission page is vital to the site’s success.  I realize this point is closely related to the first, but it can make or break the site.  The submission form is important for two reasons.  1)  It is the most challenging part of the php coding process.  If you can do this, you can probably do the rest of the php coding that is required.  The submission form itself took me over a week to complete.  This should be your starting point because you need data to manipulate.  2)  This is what every user uses to make your site a success.  Anything that can make the user’s experience easier, such as an auto complete box, should be done!  It’s worth the extra time.  Make sure it is presentable and as easy as you can make it. Test, test, and test the submission form some more.  As I began this project I thought to myself that if I can do this submission form than the rest of the site should not be as hard.  This proved to be half true J

Finally, the voting system and the incorporation of that catch phrase known as web 2.0.  I realize not everybody knows multiple programming languages.  However, you really should try to add JavaScript to your repertoire.    I also realize that many people cringe when some noob throws around web2.0 catch phrases such as ajax, so I will try to be brief :)   The bottom line is that the use of an ajax voting system is critical for a digg-clone site.  There is no other way about it because end users today are used to functionality that is smooth and instantaneous.  Developers unfamiliar with JavaScript and never heard of an XmlHttpRequest are in for a wakeup call. 

This proved to be my biggest hurdle.  I made a basic ajax voting script and I was fortunate enough to have a friend who could help take it to the next step.  If you need to hire someone for all your JavaScript needs, then do so.  If you plan on learning yourself, then check out Ruby on Rails and/or Prototype.js.  There are plenty of tutorials around to help you get started.  Ajax is no longer optional in most cases.  There is no more web 2.0.  Two years ago you might call it that, but today that kind of stuff MUST be in sites created from at least 2006+ (where needed). 

Your site should have its own unique spin on something.  If its been done exactly like this before, then you are wasting your time.  I took note of what was out there on the internet and decided that a celebrity gossip site was needed.  There are many other niches that need filling.  I could go on much longer talking about potential snags that you can hit, but this article is a good starting point for those curious.   If people are interested in this article and want more, then I will be happy to revisit this topic.  For now, I really should get back to work on my site.  After all, people can’t even vote against stories yet!

Permalink 2 Comments