'php' Category

SamTodo 2.0 progress (8/18)

Work on 2.0 is continuing, here are screenshots showing some of the new features

Louisiana State Law Institute – New site launched

LSLI is an organization responsible for revision, reform, and legal research in Louisiana.

The new PHP-based site

The original flat-file site, circa-1997!

SamTodo 2.0 progress (6/25)

Wade and I have been moving along with version 2.0.

We have created a new file structure (we are no longer using the Fusebox framework) and have begun structuring our classes. For queries, SamTodo will be using an ORM called “Outlet” by Alvaro Carrasco.  Outlet will allow us to execute database operations with more efficiency and ease.

You can view the SVN to see our progress here:
http://samtodo.svn.sourceforge.net/viewvc/samtodo/branches/2.0/

I know that this version has been a long time coming, and I appreciate your patience. I will do my best to keep you updated with more frequent blog posts (RSS feed for SamTodo category). You may also follow my twitter account for updates as well. If you would like to make suggestions for this upcoming version, you may leave a comment on this post or in the forums.

SamTodo 1.2 making headway

1.2 is not dead! Last night I made some good progress.

Some of the features you will see in 1.2:

  • Multiple-user system
  • Cookie-remembered logins
  • Installation script
  • Language pack support, initially with French, German, Portuguese, and Spanish
  • An in-application configuration page
  • Tasks now have date selection with pop-up calendar

Development screenshots:

(more…)

how to quickly add another user to samtodo 1.1

I realize I have been taking my sweet ass time with SamTodo 1.2, so here is a little something you can do until multi-user support becomes native.
Note: Please backup everything (including your database) before doing this!

STEP 1
EDIT _model\global\act_config.php

Add an $account_name2, and $account_password2 underneath the originals so it looks something like this:

// SamTodo login information
$account_name = "sam";
$account_password = "password";

$account_name2 = "sam2";
$account_password2 = "password2";

STEP 2
EDIT _model\account\act_login.php

Change line 13 to 25 from:

if(($_REQUEST["accountName"] == $account_name) && ($_REQUEST["accountPassword"] == $account_password)) {

// establish their ID and name as session variables for use elsewhere
$_SESSION["accountID"] 	 = "00000000-0000-0000-0000-000000000000"; // account ID's will be used in a later release
$_SESSION["accountName"] = $account_name;

// redirect to main
header( "Location: " . $root_path . "main.default" );
}
else
{
$error = 1;
}

To:

        if(($_REQUEST["accountName"] == $account_name) && ($_REQUEST["accountPassword"] == $account_password)) {
            // establish their ID and name as session variables for use elsewhere
            $_SESSION["accountID"]      = "00000000-0000-0000-0000-000000000000"; // account ID's will be used in a later release
            $_SESSION["accountName"] = $account_name;

            // redirect to main
            header( "Location: " . $root_path . "main.default" );
        }
        elseif (($_REQUEST["accountName"] == $account_name2) && ($_REQUEST["accountPassword"] == $account_password2)) {
            // establish their ID and name as session variables for use elsewhere
            $_SESSION["accountID"]      = "00000000-0000-0000-0000-000000000001"; // account ID's will be used in a later release
            $_SESSION["accountName"] = $account_name2;

            // redirect to main
            header( "Location: " . $root_path . "main.default" );
        }
        else
        {
            $error = 1;
        }

(more…)