La Salle Academy Robotics Team 1350 Website
Pictures of La Salle Robotics Team

« The Update Archives »


Jump to Section: | Change Sorting Filters | Entries |

« Change Sorting Filters »


There's nothing here right now.

« Entries »


Post UI Progression (PUIP)

As you can see, I have the color picker now working. Just 6 more UI buttons left!

I\'ve been working on the post ui. Man this is annoying! I\'ve pretty much resolved all the dropdown menu issues. They work awesomely now! (with just a slight compromise)

I\'m still working on finishing all of the stuff in the UI bar. I\'m on the color picker right now. In the meantime, I\'ve added a js calendar on the date bar, so you can easily pick any date recently before or after the current date.

Oh by the way, I changed the index page php script a bit to be like the aboutus one. It works more efficiently and fixes a few bugs. :D

Issues left to be resolved are:

IE Fixes - addtable function, all addTag functions are messed up, check cursor positioning functions too... *sigh* >:(
new post edit - make sure added tags with no text are not erased
auto paragraphing minutiae - iron out paragraphing inconsistencies... ;_;
special characters - like > must be converted and reversed
image uploader - hmm, seems interesting...
table and list insertion - i dunno. o_o
add undo button - probably with javascript undo history thingy

***** FINAL TODO LIST *****
[ ]Make HTML UI for posting functions
[ ]Populate Updates and template page tables with content
[ ]ADD POST SWITCHING FUNCTIONALITY SO THAT ONE MAY SWITCH POSTS IN NORMAL PAGES. NOTE - THIS MEANS THAT EVERY TABLE MUST MANAGE IT\'S OWN ID ;_;
[ ]Add full admin privileges option to rest of website
[ ]Scouting
------------------------------------
[ ]Documents.php
[ ]Team.php
[ ]Contacts.php

View and add comments Posted by Mike on Tuesday June 14th 2005 11:44 PM

^Top

User Formatting is a pain!

I have javascript text-insertion working for a few buttons. It's ugly since I'm using my own lousy auto-paragraphing algorithm. (It differentiates between single line breaks and paragraphs ...barely) In summation, it works but it's ugly.

I'll start working on specialized functions such as image uploading and text-size now. Oh by the way, I need to figure out how to manipulate the cursor so it stays where it is clicked.

for(int i = 0; i >= invalids.length; i++)
System.out.println("You are stupid.");
Assert("You neglected to mention the sleeper sofa.");
while(true)
{
I like waffles.
}
.
You know, it really isn't paradise in a pre tag. Double line breaks are filtered out as paragraph tags and less than signs are taken as the start of a tag, causing the removal of many innocent pre residents. You can come up with the solution to stop this meaningless carnage.
...
...
Should I put in syntax highlighting?

This is a blockquote. Wurd. IMMA TYPIN' TYPIN' TYPIN'TYPIN' TYPIN'TYPIN'TYPIN'TYPIN'TYPIN'TYPIN'TYPIN'TYPIN'TYPIN'TYPIN' TYPIN'TYPIN'

- Me

Okay! I found a solution to putting in tags such as pre and blockquote that are block tags and break the paragraph. It's cleaner too!

View and add comments Posted by Mike on Thursday July 3rd 2008 7:03 PM

^Top

State of Affairs

Ugh...
I forget the '/'s in a preg_match regular expression and I lose my post data... ;_;

I think I was talking about something to do with the HTMLPurifier? No! That was last post...

Uh... Must have been the posting UI. Anyway, I'm working on auto paragraphing right now so that the text-alignment tags and other such tags will work. This is ANNOYING. And HARD.

View and add comments Posted by Mike on Wednesday June 25th 2008 1:47 PM

^Top

Who's Back Again??

I NEED TO ADD FUNCTIONALITY TO SWITCH THE ORDER OF POSTS. AAUUUUUGGGH!!!

I've been working on other parts of the website since HTMLPurifier and the html input system is problematic.

Heh, got HTMLPurifier to work! I had php's magic quotes enabled. I read about it somewhere but for some reason, I ignored it. :P

Also, the html input is going to be problematic. I don't even know how to use javascript to manipulate selected text. (Although I don't think this will be the hard part) How do I get [pre] to work? It splits the paragraph tag. I'll have to find a workaround (I think it involves 'a' tags and display: block).

Well, for good news, I've made some progress with the general website template. I've started the format for the About page. This new data also allowed me to perfect the last part of the navigation bars (finally!). They now show anchors correctly using a finished populateNavMenus() function.

Umm.. That's it for now... ;_;

34.8%

View and add comments Posted by Mike on Friday June 20th 2008 8:06 PM

^Top

Okay, another TODO List

I now have to refine the posting system. I am about 24.1% done with the entire website.

(The pre tag is breaking the auto-paragraphing system) Machine code is no more! z00b sdfjafjdajdsf jsadfkjasd fjksa djfka jdsfksad

Ugh, I didn't know there was so much code involved in making something like this. It's kind of messy because I should encapsulate it more into constituent functions, but it'll work. I think it is good enough for this website.

Haha! After a week of bumbling around I restored the website to its former state. Now I have added HTMLPurifier! A bit bloated, but man, does it work! Mwhahahahhaha!!!

View and add comments Posted by Mike on Sunday June 1st 2008 4:53 PM

^Top

Post Titles Can't Have Line Breaks! Yay!

ZHQ.pngI am currently testing the new updating and editing system. Right now, editing the text of a post works. Oh, by the way: I just enabled the post delete feature. :P

*** Completed So Far ****
* Fixed date field in posting function. If you enter an incorrect date but with the right format (ie. Saturday, June 1st 2008 2:58) it will correct it for you. If the format is incorrect, it will just put in today's date.
* Added a current date button using javascript.
* Made a preview button to have a javascript popup window. This does not work in IE for some reason. "Invalid Argument Line 114".
* Fixed create a new post feature. I had to add "mysql_fetch_assoc" so that I could tell if $edit was null. ("mysql_query" always returns a Resource Id, even if that Id is null...)
* Put diagnostic messages directly over the edited or new posts too.
* Parsed line breaks in textarea in posting function. (I also needed to add reverse parsing for the edit function.)

View and add comments Posted by Mike on Sunday June 1st 2008 4:54 PM

^Top

This is post ID 6. =o

CalendarThis is
a line break;

asdasd
fsa
dsf
sdf

s

View and add comments Posted by Mike on Saturday May 31st 2008 4:04 PM

^Top

Testing...

This is a second post.
Take that.-_-'

View and add comments Posted by Mike on Saturday May 31st 2008 2:04 AM

^Top

Let the Shadow Games Commence!

This is a test post and I am allergic to sesame seeds.

And the cake is a lie.

View and add comments Posted by Mike on Tuesday November 30th 1999 12:00 PM

^Top