Tuesday 23 December 2014

Screenshots!

Home page



Screenshot time! As you can see, the information is not filled in, but the skeleton of the website is now complete! The home page contains Header menu, header image, search bar, multiple widgets along the footer and an eventual greeting
Functional Slide down sub-menu

Easy to get to Login/Register page

Beginning of the Forum



At the moment the only slide down is the Breeds menu, sliding down into types of poultry categories. However I'm inclined to think that it functions well, is attractive, and is easier on the reader who is looking for information.





Next is the easy to get to/understand login screen with a register link and forgot your password link below. This immediately send you an e-mail with your new password, and can be changed as desired.






Now the forum! With just an introduction forum at the moment it looks plain but you can see the potential, one of my next goals will be to see if it is possible to make the forum stretch across the whole entire page rather than have blog post size confinements.

                                                             And finally User Profiles. In subjects in the forum, it is possible to click a users username or avatar, which brings you to this page where you can what topics they have created, their replies in various topics as well as their favorite topics and their subscriptions.

Monday 22 December 2014

Its a Green Christmas!

When I brought my computer home for christmas I had to completely wipe the www file because for some unknown reason It was totally flipping out and now working. So another new skill was learned, where the delete button is (took me forever to figure out that It was the 'Move to Trash' button) and how to go into MySQL and re-create a database, which after a Google search or two, didn't take too long, I was pleasantly surprised. So an installation of Wordpress later I was faced with the daunting task of picking a theme, and lets just say my finickiness, it was the longest process.

After searching for hours, and yes really, hours; I ended up picking last years default theme. Then I spent 6 hours trying to edit a driver to make it work with Linux instead of Windows, but thats another story (It's still a work in progress, almost have it done though) After that It was plugin installs, which involved downloading .zip files, extracting them into the var/www/wp-content/plugin file, and then activating them in the localhost, and in the end I downloaded BBPress, a basic customizable forum, and Nice Login Widget, a login widget that allows you to put a shortcode (In that particular case [sp_login_shortcode]) which you just put in the text area and its a link to the widget without having to technically clicking on it.

Although I may make this sound like I didn't have any issues, that is not the case, I have issues with this stupid thing all the time, but apparently the more you struggle, the better you learn, I better suddenly be a genius soon because I've had my fair share of struggles with this project, I've started over from scratch multiple times because I screwed it up so badly. I just Don't write them down in detail because its slightly boring and I'm not sure of the technical names of that was wrong, an example would be just before I was writing this, I changed the permalinks in Wordpress to a custom setting, and when I kept on getting 404 errors, It took forever to figure out what was wrong (putting it back to the default permalink fixed it, lesson: Don't touch default settings that you don't know anything about.)

*Checks the spelling a million times over but still probably sounds like gibberish* Well I think that's it for the moment, now it's just filling in the information and putting the icing on the cake (Just kidding, I hate icing, more like whipped cream on Pumpkin pie) 

Monday 15 December 2014

Woot! I remembered

Well, I luckily remembered to ask Perry about my CMS problem, and another CMS (Wordpress) with a forum it is!

Of course I was considering this CMS early on in the course, but didn't pick it, so it obviously had to be the easiest thing in the world to install. Download, install, extract the file in the /var/www folder and follow a couple instructions that babied you through the steps (Although I'll admit I had to ask someone how to create a new directory on Debian) So all went well! 

My website is up and fine, now all I need is the forum plug in! And to get this I need a FTP server on my computer. The last part of class I tried this, and couldn't get this to work, so I gave up. But as I'm re-reading the instructions now when I'm not rushing through it, I realized I screwed up in a couple places, so tomorrow is now hopefully the day that FTP shall work! I'm crossing my fingers. 

Sunday 14 December 2014

Back to the Bloody Drawing Board!

Well. Things aren't working exactly as planned. My current CMS is working fine as I add pages to my website. Err, well, almost working I should say. Because I am an over achiever, I was wanting to attach a forum to my website for people with the same crazy gene (Its a rare homozygous recessive gene found in the 11th chromosome if you'd like to know, scientifically called crazy-avine-ladyus) too meet and talk and all that fun stuff.
Buttt because life sucks, I for the life of me cannot figure out how to add a forum to my website. So now its asking the teacher time, will having an AMAZING website make up for my lack of a forum? Or is it better to chance installing a new CMS with lots of support and easy to set up add-ons, possibly not having the website be up to my standards, but having a forum? -Sigh- Decisions, decisions. I shall update this tomorrow with the path that I will take! (If I remember to ask him anyway, I have an awful memory)

Have a lovely day/night all you people who are reading a crazy 16 year old's engineering cumulative blog! (There seems to be a lot of you reading this thing for some reason, not that I'm complaining!)

Wednesday 19 November 2014

