Cross-platform Batch Uploading (cpg1.4.x) COMPLETED! Cross-platform Batch Uploading (cpg1.4.x) COMPLETED!
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Cross-platform Batch Uploading (cpg1.4.x) COMPLETED!

Started by AWJunkies, February 04, 2006, 11:51:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AWJunkies

##############################################################
## MOD Title: JUpload Mod
## MOD Author: mstralka < your_email > (Mark Stralka) http://www.photo-junky.com
## MOD Description: This allows users to upload multiple pictures
## easily, even if they do not have Windows XP.  It is a Java applet
## MOD Version: 2.0.0
## MODED by AWJunkies to work with 1.4.x
## Installation Level: Intermediate
## Installation Time: 20 Minutes
## Files To Edit: lang/english.php, upload.php, groupmgr.php, includes/init.inc.php
## Included Files: (n/a)
##############################################################
##############################################################
## Author Notes: Download and install jupload from http://jupload.biz
## Put JUpload.jar in the same directory as your coppermmine files or modify
## function jupload_applet() to point to it
## I recommend you install my Multiple Edit mod first:
## http://coppermine.sourceforge.net/board/index.php?topic=9391.new;
##############################################################
## MOD History:
##
##   2004-07-25 - Version 1.0.0
##      - Initial release, required separate files
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

[edit GauGau 2006-01-29]
Split this thread that deals with the JUpload mod for cpg1.4.x from the "original" thread "Cross-platform Batch Uploading" that was made for cpg1.3.x
Thanks for the contrib.
[/edit]

##Database modifications

ALTER TABLE `cpg143_usergroups` ADD `can_use_jupload` TINYINT( 4 ) DEFAULT '0' NOT NULL ;


lang/english.php
FIND:

if (defined('UPLOAD_PHP')) $lang_upload_php = array(

ADD:

  'jupload_title' => 'Upload multiple photos', //JUpload MOD


Find:

if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(

add this line to the array:

'can_use_jupload' => 'Can use JUpload',


USE MY ATTACHED upload.txt instead of doing all thee upload.php edits! AWJunkies

groupmgr.php - groups need to have permission to use JUPLOAD - added permission field 'can_use_jupload'
FIND:

$field_list = array('can_rate_pictures', 'can_send_ecards', 'can_post_comments', 'can_upload_pictures', 'pub_upl_need_approval', 'can_create_albums', 'priv_upl_need_approval');

Replace With:

$field_list = array('can_rate_pictures', 'can_send_ecards', 'can_post_comments', 'can_upload_pictures', 'pub_upl_need_approval', 'can_create_albums', 'priv_upl_need_approval', 'can_use_jupload');


FIND:

function process_post_data()
{
    global $CONFIG;

    $field_list = array('group_name', 'group_quota', 'can_rate_pictures', 'can_send_ecards', 'can_post_comments', 'can_upload_pictures', 'pub_upl_need_approval', 'can_create_albums', 'priv_upl_need_approval', 'upload_form_config', 'custom_user_upload', 'num_file_upload', 'num_URI_upload');

Replace With:

function process_post_data()
{
    global $CONFIG;
    //added 'can_use_jupload'
    $field_list = array('group_name', 'group_quota', 'can_rate_pictures', 'can_send_ecards', 'can_post_comments', 'can_upload_pictures', 'pub_upl_need_approval', 'can_create_albums', 'priv_upl_need_approval', 'can_use_jupload','upload_form_config', 'custom_user_upload', 'num_file_upload', 'num_URI_upload');


FIND:

            elseif ($field_name=='priv_upl_need_approval') {
                echo $tr_start.$td_start.$lang_groupmgr_php['approval'].$td_end;
            }

After ADD:

            //JUpload MOD
            elseif ($field_name=='can_use_jupload') {
                echo $tr_start.$td_start.$lang_groupmgr_php['can_use_jupload'].$td_end;
            }


includes/functions.inc.php - modified authentication to work with JUpload - pass cookies as GET parameter because I couldn't get JUpload cookie parameter to work
FIND:

function user_get_profile()
{
        global $CONFIG, $USER;

        if (isset($_COOKIE[$CONFIG['cookie_name'].'_data'])) {
                $USER = @unserialize(@base64_decode($_COOKIE[$CONFIG['cookie_name'].'_data']));
        }

        if (!isset($USER['ID']) || strlen($USER['ID']) != 32) {
                list($usec, $sec) = explode(' ', microtime());
                $seed = (float) $sec + ((float) $usec * 100000);
                srand($seed);
                $USER=array('ID' => md5(uniqid(rand(),1)));
        } else {
                $USER['ID'] = addslashes($USER['ID']);
        }

        if (!isset($USER['am'])) $USER['am'] = 1;
}

Replace With:

function user_get_profile()
{
global $CONFIG, $USER;
if (isset($_COOKIE[$CONFIG['cookie_name'].'_data'])) {
$USER = @unserialize(@base64_decode($_COOKIE[$CONFIG['cookie_name'].'_data']));
} else if (isset($_GET["cookie"])) {
//JUpload Modification Mark Stralka 7/25/2004
//if a parameter named "cookie" is passed, try to parse it into the the $USER object and
//set the cookie values.
$USER = @unserialize(@base64_decode($_GET["cookie"]));
$_COOKIE[$CONFIG['cookie_name'].'_uid'] = $USER[$CONFIG['cookie_name'].'_uid'];
$_COOKIE[$CONFIG['cookie_name'].'_data'] = $USER[$CONFIG['cookie_name'].'_data'];
$_COOKIE[$CONFIG['cookie_name'].'_pass'] = $USER[$CONFIG['cookie_name'].'_pass'];
}

if (!isset($USER['ID']) || strlen($USER['ID']) != 32) {
list($usec, $sec) = explode(' ', microtime());
$seed = (float) $sec + ((float) $usec * 100000);
srand($seed);
$USER=array('ID' => md5(uniqid(rand(),1)));
} else {
$USER['ID'] = addslashes($USER['ID']);
}

if (!isset($USER['am'])) $USER['am'] = 1;
}


bridge/udb_base.inc.php - added new config variable USER_CAN_USE_JUPLOAD
FIND:

define('USER_ID', $USER_DATA['user_id']);
        define('USER_NAME', addslashes($USER_DATA['user_name']));
        define('USER_GROUP', $USER_DATA['group_name']);
        define('USER_GROUP_SET', $user_group_set);
        define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
        define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);

Replace With:

define('USER_ID', $USER_DATA['user_id']);
        define('USER_NAME', addslashes($USER_DATA['user_name']));
        define('USER_GROUP', $USER_DATA['group_name']);
        define('USER_GROUP_SET', $user_group_set);
        define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
        define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
//JUpload Modification Mark Stralka 7/25/2004
define('USER_CAN_USE_JUPLOAD', (int)$USER_DATA['can_use_jupload']);
        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);


FIND:

            $result = cpg_db_query("SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, " .
                            "MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, " .
                            "MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, " .
                            "MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, " .
                            "MAX(num_URI_upload) as num_URI_upload, " .
                            "MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, " .
                            "MAX(can_create_albums) as can_create_albums, " .
                            "MAX(has_admin_access) as has_admin_access, " .
                            "MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval, ".
                            "FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id in (" .  implode(",", $groups). ")");

Replace With:

            $result = cpg_db_query("SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, " .
                            "MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, " .
                            "MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, " .
                            "MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, " .
                            "MAX(num_URI_upload) as num_URI_upload, " .
                            "MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, " .
                            "MAX(can_create_albums) as can_create_albums, " .
                            "MAX(has_admin_access) as has_admin_access, " .
                            "MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval, ".
                            //JUpload MOD
                            "MAX(can_use_jupload) as can_use_jupload " .
                            "FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id in (" .  implode(",", $groups). ")");



There is still minor problems with the MOD but need help. Everything is working but cookies!

If someone could help me with this JUpload MOD to 1.4.3 Stand alone stable. Everything seems to be working but the cookie stuff. The core code is totaly different in 1.4.3.

1.3.5
functions.inc.php before JUpload MOD
function user_get_profile()
{
        global $CONFIG, $USER, $HTTP_COOKIE_VARS;

        if (isset($HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_data'])) {
                $USER = @unserialize(@base64_decode($HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_data']));
        }

        if (!isset($USER['ID']) || strlen($USER['ID']) != 32) {
                list($usec, $sec) = explode(' ', microtime());
                $seed = (float) $sec + ((float) $usec * 100000);
                srand($seed);
                $USER=array('ID' => md5(uniqid(rand(),1)));
        } else {
                $USER['ID'] = addslashes($USER['ID']);
        }

        if (!isset($USER['am'])) $USER['am'] = 1;
}


1.3.5
functions.inc.php WITH JUpload MOD
function user_get_profile()
{
global $CONFIG, $USER, $HTTP_COOKIE_VARS;
if (isset($HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_data'])) {
$USER = @unserialize(@base64_decode($HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_data']));
} else if (isset($_GET["cookie"])) {
//JUpload Modification Mark Stralka 7/25/2004
//if a parameter named "cookie" is passed, try to parse it into the the $USER object and
//set the cookie values.
$USER = @unserialize(@base64_decode($_GET["cookie"]));
$HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_uid'] = $USER[$CONFIG['cookie_name'].'_uid'];
$HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_data'] = $USER[$CONFIG['cookie_name'].'_data'];
$HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_pass'] = $USER[$CONFIG['cookie_name'].'_pass'];
}

if (!isset($USER['ID']) || strlen($USER['ID']) != 32) {
list($usec, $sec) = explode(' ', microtime());
$seed = (float) $sec + ((float) $usec * 100000);
srand($seed);
$USER=array('ID' => md5(uniqid(rand(),1)));
} else {
$USER['ID'] = addslashes($USER['ID']);
}

if (!isset($USER['am'])) $USER['am'] = 1;
}


1.4.3
functions.inc.php before JUpload MOD
function user_get_profile()
{
        global $CONFIG, $USER;

        if (isset($_COOKIE[$CONFIG['cookie_name'].'_data'])) {
                $USER = @unserialize(@base64_decode($_COOKIE[$CONFIG['cookie_name'].'_data']));
        }

        if (!isset($USER['ID']) || strlen($USER['ID']) != 32) {
                list($usec, $sec) = explode(' ', microtime());
                $seed = (float) $sec + ((float) $usec * 100000);
                srand($seed);
                $USER=array('ID' => md5(uniqid(rand(),1)));
        } else {
                $USER['ID'] = addslashes($USER['ID']);
        }

        if (!isset($USER['am'])) $USER['am'] = 1;
}


1.4.3
functions.inc.php WITH JUpload MOD
function user_get_profile()
{
global $CONFIG, $USER;
if (isset($_COOKIE[$CONFIG['cookie_name'].'_data'])) {
$USER = @unserialize(@base64_decode($_COOKIE[$CONFIG['cookie_name'].'_data']));
} else if (isset($_GET["cookie"])) {
//JUpload Modification Mark Stralka 7/25/2004
//if a parameter named "cookie" is passed, try to parse it into the the $USER object and
//set the cookie values.
$USER = @unserialize(@base64_decode($_GET["cookie"]));
$_COOKIE[$CONFIG['cookie_name'].'_uid'] = $USER[$CONFIG['cookie_name'].'_uid'];
$_COOKIE[$CONFIG['cookie_name'].'_data'] = $USER[$CONFIG['cookie_name'].'_data'];
$_COOKIE[$CONFIG['cookie_name'].'_pass'] = $USER[$CONFIG['cookie_name'].'_pass'];
}

if (!isset($USER['ID']) || strlen($USER['ID']) != 32) {
list($usec, $sec) = explode(' ', microtime());
$seed = (float) $sec + ((float) $usec * 100000);
srand($seed);
$USER=array('ID' => md5(uniqid(rand(),1)));
} else {
$USER['ID'] = addslashes($USER['ID']);
}

if (!isset($USER['am'])) $USER['am'] = 1;
}


Now I am not sure if I applied this right or if the $USER[$CONFIG['cookie_name'].'_uid']; and other two peramiters even work to push to cookie. Now the authentification() function is totaly different from 1.3.5 and 1.4.3 and is causing me some confusion.

1.3.5
init.inc.php
// Authenticate
if (defined('UDB_INTEGRATION')) {
    udb_authenticate();
} else {
    if (!isset($HTTP_COOKIE_VARS[$CONFIG['cookie_name'] . '_uid']) || !isset($HTTP_COOKIE_VARS[$CONFIG['cookie_name'] . '_pass'])) {
        $cookie_uid = 0;
        $cookie_pass = '*';
    } else {
        $cookie_uid = (int)$HTTP_COOKIE_VARS[$CONFIG['cookie_name'] . '_uid'];
        $cookie_pass = substr(addslashes($HTTP_COOKIE_VARS[$CONFIG['cookie_name'] . '_pass']), 0, 32);
    }

    $sql = "SELECT * " . "FROM {$CONFIG['TABLE_USERS']} WHERE user_id='$cookie_uid'" . "AND user_active = 'YES' " . "AND user_password != '' " . "AND BINARY MD5(user_password) = '$cookie_pass'";
    $results = db_query($sql);

    if (mysql_num_rows($results)) {
        $USER_DATA = mysql_fetch_assoc($results);
        //unset($USER_DATA['user_password']);
        $USER_DATA['user_password'] = '********';

                $USER_DATA = $USER_DATA + cpgGetUserData($USER_DATA['user_group'], explode(',', $USER_DATA['user_group_list']));

        define('USER_ID', (int)$USER_DATA['user_id']);
        define('USER_NAME', $USER_DATA['user_name']);
        define('USER_GROUP', $USER_DATA['group_name']);
        define('USER_GROUP_SET', '(' . implode(',', $USER_DATA['groups']) . ')');
        define('USER_IS_ADMIN', (int)$USER_DATA['has_admin_access']);
        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
        define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);
        mysql_free_result($results);
    } else {
        $USER_DATA = cpgGetUserData(3, array(3));
        define('USER_ID', 0);
        define('USER_NAME', 'Anonymous');
        define('USER_GROUP', $USER_DATA['group_name']);
        define('USER_GROUP_SET', '(' . $USER_DATA['group_id'] . ')');
        define('USER_IS_ADMIN', 0);
        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
        define('USER_CAN_CREATE_ALBUMS', 0);
        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);
        mysql_free_result($results);
    }
}


1.4.3
init.inc.php
// Authenticate
$cpg_udb->authenticate();

AWJunkies

So now lets follow the authenticate function on the 1.4.3 and see what it is doing.

1.4.3
udb_base.inc.php
function authenticate()
{
global $USER_DATA;

if (!($auth = $this->session_extraction()) && !($auth = $this->cookie_extraction())) {
$this->load_guest_data();
} else {
list ($id, $cookie_pass) = $auth;
$f = $this->field;

if (isset($this->usergroupstable)){
$sql = "SELECT u.{$f['user_id']} AS id, u.{$f['username']} AS username, u.{$f['password']} AS password, ug.{$f['usertbl_group_id']} AS group_id ".
   "FROM {$this->usertable} AS u, {$this->usergroupstable} AS ug ".
   "WHERE u.{$f['user_id']}=ug.{$f['user_id']} AND u.{$f['user_id']}='$id'";
} else {
$sql = "SELECT u.{$f['user_id']} AS id, u.{$f['username']} AS username, u.{$f['password']} AS password, u.{$f['usertbl_group_id']}+100 AS group_id ".
   "FROM {$this->usertable} AS u INNER JOIN {$this->groupstable} AS g ON u.{$f['usertbl_group_id']}=g.{$f['grouptbl_group_id']} ".
   "WHERE u.{$f['user_id']}='$id'";
}

$result = cpg_db_query($sql, $this->link_id);

if (mysql_num_rows($result)){
$row = mysql_fetch_assoc($result);
mysql_free_result($result);

$db_pass = $this->udb_hash_db($row['password']);
if ($db_pass === $cookie_pass) {
$this->load_user_data($row);
} else {
$this->load_guest_data();
}
} else {
$this->load_guest_data();
}
}

$user_group_set = '(' . implode(',', $USER_DATA['groups']) . ')';

        $USER_DATA = array_merge($USER_DATA, $this->get_user_data($USER_DATA['groups'][0], $USER_DATA['groups'], $this->guestgroup));

if ($this->use_post_based_groups){
$USER_DATA['has_admin_access'] = (in_array($USER_DATA['groups'][0] - 100,$this->admingroups)) ? 1 : 0;
} else {
$USER_DATA['has_admin_access'] = ($USER_DATA['groups'][0] == 1) ? 1 : 0;
}

$USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'];

// avoids a template error
if (!$USER_DATA['user_id']) $USER_DATA['can_create_albums'] = 0;

    // For error checking
$CONFIG['TABLE_USERS'] = '**ERROR**';

define('USER_ID', $USER_DATA['user_id']);
        define('USER_NAME', addslashes($USER_DATA['user_name']));
        define('USER_GROUP', $USER_DATA['group_name']);
        define('USER_GROUP_SET', $user_group_set);
        define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
        define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);

$this->session_update();
}



So everything changed. Now I have no idea what is going on right here" list ($id, $cookie_pass) = $auth; " . So basicaly I need to know how to apply the idea of what they where doing here:
} else if (isset($_GET["cookie"])) {
//JUpload Modification Mark Stralka 7/25/2004
//if a parameter named "cookie" is passed, try to parse it into the the $USER object and
//set the cookie values.
$USER = @unserialize(@base64_decode($_GET["cookie"]));
$HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_uid'] = $USER[$CONFIG['cookie_name'].'_uid'];
$HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_data'] = $USER[$CONFIG['cookie_name'].'_data'];
$HTTP_COOKIE_VARS[$CONFIG['cookie_name'].'_pass'] = $USER[$CONFIG['cookie_name'].'_pass'];

to the 1.4.3.

I loaded 1.3.5 and did all the mods to make JUpload work. It does and works the way it should. Now I have the status of both applets 1.3.5 and 1.4.3 during the whole process. The only difference between the two is the cookies at the beginning of the network connecting. The 1.3.5 identifies the user id, user password, and user data off the cookie. The 1.4.3 has no idea what is going on. PLEASE help with this. It seems it is one snippet of code holding this mod back. I put all details and info on the above post someone should be able to figure it out. Attached is the two files just use textpad to compare the files so you can see the difference. I will post the network connecting that I was talking about above here:

1.3.5
network: Connecting http://www.allwheelvideos.com/cpg135/jupload.jar with proxy=DIRECT
network: Connecting http://www.allwheelvideos.com/cpg135/jupload.jar with cookie "cpg133_data=YToyOntzOjI6IklEIjtzOjMyOiJjNzQ0Mjk0M2Y1YzdlMmMyOTJlNDYwM2YwY2JmY2U1ZSI7czoyOiJhbSI7aToxO30%3D; cpg133_uid=1; cpg133_pass=8621ffdbc5698829397d97767ac13db3"


1.4.3
network: Connecting http://www.allwheelphotos.com/jupload.jar with proxy=DIRECT
network: Connecting http://www.allwheelphotos.com/jupload.jar with cookie "fad94e3096a9152088378fd3e141c087=52e827222741abcea1d71de65982b5bc; phpbb2mysql_data=YTo2OntzOjI6IklEIjtzOjMyOiIxY2ZiZWUwNzU4NTZlNmRhZDBhNmY5MmM4NjNkZjllYSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo0OiIyNjE5IjtpOjE7czo0OiI3NjQ4IjtpOjI7czo0OiI3NzIzIjtpOjM7czoyOiI0OSI7aTo0O3M6NDoiNjgyMiI7fXM6Njoic2VhcmNoIjthOjc6e3M6Njoic2VhcmNoIjtzOjk6IkFXSnVua2llcyI7czo1OiJhbGJ1bSI7czo2OiJzZWFyY2giO3M6MTA6Im5ld2VyX3RoYW4iO3M6MDoiIjtzOjEwOiJvbGRlcl90aGFuIjtzOjA6IiI7czoxMDoib3duZXJfbmFtZSI7czoyOiJvbiI7czo0OiJ0eXBlIjtzOjM6IkFORCI7czo2OiJwYXJhbXMiO2E6MTp7czoxMDoib3duZXJfbmFtZSI7czoyOiJvbiI7fX1zOjM6ImxhcCI7aToxO30%3D; e26b0370ca49f1512f5c2a586a2ae4a8=e9de4ac1e22b906faf4043c9ae923c1c; e4b48f3e26a9e808e59c1065b945e3c8=1042ad5372579a9dbbfeca453a0c533b"



AWJunkies

I DID IT! I will post the extra edits to make this MOD work on monday! Thanks to guice for helping me.