Automated SocialEngine login

Automated SocialEngine login

Closed - This job posting has been filled.

Job Description

Create a web page that accepts a userid and password as query string parameters, authenticates against the SocialEngine installation, and redirects the user to the home page of Social Engine upon success (so that the user is now logged in) or show the user an error message on failure.

I am fine if the page is created in raw PHP, but I'll take a plugin "module" if that's easier.

When you bid, please indicate what other SocialEngine customizations you've done, how quickly you can complete the work, your price,and whether you can accomplish the same thing with account creation (for a second small project). We're creating accounts directly in the database, now, and would prefer to use the built-in SocialEngine functions, in case we're missing any tables/values.

I have created this type of page for Wordpress, and it works just fine. Unfortunately, I don't understand enough about zend/SocialEngine to accomplish it on SocialEngine. If it helps you understand what I am looking for, here is the code that works for WordPress that provides the same functionality needed for SocialEngine:

<?php
/** Make sure that the WordPress bootstrap has run before continuing. */
require( dirname(__FILE__) . '/wp-load.php' );

$creds = array();
$creds['user_login'] = $_REQUEST['u'];
$creds['user_password'] = $_REQUEST['p'];
$creds['remember'] = true;
$user = wp_signon( $creds, false );
if ( is_wp_error($user) )
{
echo $user->get_error_message();
}
else
{
header('Location: http://www.pennywatchers.org/blog/');
}
echo 'If you are not automatically redirected, <a href="http://www.pigskingolf.com/blog/">click here</a>';
exit;
?>