I've uploaded a couple of pictures so far to my photo album. Most of the pictures were taken this morning at 8 am (which is about 11am back on the east coast), so I'll probably snap some more pictures later in the day when it's not so cloudy.
I'll post another entry when I get home and recover from the jet lag - again.
User Avatars
I've added support for user avatars. Registered users can upload their own avatars the same way that they can upload profile pictures. The only places that user avatars are displayed yet is on profile pages and blog comments. The avatars on the blog entries themselves are not to be confused with user avatars. However, blog entries can be user avatars, even though I'd advise against it because the owner of an avatar can change it at will.
Blog Style Changes
Another somewhat related change includes a slight adjustment to the way the blog is formatted. All avatars (user or entry) are now shown in a little white box with the writer's username below it, all hyperlinked to their profile where applicable.
Graphical Emoticons
The blog now supports graphical emoticons. :rolleyes: The default set is the standard WordPress collection of emoticons, because I'm really not a pixel artist and every time I've tried drawing my own emoticons they've always sucked. ;)
I've also made some minor changes to the photo album pages: added a black CSS border around the thumbnailified images.
When I built the new content management system, I wanted to program in automatic obfuscation of e-mail addresses. So, from the source pages the e-mails could be written out in plain old HTML (a href="mailto:myname@nowhere.net"), and the CMS would automatically encode that to be href="/?p=contact;who=zlanzr+abjurer.arg". Essentially, this makes the link not appear to be an e-mail link at all, so spam harvesters can't find it very easily. JavaScript could change it back, and users without JavaScript would follow the link as-is where they could be greeted with an HTML form to send e-mail without revealing the address in plain text.
So, a JavaScript runs on the browser to translate that URL back into a perfectly valid e-mail link. The e-mail address is encoded as ROT13, and I was using a function I found on the Internet that would decode it for me. Only, the person who wrote the code is a total n00b.
Before dealing with this new method of e-mail obfuscation, I had a script I made that would automatically loop through all the hyperlinks on the page, changing off-site links to open in new windows for example. I took this stuff out when I added the JavaScript that would decode Starburst's encoded e-mail links. When I went to add my old code back in, it conflicted with the ROT13 code.
Basically, the main loop on the ROT13 code didn't declare the variable "i" in a local scope, so it was overwriting the "i" used in the main hyperlink loop, ending up with my code getting stuck in an infinite loop. Also, when it came to actually translating the ROT13, it was treating the alphabet as numbers (i.e. "C > A and C < Z"), which, I'm partly surprised JavaScript even allows that but it was also painful to read as a programmer who knows how horrible that is. It took some digging but I ended up having to write my own ROT13 functions which would translate the letters into their decimal counterparts, then compare them as numbers before translating them back. Much more efficient.
I generally don't like to use other peoples JavaScript codes, and this is a fine example of why. The ridiculously poor coding style of this script was messing my stuff up and causing all kinds of problems. Anyway, end of rant.
Anyway, check it out.
So, in order to make my blog "fit in" with the rest of the site, I've decided that this blog will mainly be centered around my various projects. I'll probably tag each post with the project(s) it revolves around so it'll be easier to navigate. I'll probably also post occasionally about ideas I have for new projects, ones that don't necessarily have a page of their own yet and which might not ever get its own page.
In other words, this blog is mostly gonna be a more glorified "recent site updates" section, which the blog kinda replaced to begin with. Only, instead of a bunch of single-bullet items to outline everything new, there will be paragraphs and a lot more detail (which may or may not be a good thing--I'll let you decide).
However, I'll be using this same blog software on a different domain, where it will be a much more interesting blog about some more in-general, real information that readers would actually be interested in. ;)
Most of the other work was done on pages that only the site admin would be able to see.
Eventually I plan on building some "photo album" pages. If you noticed that the "Pictures" link on the nav bar has disappeared ever since I migrated to this new CMS, it's because I intend to replace it with something that takes a lot more effort to program. So, it won't just dump all the contents of my pictures directory out... it'll be divided up and have captions and comment support.
I would start programming it now, but I've been programming for the past 5 or 6 hours and I want my photo album pages to be as complicated as the blog pages--that is, have the ability to delegate privileges across other users to contribute content to it. And I'm feeling lazy now.
I realize that all of this is totally overkill for a personal homepage, but I ultimately have much bigger plans for my CMS, and having all this kind of functionality to start off with would help towards that goal.
Oh yeah, and, Happy Easter!
For the past week or so I'd been working on developing a new content management system. I developed most of its core features on RiveScript.com and now I've migrated Cuvou.com to work with it.
The CMS is named Starburst, which is actually the name of the web design you've been looking at for the past several months here on Cuvou.com. The CMS was named after the web design.
At any rate, today I programmed some blog software for my CMS and then migrated most of my old webpages to the new system. So, at long last, Cuvou.com has an integrated web blog, and it's not based on WordPress.
Oh yeah, and now there's an open registration system for this site. So, if you want to sign up a username, you can do so now. There's not a whole lot you can do with it yet, though, except have a hyperlink to your profile when you leave any blog comments. However, I built in the ability to upgrade members to "Publishers", so they can contribute to this blog, but they can only create and modify entries that they wrote.
Actually, if you're not in the Eastern time zone, you can pick your time zone when you sign up an account so that the time stamps on this blog among other things will be adjusted to match.
More updates to come.
0.0018s
.