I have been working on the backend (what else is new) and have also taken the time to fix the RSS feed. My rewrite of some of the classes broke the feed, adn I havent had a chance to look at it until now.

I have also rewritten the user and menu classes as well, and I am trying to get the code cleaned up even more. The backend is looking good and I am pushing for a JAN alpha release/demo of the project.
I have begun code cleanup and a rewrite of the class structures for posting. This will allow for multiple types of content, and the post class has been renamed to Content to reflect this change. I also removed 30+ arbitrary lines of code in this process, and all methods under content.inc are non-static.

Next on my list is to add more advanced image uploading as well as videos and flash.
I have added thickbox capabilities to the images in posts. Click one to check it out!
It has been a while since I have posted updates. Part of the reason is because Comments took longer than I expected, but mostly it was because I broke the posting functionality by changing a form path.

Changelog for 11/22:

  • A setting has been added to choose the default permissions group new users are assigned to.
  • I have added a jQuery calendar block that will eventually allow viewing posts by date. This is not fully functional yet.
  • I have added Comments functionality. It is not fully integrated into the templates yet, but adding and viewing comments works beautifully.
  • All block content is now output to smarty as a large HTML string. It does this but concatenating the block tpl files in a variable using $smarty->fetch();

Accomplishments and Changes to Nanobyte Today:
  • Templates now in sub folders with option added in admin settings to select a theme.
  • Moved functions to define config constants to the config All admin forms are now tabbed
  • The User Information form is Tabbed
  • The Published Checkbox is checked by default for new posts.
  • Fixed the CSS for tabs
  • Moved blocks functions to modules. Blocks are now handled by modules
  • NicEdit has been added to text areas for WYSIWYG
I was able to get the first block created today. The blocks backend still does not exist, but I got tired of looking at "Lorem Ipsum" all day long. The block simply shows who is online. Unfortunately it does not count guests and users not logged in at the moment.

I also was able to add some JS to the backend. Forms can now be tabbed and the dashboard on the admin main page can be rearranged by dragging/dropping.

I also added graphing to the backend, This is the basis for the dashboard functionality that we will provide.
I finally got Code Highlighting done. While I have a little to do with it still, it now works.
 
function MyFunc(){
$a = $b;
}
 
I finally got a chance to sit down and get some actual work done on the CMS once again.

User profiles are just about set, except for some CSS formatting they are looking pretty good.

Along with the Profiles, I have also added 2 new features:

  • Last Login:

  • Online/Offline



You can see both of these new features in action on User Profiles for the time being.

Unfortunately, I don't have URL aliases in place yet, so I will post a link here to My personal Profile for the site for Demo Purposes:

Michael

Once I get a couple of other bugs worked out, I will be doing a SVN Commit. I know, It has been a while since the SVN was updated.. Hopefully by end of day (EOD) ...
Welcome to NanobyteCMS, the new Offical site for.. well.. the Nanobyte CMS.

Nanobyte is currently in active development and Is not ready for distribution, but be sure to check back, as we will keep the site updated on the progress of this project!
Post images are now scaled during the upload process. They then have a link to their original size. This will be used with Lightbox once I start working on front-end user 'frills'.
I needed a break from programming for a bit, so I made colorized banners for the different release stages of the CMS.

I also recreated the site banner, and widened the page to 850px.
I've been struggling for some time trying to figure out a way to write 1 form.tpl file and have all the code passed to it to generate what I need.
Today I found what I needed! HTML_Quickforms. Below is the code I use to generate the user edit form. I apologize for the lack of code highlighting as of yet, but you can view the highlighted code on Wiredbyte.

//create the form object
$form = new HTML_QuickForm('edituser','post','admin/users/edit/'.$user->uid);
//set form default values
$form->setdefaults(array(
'uid'=>$user->uid,
'name'=>$user->name,
'joined'=>$user->joined,
'email'=>$user->email
));
//create form elements
$form->addElement('text', 'name', 'Username', array('size'=>25, 'maxlength'=>15, 'readonly'=>'readonly'));
$form->addElement('text', 'joined', 'Joined', array('size'=>25, 'maxlength'=>15, 'readonly'=>'readonly'));
$form->addElement('password', 'password', 'Password', array('size'=>25, 'maxlength'=>10));
$form->addElement('password', 'confirm', 'Confirm Password', array('size'=>25, 'maxlength'=>10));
$form->addElement('text', 'email', 'Email', array('size'=>25, 'maxlength'=>50));
$form->addElement('submit', 'commit', 'Save Changes');
//apply form prefilters
$form->applyFilter('__ALL__', 'trim');
$form->applyFilter('__ALL__', 'strip_tags');
//add form rules
$form->addRule('email', 'Please enter a valid email address', 'required');
$form->addRule('email', 'Please enter a valid email', 'email', true);
$form->addRule(array('password','confirm'),'The passwords you have entered do not match','compare');
//If the form has already been submitted - validate the data
if($form->validate()){
$values = $form->exportValues();
if($values['password']){
$user->password = $values['password'];
}
if($user->email != $values['email'])
$user->email = $values['email'];
}
$form->process(array($user,'commit'));
Core::SetMessage('Your Information has been updated!','info');
//UserController::Redirect('admin/users');
}
//send the form to smarty
$smarty->assign('form', $form->toArray());
The first Nanobyte module is currently in the works, and the module interface on the CMS in in place for the most part. I have enabled the module for demonstration purposes, and it is far from perfect.



The module is based on the code used by an old jQuery UI demo photo gallery, that I believe is no longer live.



View the Gallery
I have finished the RSS Feed Generator. It works great, and can be found at http://beta.wiredbyte.com/WiredCMS/rss