Two Disastrous Successful Culminating Days Later...

        After many disastrous attempts at installing Debian 7.7 and having it freeze when loading the "Detecting Hardware" screen, I finally realized I was what would you be if you were attached to another object by an inclined plane, wrapped helically around an axis, (If anyone doesn't get this Big Bang Theory reference I shall be thoroughly upset) until I could figure out what was wrong because no matter how many times I restarted the install, graphic or advanced installation mattered naught, it would not work.

        Giving up momentarily I switched to another Linux flavor called Zorin 9.0, which I had seen one of my friends have on their computer and thought had a nice set up. This Operating System decided to love me and install without a hitch, Well. Almost without a hitch. Once again a piece of hardware wasn't operating correctly. The wireless card. My first thought was obvious, like we were taught in class, find the drivers. Well. I, along with one of my friends, searched and searched and searched for the appropriate driver. Looking in countless forums and websites to no avail, It was mutually decided that the wireless card would HAVE to come out and be replaced at a later date. (As the tower is currently connected to the internet using an RJ-45 cable, but wireless capability is needed in the future)

        A little while later the crypt of a tower was opened and the Linksys Wireless card was excavated from its tomb of dust, which was promptly blown out in the wood shop room next door with normal everyday compressed air, not carbon dioxide, which for some reason beyond me is what certain people believe that compressed air is completely made of. (Air is 78% Nitrogen, 21% Oxygen, with traces of other elements and compounds such as Carbon Dioxide, Argon, and Methane.)

        Round two of Debian 7.7 was then initiated. It would have been possible to keep Zorin as my Operating System but as was explained to me, Debian was set up to handle servers, and with my computer's main purpose being to handle a server, I thought it was best to switch back if possible. I guess all the finger crossing worked after all, it installed and didn't report any errors. Now it was onto the exciting stuff! Installing Apache2, MySQL, and PHP5. (Also known as a LAMP stack, the 'L' standing for Linux.)

        One thing that I learned very quickly in Linux was that installing or modifying files was slightly different than your usual double-click the icon and press okay/next without looking until it starts installing. Instead the most efficient way to run the system is to use the terminal (or the root terminal so you don't have to authorize yourself as the root user, also called super user, every time) using commands such as:
su -- root/super user permission
chmod -- changing the permissions of a file
apt-get install [file name]-- Finding, extracting and installing said file
cd/ -- changing the current directory that you are working in
ls -- lists content of current directory that you are working in
etc.

        Following instructions given on the links in my introductory post (Yes the one with three links for the same thing, I'm over-prepared like that) and using simple terminal commands, installed all three previously mentioned programs with little fuss. Unfortunately I don't have much to chatter on about here, I sat there and let the computer do its thing at that point.

        Now for the kinda interesting part, SilverStripe! SilverStripe is an open-source CMS, or to make it less complicated because it's morning and I don't want to explain the technical details, a website creator. Now. Do not get it mixed up with Weebly or Blogspot or those kind of fixed 'Website Builders'. You know the bottom footer where it advertises their service on your website? With open source you literally open the footer file and cut it out, or replace it with whatever you want it to say. (Yes, I am going to have lots of fun with this thing) You can customize any and every aspect of your website with simple HTML skills, which in my case are a work in progress.

        Moving onto the actual installation progress. Now I have to honestly say I'm not sure if I did it the technical way that the instructions show but it worked regardless so I shall attempt to explain how I did it. Going to the download page of the official SilverStripe we download the .tar file. Once we find the file in the downloads we transfer it to the /var/www folder where we then go to the terminal where we use various commands to find the setup file, extract it, and then run it using the web browser. After going through the usual enter username, password, retype password but it probably won't work just to make you type it in again because we love making things longer, we got to the "problems" screen. Where with slight assistance, 'chmod' was used to change read-only folders to writable ones for the program to use. Following that, more entering passwords and all that fun stuff, and then BAM! Loads your webpage for you to sign in and start messing around until you either make a website or completely screw it up! (You generally want to cross your fingers for the first one)

        I think this is the longest thing I've ever wrote at once besides an essay, so I'm going to stop before I give my wrists Carpal Tunnel. My next post will be my attempt to explain how SilverStripe works and a few modifications I have already made to my website.


Cheers,

          Lindsay

Friday 7 November 2014

Introduction and Brief Explanation

My Culminating Project is the creation of a website created with a CMS called "SilverStripe" running off of a personal server (an old desktop computer).

The website that I am creating is about Fowl, focusing mainly on domestic poultry. The website will include a directory that incorporates information pages for various breeds of chickens, geese, ducks, etc. As well as a functional forum for people to discuss the subject at hand.

While completing this project I expect to learn how to use a Linux based operating system, use various programs such as Apache, My SQL, PHP, and understand them to a suitable extent.

The links that I expect to help me include:
Port Forwarding


Things I need:

 Physical
-Old desktop

 Virtual
- Domain name
- No-ip.com account
- Linux Operating System (Debian 7.7)
- Apache Program
- My SQL Program
- PHP Program
- SilverStripe CMS