Friday, June 20th, 2008

To Massachusetts

Well, it sure has been a crazy couple of days. On Wednesday, [info]emilie had to go in for some emergency surgery. Fortunately it went well and everything is okay. I ended up going to the hospital around 9:30pm that night. When I got there she was in the OR so I pretty much waited around for a couple hours. I did get to read some of my Game Informer magazine from....last year...haha I am SOOOO behind on my magazines. I have a couple Macworlds from 2005 lol. Finally, they got her situated in a nice room and I spent the night. Around 10pm or so, Scribbld crapped out. Rather someone unplugged the power strip the modem sits on so access to everything died. But it was about 3am and I was to tired to log into the Tumblr site and post an update so I am sorry about that!

I pretty much got no sleep cause I was sleeping in this chair and it just wasn't the greatest. On Thursday we hung out and waited for the doctors and stuff and finally got the leave around 1-2pm. We pretty much just came home. Went for a little walk so she could pick up some pain drugs, she also got a nice little puzzle (alright 750 little itty bitty pieces) and then just relaxed. I believe I took a nap, AND then around 6pm, I finally got someone to turn the power strip back on. So yeah, sorry!!

I've been making a lot of critters in Spore, I also made this little YouTube clone site so I could upload my own videos. Check it out! What a pain in the butt to get working. After making symbolic links to the video encoder applications in Linux, I found the settings panel where I could have simply have changed the paths lol Oh well, it works pretty well and I am pretty happy with the software. I just need to make a new for it and a new logo... I also uploaded some images. I am definitely quite happy with the Creature Creator, for $10, you definitely cannot go wrong! I do kind of wish there was more parts, I know there's a lot, but I want more!!

Today Emilie and I went to breakfast at this wonderful little, er maybe big diner right by the hospital. Then after that I dropped her off to get her car. She had to run into work quickly to setup her schedule for next week. Probably half-days. I'm just doing some emails, forums, Scribbld stuff now...I think I may go watch some TV or something, I've got a consulting call to do.

I hope everyone has a lovely day and a lovely weekend. I'll be down in Massachusetts at two OPs, one at Ghost Town and one HUGE (400+ people), Tears of the Sun at TOLCOM. Hopefully I don't get shot too many times!
(2 comments | Leave a comment)

Saturday, June 7th, 2008

A Complete Website

