Since both my 4images and ib were fairly new installations, I edited my ibf_members table to look like this:
#
# Structure for Table ibf_members
#
DROP TABLE IF EXISTS ibf_members;
CREATE TABLE ibf_members (
id bigint(10) NOT NULL default '0',
name varchar(32) NOT NULL default '',
mgroup tinyint(2) NOT NULL default '0',
password varchar(32) NOT NULL default '',
email varchar(60) NOT NULL default '',
i_user_level smallint(6) NOT NULL default '2',
i_user_showemail tinyint(1) NOT NULL default '0',
i_user_allowemails tinyint(1) NOT NULL default '1',
i_user_invisible tinyint(1) NOT NULL default '0',
i_user_activationkey varchar(32) NOT NULL default '',
i_user_lastaction int(11) NOT NULL default '0',
i_user_location varchar(255) NOT NULL default '',
i_user_lastvisit int(11) NOT NULL default '0',
joined int(10) NOT NULL default '0',
ip_address varchar(16) NOT NULL default '',
avatar varchar(128) default NULL,
avatar_size varchar(9) default NULL,
posts mediumint(7) default '0',
photo varchar(70) default NULL,
aim_name varchar(40) default NULL,
icq_number varchar(40) default NULL,
location varchar(128) default NULL,
signature text,
website varchar(70) default NULL,
yahoo varchar(32) default NULL,
title varchar(64) default NULL,
allow_admin_mails tinyint(1) default NULL,
time_offset varchar(10) default NULL,
interests text,
hide_email varchar(8) default NULL,
email_pm tinyint(1) default NULL,
email_full tinyint(1) default NULL,
skin smallint(5) default NULL,
warn_level int(10) default NULL,
language varchar(32) default NULL,
msnname varchar(64) default NULL,
last_post int(10) default NULL,
allow_post tinyint(1) default '1',
view_sigs tinyint(1) default '1',
view_img tinyint(1) default '1',
view_avs tinyint(1) default '1',
view_pop tinyint(1) default '1',
bday_day int(2) default NULL,
bday_month int(2) default NULL,
bday_year int(4) default NULL,
new_msg tinyint(2) default NULL,
msg_from_id varchar(32) default NULL,
msg_msg_id int(10) default NULL,
msg_total smallint(5) default NULL,
vdirs text,
show_popup tinyint(1) default NULL,
validate_key varchar(32) default NULL,
prev_group smallint(3) default '0',
new_pass varchar(32) default NULL,
misc varchar(128) default NULL,
last_visit int(10) default '0',
last_activity int(10) default '0',
dst_in_use tinyint(1) default '0',
PRIMARY KEY (id),
KEY name (name),
KEY mgroup (mgroup)
) TYPE=MyISAM;
#
# Table Data for ibf_members
#
INSERT INTO ibf_members (id, name, mgroup, password, email, i_user_level, i_user_showemail, i_user_allowemails, i_user_invisible, i_user_activationkey, i_user_lastaction, i_user_location, i_user_lastvisit, joined, ip_address, avatar, avatar_size, posts, photo, aim_name, icq_number, location, signature, website, yahoo, title, allow_admin_mails, time_offset, interests, hide_email, email_pm, email_full, skin, warn_level, language, msnname, last_post, allow_post, view_sigs, view_img, view_avs, view_pop, bday_day, bday_month, bday_year, new_msg, msg_from_id, msg_msg_id, msg_total, vdirs, show_popup, validate_key, prev_group, new_pass, misc, last_visit, last_activity, dst_in_use) VALUES (0, 'Guest', 2, '', 'guest@ibforums.com', -1, 1, 0, 0, '', 0, '', 0, 0, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '0', 1036056227, 1036056227, 0);
INSERT INTO ibf_members (id, name, mgroup, password, email, i_user_level, i_user_showemail, i_user_allowemails, i_user_invisible, i_user_activationkey, i_user_lastaction, i_user_location, i_user_lastvisit, joined, ip_address, avatar, avatar_size, posts, photo, aim_name, icq_number, location, signature, website, yahoo, title, allow_admin_mails, time_offset, interests, hide_email, email_pm, email_full, skin, warn_level, language, msnname, last_post, allow_post, view_sigs, view_img, view_avs, view_pop, bday_day, bday_month, bday_year, new_msg, msg_from_id, msg_msg_id, msg_total, vdirs, show_popup, validate_key, prev_group, new_pass, misc, last_visit, last_activity, dst_in_use) VALUES (1, 'Aaron', 4, 'somepassword', 'aaron@klubdiva.com', 9, 1, 1, 0, '1e3457c0b2052a9633b886fd75ef91e0', 1036056581, 'Control Panel', 1035673621, 1035695458, '127.0.0.1', NULL, NULL, 0, '', 'Klub Diva', '98001627', '', NULL, 'http://www.klubdiva.com', 'DopeyAaron', 'Administrator', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, 'aaronjsaxton@hotmail.com', NULL, 1, 1, 1, 1, 1, 28, 11, 1982, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, 1036056159, 1036056164, 0);
Basically I just added the vars 'i_user_level', 'i_user_showemail', 'i_user_allowemails', 'i_user_invisible', 'i_user_activationkey', 'i_user_lastaction', 'i_user_location', and 'i_user_lastvisit' (which all correspond with the vars in 4images - 'user_level', 'user_showemail', 'user_allowemails', 'user_invisible', 'user_activationkey', 'user_lastaction', 'user_location', 'user_lastvisit') to the table structure, and inserted them manually with the default values.
While I was doing this, I also deleted all rows in tables ibf_sessions and 4images_sessionvars. After that, I re-uploaded the changed sql database and restored it via 4images control panel, then made the other changes.
After that I used the same modifications as in genius' betarelease, except for in sessions.php I have the settings as follows for the user_table_settings array:
$user_table_fields = array(
"user_id" => "id",
"user_level" => "i_user_level",
"user_name" => "name",
"user_password" => "password",
"user_email" => "email",
"user_showemail" => "i_user_showemail",
"user_allowemails" => "i_user_allowemails",
"user_invisible" => "i_user_invisible",
"user_joindate" => "joined",
"user_activationkey" => "i_user_activationkey",
"user_lastaction" => "i_user_lastaction",
"user_location" => "i_user_location",
"user_lastvisit" => "i_user_lastvisit",
"user_comments" => "posts",
"user_homepage" => "website",
"user_icq" => "icq_number"
);
user_comments corresponds to 'posts', thus the total amount of posts for user is 4images comments plus ib posts.
And commented out the define command for templates as such:
// define('VB_TEMPLATE_TABLE', 'template');
and changed the following template-related commands:
// $optionstemp = $site_db->query_firstrow("SELECT template FROM ".VB_TEMPLATE_TABLE." WHERE title='options'");
// eval($optionstemp['template']);
define('COOKIE_NAME', '');
define('COOKIE_PATH', '');
define('COOKIE_DOMAIN', 'klubdiva.com');
$secure = (isset($SERVER_PORT) && $SERVER_PORT == "443") ? 1 : 0;
define('COOKIE_SECURE', $secure);
COOKIE_DOMAIN should be defined as your domain, not mine.
And it worked! Now I'm in the process of making minor modifications to ib so that the options for i_user_invisible, i_user_showemail, i_user_allowemails can be changed through the member control panels. This way, a user can choose to be invisible on ib and not invisible on 4images, or show email address on 4images and not on ib, or allow emails from mods/admins on 4images and not on ib, etc.