For the longest time, I've always wanted a website, that contained a blog, a photo gallery and maybe some simple message boards. The answer might be a CMS based system, but I feel that is really to large and really to featured for what I had in mind. After ages of trying out hundreds of software packages I think I have something that's going to work for me. This article here is going to explain the process of getting 3 pieces of software to work (hopefully) together. Those are:

  • WordPress

  • ZenPhoto

  • bbPress


  • So let's begin the journey of this project, shall we?!

    Day 1: Well I am sure if you could really call this day 1 as I've been using WordPress for a while. I had installed bbPress once before, but was turned off the instant I saw the homepage of it. It's SOOO BLAND and I have no experience in CSS and styling at all. So today I installed it again and actually read some documentation on how to style it an all. I ended up using the CSS style from this K2 theme. I think that'll prove benificial in the end because I do want it all integrated. I plan to actually re-install bbPress to my ASO server so integrating these will be easier.

    I just found out about ZenPhoto yesterday and I spent quite some time just playing with it and installing it several places. Currently it sits on a local Gentoo Linux box.

    I think I will leave it there and see if I can just PHP include it since my photos take up a lot of space that I don't have on the ASO server but have on my Gentoo box. I will probably also style that to match K2 and this layout so everything look the same (again hopefully).

    So basically...I will do bbPress first. I will then style that with CSS code. I will use the K2 style.css as a base and work off that. Getting that and WordPress integrated is my first objective. Please note, I know no CSS and no PHP. This is going to be one heck of a project.

    -- Later in the day... --

    Alright, I have got bbPress installed on the ASO server and that seems to be working. I actually dropped the K2 style sheet and just started working off the ZenPhoto.org/support/ stylesheet. It was easier and "less bloated". I say that because the K2 stylesheet was made for WordPress and has many more definitions that I don't need. Of course figure out which ones I do and don't need would take to long and I like to cheat a little.

    So bbPress is working a-ok. I then tried to include the K2 header and I got some error about wp_title() not working so I removed the actual call to that in header.php for the K2 theme and just wrote it in manually. That did fix that error. But now you have the bbPress AND the K2 headers calling 2 different stylesheets...that didn't work out so well. So I remove the K2 header include from the bbPress header.

    I then continued to edit the stylesheet and change things around a little. I up'd the H2 to 2em and I changed some of the widths and stuff so when I eventually get it into the K2 layout it will work.

    Then I worked on ZenEdit itself. I added a TON OF PHOTOS, so feel free to check them out and leave some comments :) I am trying to get the Gravatar hack working. I signed up for an account on ZenPhoto.org this morning and they said they would send an email with my password in a few minutes...that was 6-7 hours ago :\

    I changed around a couple options in the layout. I made it so it has a blue background around the image no matter if it was visited or un-visited. I changed the background color to a light light grey...I might even go lighter...actually yeah, I just did and I like it a lot more, using #EDEDED now.

    So everything is setup...it's just getting them into the K2 layout. The hard part...but hey, for day one, I am not doing that bad!

    Day 2 & 3: Alright, I did a lot of work since and I've already figured a ton of things out. I posted on ZenPhoto about trying to get WP2.0 and ZP working together. They had this bit of code:

    /* Start Wordpress */
    define('WP_USE_THEMES', false);
    require($_SERVER["DOCUMENT_ROOT"].'/journal/wp-blog-header.php');
    /* Start zenphoto */
    require_once("zen/template-functions.php");
    $themepath = 'themes';
    $theme = $_zp_gallery->getCurrentTheme();
    $_zp_themeroot = WEBPATH . "/$themepath/$theme";
    if (in_context(ZP_IMAGE)) {
    include("$themepath/$theme/image.php");
    } else if (in_context(ZP_ALBUM)) {
    include("$themepath/$theme/album.php");
    } else if (in_context(ZP_INDEX)) {
    include("$themepath/$theme/index.php");
    }


    Basically that allows you to use WordPress funtions in ZenPhoto or whatever you include it, i.e. bbPress also. So I did that but nothing seemed to work. If you notice this line of code from that require($_SERVER["DOCUMENT_ROOT"].'/journal/wp-blog-header.php');. That would obviously not work in my situation. I have ZP and WP installed on 2 different servers, so I had to change that to include 'http://www.equestrianhonor/wp-blog-header.php' instead. And it seemed to work because i had no call errors or anything. The stupid thing looked the exact same as when it didn't have that code though. So I tried messing with that stuff for hours, calling the header and footer files but nothing seemed to work.

    So then I tried working more with bbPress since WP and bbPress were on the same server and I used the same method provided by the ZenPhoto boards. This actually worked. So I've been working a lot with the EzStatic plugin for WordPress. It allows you to include PHP code in your WP posts. So I tried to include bbPress in a page file but it looked really screwed up.

    So I hit up the WordPress codex and I found this. I found this function called get_home_template. Which eliminates the need to call the footer and header which is really nice and it works. Although I still get this error which I navigate away from the homepage which sucks.

    So that's basically where I am at with the project right now...

    -- Later in the day... --

    Alright, I spent more time learning about a couple PHP functions, include and require and what the differences are. Basically require will stop on a fatal error and stop processing the page. It will output the error.

    So since I wasn't getting an error I assumed things would be working. But for some reason I couldn't use the get_header and other WordPress functions on ZenPhoto. My solution?

    I installed ZenPhoto on the ASO server which also has WordPress and bbPress. Things now work and actually ZenPhoto is completely done. Check it out, it's got most of the same CSS as the blog but I changed the links around a little. Added some neat little effects.

    Now the only thing left is to get bbPress working. I am going to work on that now. I guess I might have to upgrade my hosting package because the photos take up so much space...oh well, oly and extra $5.00 a month for a little more then double the space I have no and about double and half the bandwidth.

    Alright to hack up bbPress!

    -- 7:41PM (10 minutes after the last update) --

    Wow, I think I just did my first REAL piece of CSS. And I am so proud of it:


    .news {
    border: 1px solid #FF0000;
    background-color: #FFD2D2;
    width: 375px;
    padding: 2px;
    text-align: left;
    }


    I wanted to create a red box with some text inside of it. And I DID! If you check out the photo page you can see it in action! WOW! I feel so good haha I feel so accomplished!

    Day 4: Alright, commenting now works on the photo album and no errors are being returned. I had to move where I was calling the header file and change a function to just $FIXME.

    This fix also fixed the AJAX functions in the layout when namng/renaming photos and descriptions of photos and albums. The photo album is 100% done? Of course there could be errors I missed!
    (Leave a comment)

    Tuesday, June 3rd, 2008

    Horse Days...

    First here's a few photos [info]emilie took this morning. Thought I would share them with you all! That's my little kitty!







    So anyways, I had to pick up my parents at the airport yesterday, they were just getting back from a trip to Ireland, kind of sounds boring to me, but hey, they had fun. Maybe if they had some horsey activities over there, I could handle it, and I am sure they do, but I could probably do the same thing here, for a lot cheaper.

    Today, not much going on, just finishing up some Mint installs. It's some really great web analytics software, check it out if you have your own website and stuff. Also working on a new social website for equestrians. It reminds me a lot of FaceBook, but obviously not a feature-filled, but I think people will enjoy it.

    I actually chatted with Adelaide the other day, one of my ex-girlfriends who I've not spoken to in ages. She was a really great person, still is, we definitely had a lot of fun. Unfortunately she's way down in CT, but who knows, maybe we'll meet-up sometime.

    It's miserable here, crappy and raining...but I think I will still go to the barn as I've not got a lot of other work to get done and I've got some really delicious (or so they say) horse treats to give out.

    I am thinking about going back to school since I might have guaranteed admissions to the University of Vermont, but ONLY if I can get into the Equine Science program. I think it will definitely be a challenge but it would be a real lot of fun and stuff to learn all about it. We'll see, just waiting for an email back from my advisor.

    Well, I'm off to get some other things, done. I've been messing around with Linux and I love it. I've been using it for servers for many years but now I've turned my main desktop into a Linux machine and I must say, it's awesome, although not as good as Mac OS X, but definitely much better then Windows! Have a lovely day everyone!
    (37 comments | Leave a comment)

    Tuesday, April 8th, 2008

    Eeeesh...

    Holy crap what a day. Hopefully some of the dust has settled! So let's get back to the normal...

    I worked on the Vermont Ice Cream Company website this afternoon. I finally am getting to the point where I am adding some meat into the website. I'll be adding some photos tomorrow and probably more copy. I think I am going to try to use billable or one of the online solutions [info]makkintosshu pointed out to me. We also finalized the name for his new project, as I said before I'll discuss it more in a later post.

    [info]emilie and I went food shopping this afternoon. Got lots of good food! We were going to make this really nice quiche for dinner, but we got sidetracked with something else, so I haven't had dinner yet. I might just make something simple like breakfast for dinner, or who knows...I got my tea going and it's great!

    I just wanted to make a quick post...I'm off to play Call of Duty for with my buddies, please join us if you have Xbox Live - my gamertag is vtequine!!

    Oh yeah, I'm definitely looking for a few new good friends. I love to comment on peoples stuff and I love people commenting on mine! So comment if you wanna be buddies!

    Take care all!
    (10 comments | Leave a comment)
    Next 20