mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #2088 from nickvergessen/ticket/12236
Ticket/12236 Convert AOL and Yahoo to custom profile fields
This commit is contained in:
commit
4b6f3f8b0f
43 changed files with 291 additions and 245 deletions
|
@ -2,14 +2,6 @@
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_USER_PROFILE}</legend>
|
<legend>{L_USER_PROFILE}</legend>
|
||||||
<dl>
|
|
||||||
<dt><label for="aim">{L_UCP_AIM}{L_COLON}</label></dt>
|
|
||||||
<dd><input type="text" id="aim" name="aim" value="{AIM}" /></dd>
|
|
||||||
</dl>
|
|
||||||
<dl>
|
|
||||||
<dt><label for="yim">{L_UCP_YIM}{L_COLON}</label></dt>
|
|
||||||
<dd><input type="text" id="yim" name="yim" value="{YIM}" /></dd>
|
|
||||||
</dl>
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="jabber">{L_UCP_JABBER}{L_COLON}</label></dt>
|
<dt><label for="jabber">{L_UCP_JABBER}{L_COLON}</label></dt>
|
||||||
<dd><input type="email" id="jabber" name="jabber" value="{JABBER}" /></dd>
|
<dd><input type="email" id="jabber" name="jabber" value="{JABBER}" /></dd>
|
||||||
|
|
|
@ -370,8 +370,6 @@ function make_user($username)
|
||||||
$signature_bbcode_uid = "";
|
$signature_bbcode_uid = "";
|
||||||
$avatar_filename = "";
|
$avatar_filename = "";
|
||||||
$viewemail = 0;
|
$viewemail = 0;
|
||||||
$aim = 0;
|
|
||||||
$yim = 0;
|
|
||||||
$attachsig = 1;
|
$attachsig = 1;
|
||||||
$allowsmilies = 1;
|
$allowsmilies = 1;
|
||||||
$allowhtml = 1;
|
$allowhtml = 1;
|
||||||
|
@ -416,8 +414,8 @@ function make_user($username)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email, user_sig, user_sig_bbcode_uid, user_avatar, user_viewemail, user_aim, user_yim, user_attachsig, user_allowsmilies, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey)
|
$sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email, user_sig, user_sig_bbcode_uid, user_avatar, user_viewemail, user_attachsig, user_allowsmilies, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey)
|
||||||
VALUES ($new_user_id, '$username', " . time() . ", '$password', '$email', '$signature', '$signature_bbcode_uid', '$avatar_filename', $viewemail, '$aim', '$yim', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $user_timezone, '$user_dateformat', '$user_lang', $user_style, 0, 1, ";
|
VALUES ($new_user_id, '$username', " . time() . ", '$password', '$email', '$signature', '$signature_bbcode_uid', '$avatar_filename', $viewemail, $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $user_timezone, '$user_dateformat', '$user_lang', $user_style, 0, 1, ";
|
||||||
|
|
||||||
|
|
||||||
$sql .= "1, '')";
|
$sql .= "1, '')";
|
||||||
|
|
|
@ -1360,8 +1360,6 @@ class acp_users
|
||||||
$user_row['iso_lang_id'] = $row['lang_id'];
|
$user_row['iso_lang_id'] = $row['lang_id'];
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
'aim' => request_var('aim', $user_row['user_aim']),
|
|
||||||
'yim' => request_var('yim', $user_row['user_yim']),
|
|
||||||
'jabber' => utf8_normalize_nfc(request_var('jabber', $user_row['user_jabber'], true)),
|
'jabber' => utf8_normalize_nfc(request_var('jabber', $user_row['user_jabber'], true)),
|
||||||
'bday_day' => 0,
|
'bday_day' => 0,
|
||||||
'bday_month' => 0,
|
'bday_month' => 0,
|
||||||
|
@ -1382,11 +1380,9 @@ class acp_users
|
||||||
if ($submit)
|
if ($submit)
|
||||||
{
|
{
|
||||||
$error = validate_data($data, array(
|
$error = validate_data($data, array(
|
||||||
'aim' => array('string', true, 3, 255),
|
|
||||||
'jabber' => array(
|
'jabber' => array(
|
||||||
array('string', true, 5, 255),
|
array('string', true, 5, 255),
|
||||||
array('jabber')),
|
array('jabber')),
|
||||||
'yim' => array('string', true, 5, 255),
|
|
||||||
'bday_day' => array('num', true, 1, 31),
|
'bday_day' => array('num', true, 1, 31),
|
||||||
'bday_month' => array('num', true, 1, 12),
|
'bday_month' => array('num', true, 1, 12),
|
||||||
'bday_year' => array('num', true, 1901, gmdate('Y', time())),
|
'bday_year' => array('num', true, 1901, gmdate('Y', time())),
|
||||||
|
@ -1408,8 +1404,6 @@ class acp_users
|
||||||
if (!sizeof($error))
|
if (!sizeof($error))
|
||||||
{
|
{
|
||||||
$sql_ary = array(
|
$sql_ary = array(
|
||||||
'user_aim' => $data['aim'],
|
|
||||||
'user_yim' => $data['yim'],
|
|
||||||
'user_jabber' => $data['jabber'],
|
'user_jabber' => $data['jabber'],
|
||||||
'user_birthday' => $data['user_birthday'],
|
'user_birthday' => $data['user_birthday'],
|
||||||
);
|
);
|
||||||
|
@ -1454,10 +1448,7 @@ class acp_users
|
||||||
unset($now);
|
unset($now);
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'YIM' => $data['yim'],
|
|
||||||
'AIM' => $data['aim'],
|
|
||||||
'JABBER' => $data['jabber'],
|
'JABBER' => $data['jabber'],
|
||||||
|
|
||||||
'S_BIRTHDAY_DAY_OPTIONS' => $s_birthday_day_options,
|
'S_BIRTHDAY_DAY_OPTIONS' => $s_birthday_day_options,
|
||||||
'S_BIRTHDAY_MONTH_OPTIONS' => $s_birthday_month_options,
|
'S_BIRTHDAY_MONTH_OPTIONS' => $s_birthday_month_options,
|
||||||
'S_BIRTHDAY_YEAR_OPTIONS' => $s_birthday_year_options,
|
'S_BIRTHDAY_YEAR_OPTIONS' => $s_birthday_year_options,
|
||||||
|
|
|
@ -795,7 +795,9 @@ $schema_data['phpbb_profile_fields_data'] = array(
|
||||||
'pf_phpbb_interests' => array('TEXT_UNI', ''),
|
'pf_phpbb_interests' => array('TEXT_UNI', ''),
|
||||||
'pf_phpbb_occupation' => array('TEXT_UNI', ''),
|
'pf_phpbb_occupation' => array('TEXT_UNI', ''),
|
||||||
'pf_phpbb_icq' => array('VCHAR', ''),
|
'pf_phpbb_icq' => array('VCHAR', ''),
|
||||||
|
'pf_phpbb_aol' => array('VCHAR', ''),
|
||||||
'pf_phpbb_wlm' => array('VCHAR', ''),
|
'pf_phpbb_wlm' => array('VCHAR', ''),
|
||||||
|
'pf_phpbb_yahoo' => array('VCHAR', ''),
|
||||||
'pf_phpbb_website' => array('VCHAR', ''),
|
'pf_phpbb_website' => array('VCHAR', ''),
|
||||||
),
|
),
|
||||||
'PRIMARY_KEY' => 'user_id',
|
'PRIMARY_KEY' => 'user_id',
|
||||||
|
@ -1175,8 +1177,6 @@ $schema_data['phpbb_users'] = array(
|
||||||
'user_sig' => array('MTEXT_UNI', ''),
|
'user_sig' => array('MTEXT_UNI', ''),
|
||||||
'user_sig_bbcode_uid' => array('VCHAR:8', ''),
|
'user_sig_bbcode_uid' => array('VCHAR:8', ''),
|
||||||
'user_sig_bbcode_bitfield' => array('VCHAR:255', ''),
|
'user_sig_bbcode_bitfield' => array('VCHAR:255', ''),
|
||||||
'user_aim' => array('VCHAR_UNI', ''),
|
|
||||||
'user_yim' => array('VCHAR_UNI', ''),
|
|
||||||
'user_jabber' => array('VCHAR_UNI', ''),
|
'user_jabber' => array('VCHAR_UNI', ''),
|
||||||
'user_form_salt' => array('VCHAR_UNI:32', ''),
|
'user_form_salt' => array('VCHAR_UNI:32', ''),
|
||||||
'user_new' => array('BOOL', 1),
|
'user_new' => array('BOOL', 1),
|
||||||
|
|
|
@ -209,8 +209,6 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
|
||||||
'MESSAGE_ID' => $message_row['msg_id'],
|
'MESSAGE_ID' => $message_row['msg_id'],
|
||||||
|
|
||||||
'U_PM' => ($config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_info['user_allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&u=' . $author_id) : '',
|
'U_PM' => ($config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_info['user_allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&u=' . $author_id) : '',
|
||||||
'U_AIM' => ($user_info['user_aim'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=aim&u=' . $author_id) : '',
|
|
||||||
'U_YIM' => ($user_info['user_yim']) ? 'http://edit.yahoo.com/config/send_webmesg?.target=' . urlencode($user_info['user_yim']) . '&.src=pg' : '',
|
|
||||||
'U_JABBER' => ($user_info['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=jabber&u=' . $author_id) : '',
|
'U_JABBER' => ($user_info['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=jabber&u=' . $author_id) : '',
|
||||||
|
|
||||||
'U_DELETE' => ($auth->acl_get('u_pm_delete')) ? "$url&mode=compose&action=delete&f=$folder_id&p=" . $message_row['msg_id'] : '',
|
'U_DELETE' => ($auth->acl_get('u_pm_delete')) ? "$url&mode=compose&action=delete&f=$folder_id&p=" . $message_row['msg_id'] : '',
|
||||||
|
|
|
@ -264,8 +264,6 @@ class ucp_profile
|
||||||
$cp_data = $cp_error = array();
|
$cp_data = $cp_error = array();
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
'aim' => request_var('aim', $user->data['user_aim']),
|
|
||||||
'yim' => request_var('yim', $user->data['user_yim']),
|
|
||||||
'jabber' => utf8_normalize_nfc(request_var('jabber', $user->data['user_jabber'], true)),
|
'jabber' => utf8_normalize_nfc(request_var('jabber', $user->data['user_jabber'], true)),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -289,11 +287,9 @@ class ucp_profile
|
||||||
if ($submit)
|
if ($submit)
|
||||||
{
|
{
|
||||||
$validate_array = array(
|
$validate_array = array(
|
||||||
'aim' => array('string', true, 3, 255),
|
|
||||||
'jabber' => array(
|
'jabber' => array(
|
||||||
array('string', true, 5, 255),
|
array('string', true, 5, 255),
|
||||||
array('jabber')),
|
array('jabber')),
|
||||||
'yim' => array('string', true, 5, 255),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($config['allow_birthdays'])
|
if ($config['allow_birthdays'])
|
||||||
|
@ -333,8 +329,6 @@ class ucp_profile
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql_ary = array(
|
$sql_ary = array(
|
||||||
'user_aim' => $data['aim'],
|
|
||||||
'user_yim' => $data['yim'],
|
|
||||||
'user_jabber' => $data['jabber'],
|
'user_jabber' => $data['jabber'],
|
||||||
'user_notify_type' => $data['notify'],
|
'user_notify_type' => $data['notify'],
|
||||||
);
|
);
|
||||||
|
@ -397,9 +391,6 @@ class ucp_profile
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
|
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
|
||||||
|
|
||||||
'YIM' => $data['yim'],
|
|
||||||
'AIM' => $data['aim'],
|
|
||||||
'JABBER' => $data['jabber'],
|
'JABBER' => $data['jabber'],
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
@ -907,8 +907,6 @@ if (!$get_info)
|
||||||
array('user_inactive_time', '', 'phpbb_inactive_time'),
|
array('user_inactive_time', '', 'phpbb_inactive_time'),
|
||||||
|
|
||||||
array('user_jabber', '', ''),
|
array('user_jabber', '', ''),
|
||||||
array('user_yim', 'users.user_yim', array('function1' => 'phpbb_set_encoding')),
|
|
||||||
array('user_aim', 'users.user_aim', array('function1' => 'phpbb_set_encoding')),
|
|
||||||
array('user_rank', 'users.user_rank', 'intval'),
|
array('user_rank', 'users.user_rank', 'intval'),
|
||||||
array('user_permissions', '', ''),
|
array('user_permissions', '', ''),
|
||||||
|
|
||||||
|
@ -962,6 +960,8 @@ if (!$get_info)
|
||||||
array('pf_phpbb_location', 'users.user_from', array('function1' => 'phpbb_set_encoding')),
|
array('pf_phpbb_location', 'users.user_from', array('function1' => 'phpbb_set_encoding')),
|
||||||
array('pf_phpbb_icq', 'users.user_icq', array('function1' => 'phpbb_set_encoding')),
|
array('pf_phpbb_icq', 'users.user_icq', array('function1' => 'phpbb_set_encoding')),
|
||||||
array('pf_phpbb_wlm', 'users.user_msnm', array('function1' => 'phpbb_set_encoding')),
|
array('pf_phpbb_wlm', 'users.user_msnm', array('function1' => 'phpbb_set_encoding')),
|
||||||
|
array('pf_phpbb_yahoo', 'users.user_yim', array('function1' => 'phpbb_set_encoding')),
|
||||||
|
array('pf_phpbb_aol', 'users.user_aim', array('function1' => 'phpbb_set_encoding')),
|
||||||
array('pf_phpbb_website', 'users.user_website', 'validate_website'),
|
array('pf_phpbb_website', 'users.user_website', 'validate_website'),
|
||||||
|
|
||||||
'where' => 'users.user_id <> -1',
|
'where' => 'users.user_id <> -1',
|
||||||
|
|
|
@ -955,6 +955,9 @@ CREATE TABLE phpbb_profile_fields_data (
|
||||||
pf_phpbb_interests BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL,
|
pf_phpbb_interests BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL,
|
||||||
pf_phpbb_occupation BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL,
|
pf_phpbb_occupation BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL,
|
||||||
pf_phpbb_icq VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
pf_phpbb_icq VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_aol VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_wlm VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_yahoo VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||||
pf_phpbb_website VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL
|
pf_phpbb_website VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL
|
||||||
);;
|
);;
|
||||||
|
|
||||||
|
@ -1427,9 +1430,6 @@ CREATE TABLE phpbb_users (
|
||||||
user_sig BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL,
|
user_sig BLOB SUB_TYPE TEXT CHARACTER SET UTF8 DEFAULT '' NOT NULL,
|
||||||
user_sig_bbcode_uid VARCHAR(8) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
user_sig_bbcode_uid VARCHAR(8) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||||
user_sig_bbcode_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
user_sig_bbcode_bitfield VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
|
||||||
user_aim VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
|
||||||
user_yim VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
|
||||||
user_msnm VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
|
||||||
user_jabber VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
user_jabber VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
||||||
user_form_salt VARCHAR(32) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
user_form_salt VARCHAR(32) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
|
||||||
user_new INTEGER DEFAULT 1 NOT NULL,
|
user_new INTEGER DEFAULT 1 NOT NULL,
|
||||||
|
|
|
@ -1162,6 +1162,9 @@ CREATE TABLE [phpbb_profile_fields_data] (
|
||||||
[pf_phpbb_interests] [varchar] (4000) DEFAULT ('') NOT NULL ,
|
[pf_phpbb_interests] [varchar] (4000) DEFAULT ('') NOT NULL ,
|
||||||
[pf_phpbb_occupation] [varchar] (4000) DEFAULT ('') NOT NULL ,
|
[pf_phpbb_occupation] [varchar] (4000) DEFAULT ('') NOT NULL ,
|
||||||
[pf_phpbb_icq] [varchar] (255) DEFAULT ('') NOT NULL ,
|
[pf_phpbb_icq] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||||
|
[pf_phpbb_aol] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||||
|
[pf_phpbb_wlm] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||||
|
[pf_phpbb_yahoo] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||||
[pf_phpbb_website] [varchar] (255) DEFAULT ('') NOT NULL
|
[pf_phpbb_website] [varchar] (255) DEFAULT ('') NOT NULL
|
||||||
) ON [PRIMARY]
|
) ON [PRIMARY]
|
||||||
GO
|
GO
|
||||||
|
@ -1743,9 +1746,6 @@ CREATE TABLE [phpbb_users] (
|
||||||
[user_sig] [text] DEFAULT ('') NOT NULL ,
|
[user_sig] [text] DEFAULT ('') NOT NULL ,
|
||||||
[user_sig_bbcode_uid] [varchar] (8) DEFAULT ('') NOT NULL ,
|
[user_sig_bbcode_uid] [varchar] (8) DEFAULT ('') NOT NULL ,
|
||||||
[user_sig_bbcode_bitfield] [varchar] (255) DEFAULT ('') NOT NULL ,
|
[user_sig_bbcode_bitfield] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||||
[user_aim] [varchar] (255) DEFAULT ('') NOT NULL ,
|
|
||||||
[user_yim] [varchar] (255) DEFAULT ('') NOT NULL ,
|
|
||||||
[user_msnm] [varchar] (255) DEFAULT ('') NOT NULL ,
|
|
||||||
[user_jabber] [varchar] (255) DEFAULT ('') NOT NULL ,
|
[user_jabber] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||||
[user_form_salt] [varchar] (32) DEFAULT ('') NOT NULL ,
|
[user_form_salt] [varchar] (32) DEFAULT ('') NOT NULL ,
|
||||||
[user_new] [int] DEFAULT (1) NOT NULL ,
|
[user_new] [int] DEFAULT (1) NOT NULL ,
|
||||||
|
|
|
@ -680,6 +680,9 @@ CREATE TABLE phpbb_profile_fields_data (
|
||||||
pf_phpbb_interests blob NOT NULL,
|
pf_phpbb_interests blob NOT NULL,
|
||||||
pf_phpbb_occupation blob NOT NULL,
|
pf_phpbb_occupation blob NOT NULL,
|
||||||
pf_phpbb_icq varbinary(255) DEFAULT '' NOT NULL,
|
pf_phpbb_icq varbinary(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_aol varbinary(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_wlm varbinary(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_yahoo varbinary(255) DEFAULT '' NOT NULL,
|
||||||
pf_phpbb_website varbinary(255) DEFAULT '' NOT NULL,
|
pf_phpbb_website varbinary(255) DEFAULT '' NOT NULL,
|
||||||
PRIMARY KEY (user_id)
|
PRIMARY KEY (user_id)
|
||||||
);
|
);
|
||||||
|
@ -1036,9 +1039,6 @@ CREATE TABLE phpbb_users (
|
||||||
user_sig mediumblob NOT NULL,
|
user_sig mediumblob NOT NULL,
|
||||||
user_sig_bbcode_uid varbinary(8) DEFAULT '' NOT NULL,
|
user_sig_bbcode_uid varbinary(8) DEFAULT '' NOT NULL,
|
||||||
user_sig_bbcode_bitfield varbinary(255) DEFAULT '' NOT NULL,
|
user_sig_bbcode_bitfield varbinary(255) DEFAULT '' NOT NULL,
|
||||||
user_aim blob NOT NULL,
|
|
||||||
user_yim blob NOT NULL,
|
|
||||||
user_msnm blob NOT NULL,
|
|
||||||
user_jabber blob NOT NULL,
|
user_jabber blob NOT NULL,
|
||||||
user_form_salt varbinary(96) DEFAULT '' NOT NULL,
|
user_form_salt varbinary(96) DEFAULT '' NOT NULL,
|
||||||
user_new tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
user_new tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||||
|
|
|
@ -680,6 +680,9 @@ CREATE TABLE phpbb_profile_fields_data (
|
||||||
pf_phpbb_interests text NOT NULL,
|
pf_phpbb_interests text NOT NULL,
|
||||||
pf_phpbb_occupation text NOT NULL,
|
pf_phpbb_occupation text NOT NULL,
|
||||||
pf_phpbb_icq varchar(255) DEFAULT '' NOT NULL,
|
pf_phpbb_icq varchar(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_aol varchar(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_wlm varchar(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_yahoo varchar(255) DEFAULT '' NOT NULL,
|
||||||
pf_phpbb_website varchar(255) DEFAULT '' NOT NULL,
|
pf_phpbb_website varchar(255) DEFAULT '' NOT NULL,
|
||||||
PRIMARY KEY (user_id)
|
PRIMARY KEY (user_id)
|
||||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||||
|
@ -1036,9 +1039,6 @@ CREATE TABLE phpbb_users (
|
||||||
user_sig mediumtext NOT NULL,
|
user_sig mediumtext NOT NULL,
|
||||||
user_sig_bbcode_uid varchar(8) DEFAULT '' NOT NULL,
|
user_sig_bbcode_uid varchar(8) DEFAULT '' NOT NULL,
|
||||||
user_sig_bbcode_bitfield varchar(255) DEFAULT '' NOT NULL,
|
user_sig_bbcode_bitfield varchar(255) DEFAULT '' NOT NULL,
|
||||||
user_aim varchar(255) DEFAULT '' NOT NULL,
|
|
||||||
user_yim varchar(255) DEFAULT '' NOT NULL,
|
|
||||||
user_msnm varchar(255) DEFAULT '' NOT NULL,
|
|
||||||
user_jabber varchar(255) DEFAULT '' NOT NULL,
|
user_jabber varchar(255) DEFAULT '' NOT NULL,
|
||||||
user_form_salt varchar(32) DEFAULT '' NOT NULL,
|
user_form_salt varchar(32) DEFAULT '' NOT NULL,
|
||||||
user_new tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
user_new tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||||
|
|
|
@ -1273,6 +1273,9 @@ CREATE TABLE phpbb_profile_fields_data (
|
||||||
pf_phpbb_interests clob DEFAULT '' ,
|
pf_phpbb_interests clob DEFAULT '' ,
|
||||||
pf_phpbb_occupation clob DEFAULT '' ,
|
pf_phpbb_occupation clob DEFAULT '' ,
|
||||||
pf_phpbb_icq varchar2(255) DEFAULT '' ,
|
pf_phpbb_icq varchar2(255) DEFAULT '' ,
|
||||||
|
pf_phpbb_aol varchar2(255) DEFAULT '' ,
|
||||||
|
pf_phpbb_wlm varchar2(255) DEFAULT '' ,
|
||||||
|
pf_phpbb_yahoo varchar2(255) DEFAULT '' ,
|
||||||
pf_phpbb_website varchar2(255) DEFAULT '' ,
|
pf_phpbb_website varchar2(255) DEFAULT '' ,
|
||||||
CONSTRAINT pk_phpbb_profile_fields_data PRIMARY KEY (user_id)
|
CONSTRAINT pk_phpbb_profile_fields_data PRIMARY KEY (user_id)
|
||||||
)
|
)
|
||||||
|
@ -1860,9 +1863,6 @@ CREATE TABLE phpbb_users (
|
||||||
user_sig clob DEFAULT '' ,
|
user_sig clob DEFAULT '' ,
|
||||||
user_sig_bbcode_uid varchar2(8) DEFAULT '' ,
|
user_sig_bbcode_uid varchar2(8) DEFAULT '' ,
|
||||||
user_sig_bbcode_bitfield varchar2(255) DEFAULT '' ,
|
user_sig_bbcode_bitfield varchar2(255) DEFAULT '' ,
|
||||||
user_aim varchar2(765) DEFAULT '' ,
|
|
||||||
user_yim varchar2(765) DEFAULT '' ,
|
|
||||||
user_msnm varchar2(765) DEFAULT '' ,
|
|
||||||
user_jabber varchar2(765) DEFAULT '' ,
|
user_jabber varchar2(765) DEFAULT '' ,
|
||||||
user_form_salt varchar2(96) DEFAULT '' ,
|
user_form_salt varchar2(96) DEFAULT '' ,
|
||||||
user_new number(1) DEFAULT '1' NOT NULL,
|
user_new number(1) DEFAULT '1' NOT NULL,
|
||||||
|
|
|
@ -890,6 +890,9 @@ CREATE TABLE phpbb_profile_fields_data (
|
||||||
pf_phpbb_interests varchar(4000) DEFAULT '' NOT NULL,
|
pf_phpbb_interests varchar(4000) DEFAULT '' NOT NULL,
|
||||||
pf_phpbb_occupation varchar(4000) DEFAULT '' NOT NULL,
|
pf_phpbb_occupation varchar(4000) DEFAULT '' NOT NULL,
|
||||||
pf_phpbb_icq varchar(255) DEFAULT '' NOT NULL,
|
pf_phpbb_icq varchar(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_aol varchar(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_wlm varchar(255) DEFAULT '' NOT NULL,
|
||||||
|
pf_phpbb_yahoo varchar(255) DEFAULT '' NOT NULL,
|
||||||
pf_phpbb_website varchar(255) DEFAULT '' NOT NULL,
|
pf_phpbb_website varchar(255) DEFAULT '' NOT NULL,
|
||||||
PRIMARY KEY (user_id)
|
PRIMARY KEY (user_id)
|
||||||
);
|
);
|
||||||
|
@ -1308,9 +1311,6 @@ CREATE TABLE phpbb_users (
|
||||||
user_sig TEXT DEFAULT '' NOT NULL,
|
user_sig TEXT DEFAULT '' NOT NULL,
|
||||||
user_sig_bbcode_uid varchar(8) DEFAULT '' NOT NULL,
|
user_sig_bbcode_uid varchar(8) DEFAULT '' NOT NULL,
|
||||||
user_sig_bbcode_bitfield varchar(255) DEFAULT '' NOT NULL,
|
user_sig_bbcode_bitfield varchar(255) DEFAULT '' NOT NULL,
|
||||||
user_aim varchar(255) DEFAULT '' NOT NULL,
|
|
||||||
user_yim varchar(255) DEFAULT '' NOT NULL,
|
|
||||||
user_msnm varchar(255) DEFAULT '' NOT NULL,
|
|
||||||
user_jabber varchar(255) DEFAULT '' NOT NULL,
|
user_jabber varchar(255) DEFAULT '' NOT NULL,
|
||||||
user_form_salt varchar(32) DEFAULT '' NOT NULL,
|
user_form_salt varchar(32) DEFAULT '' NOT NULL,
|
||||||
user_new INT2 DEFAULT '1' NOT NULL CHECK (user_new >= 0),
|
user_new INT2 DEFAULT '1' NOT NULL CHECK (user_new >= 0),
|
||||||
|
|
|
@ -467,10 +467,10 @@ INSERT INTO phpbb_forums (forum_name, forum_desc, left_id, right_id, parent_id,
|
||||||
INSERT INTO phpbb_forums (forum_name, forum_desc, left_id, right_id, parent_id, forum_type, forum_posts_approved, forum_posts_unapproved, forum_posts_softdeleted, forum_topics_approved, forum_topics_unapproved, forum_topics_softdeleted, forum_last_post_id, forum_last_poster_id, forum_last_poster_name, forum_last_poster_colour, forum_last_post_subject, forum_last_post_time, forum_link, forum_password, forum_image, forum_rules, forum_rules_link, forum_rules_uid, forum_desc_uid, prune_days, prune_viewed, forum_parents, forum_flags) VALUES ('{L_FORUMS_TEST_FORUM_TITLE}', '{L_FORUMS_TEST_FORUM_DESC}', 2, 3, 1, 1, 1, 0, 0, 1, 0, 0, 1, 2, 'Admin', 'AA0000', '{L_TOPICS_TOPIC_TITLE}', 972086460, '', '', '', '', '', '', '', 0, 0, '', 48);
|
INSERT INTO phpbb_forums (forum_name, forum_desc, left_id, right_id, parent_id, forum_type, forum_posts_approved, forum_posts_unapproved, forum_posts_softdeleted, forum_topics_approved, forum_topics_unapproved, forum_topics_softdeleted, forum_last_post_id, forum_last_poster_id, forum_last_poster_name, forum_last_poster_colour, forum_last_post_subject, forum_last_post_time, forum_link, forum_password, forum_image, forum_rules, forum_rules_link, forum_rules_uid, forum_desc_uid, prune_days, prune_viewed, forum_parents, forum_flags) VALUES ('{L_FORUMS_TEST_FORUM_TITLE}', '{L_FORUMS_TEST_FORUM_DESC}', 2, 3, 1, 1, 1, 0, 0, 1, 0, 0, 1, 2, 'Admin', 'AA0000', '{L_TOPICS_TOPIC_TITLE}', 972086460, '', '', '', '', '', '', '', 0, 0, '', 48);
|
||||||
|
|
||||||
# -- Users / Anonymous user
|
# -- Users / Anonymous user
|
||||||
INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_aim, user_yim, user_jabber, user_actkey, user_newpasswd, user_allow_massemail) VALUES (2, 1, 'Anonymous', 'anonymous', 0, '', '', 'en', 1, 0, '', 0, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '', '', '', 0);
|
INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_jabber, user_actkey, user_newpasswd, user_allow_massemail) VALUES (2, 1, 'Anonymous', 'anonymous', 0, '', '', 'en', 1, 0, '', 0, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '', 0);
|
||||||
|
|
||||||
# -- username: Admin password: admin (change this or remove it once everything is working!)
|
# -- username: Admin password: admin (change this or remove it once everything is working!)
|
||||||
INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_aim, user_yim, user_jabber, user_actkey, user_newpasswd) VALUES (3, 5, 'Admin', 'admin', 0, '21232f297a57a5a743894a0e4a801fc3', 'admin@yourdomain.com', 'en', 1, 1, 'AA0000', 1, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '', '', '');
|
INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_jabber, user_actkey, user_newpasswd) VALUES (3, 5, 'Admin', 'admin', 0, '21232f297a57a5a743894a0e4a801fc3', 'admin@yourdomain.com', 'en', 1, 1, 'AA0000', 1, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '');
|
||||||
|
|
||||||
# -- Groups
|
# -- Groups
|
||||||
INSERT INTO phpbb_groups (group_name, group_type, group_founder_manage, group_colour, group_legend, group_avatar, group_desc, group_desc_uid, group_max_recipients) VALUES ('GUESTS', 3, 0, '', 0, '', '', '', 5);
|
INSERT INTO phpbb_groups (group_name, group_type, group_founder_manage, group_colour, group_legend, group_avatar, group_desc, group_desc_uid, group_max_recipients) VALUES ('GUESTS', 3, 0, '', 0, '', '', '', 5);
|
||||||
|
@ -789,11 +789,13 @@ INSERT INTO phpbb_extensions (group_id, extension) VALUES (9, 'ogm');
|
||||||
|
|
||||||
# Add default profile fields
|
# Add default profile fields
|
||||||
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_location', 'profilefields.type.string', 'phpbb_location', '20', '2', '100', '', '', '.*', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, '', '');
|
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_location', 'profilefields.type.string', 'phpbb_location', '20', '2', '100', '', '', '.*', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, '', '');
|
||||||
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_interests', 'profilefields.type.text', 'phpbb_interests', '3|30', '2', '500', '', '', '.*', 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 2, 0, '', '');
|
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_website', 'profilefields.type.url', 'phpbb_website', '40', '12', '255', '', '', '', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 2, 1, 'VISIT_WEBSITE', '%s');
|
||||||
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_occupation', 'profilefields.type.text', 'phpbb_occupation', '3|30', '2', '500', '', '', '.*', 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 3, 0, '', '');
|
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_interests', 'profilefields.type.text', 'phpbb_interests', '3|30', '2', '500', '', '', '.*', 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 3, 0, '', '');
|
||||||
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_icq', 'profilefields.type.string', 'phpbb_icq', '20', '3', '15', '', '', '[0-9]+', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 4, 1, 'SEND_ICQ_MESSAGE', 'https://www.icq.com/people/%s/');
|
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_occupation', 'profilefields.type.text', 'phpbb_occupation', '3|30', '2', '500', '', '', '.*', 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 4, 0, '', '');
|
||||||
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_website', 'profilefields.type.url', 'phpbb_website', '40', '12', '255', '', '', '', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 5, 1, 'VISIT_WEBSITE', '%s');
|
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_icq', 'profilefields.type.string', 'phpbb_icq', '20', '3', '15', '', '', '[0-9]+', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 5, 1, 'SEND_ICQ_MESSAGE', 'https://www.icq.com/people/%s/');
|
||||||
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_wlm', 'profilefields.type.string', 'phpbb_wlm', '40', '5', '255', '', '', '.*', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 6, 1, '', '');
|
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_wlm', 'profilefields.type.string', 'phpbb_wlm', '40', '5', '255', '', '', '.*', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 6, 1, '', '');
|
||||||
|
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_yahoo', 'profilefields.type.string', 'phpbb_yahoo', '40', '5', '255', '', '', '.*', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 7, 1, 'SEND_YIM_MESSAGE', 'http://edit.yahoo.com/config/send_webmesg?.target=%s&.src=pg');
|
||||||
|
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_on_ml, field_show_profile, field_hide, field_no_view, field_active, field_order, field_is_contact, field_contact_desc, field_contact_url) VALUES ('phpbb_aol', 'profilefields.type.string', 'phpbb_aol', '40', '5', '255', '', '', '.*', 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 8, 1, '', '');
|
||||||
|
|
||||||
# User Notification Options (for first user)
|
# User Notification Options (for first user)
|
||||||
INSERT INTO phpbb_user_notifications (item_type, item_id, user_id, method) VALUES('post', 0, 2, '');
|
INSERT INTO phpbb_user_notifications (item_type, item_id, user_id, method) VALUES('post', 0, 2, '');
|
||||||
|
|
|
@ -660,6 +660,9 @@ CREATE TABLE phpbb_profile_fields_data (
|
||||||
pf_phpbb_interests text(65535) NOT NULL DEFAULT '',
|
pf_phpbb_interests text(65535) NOT NULL DEFAULT '',
|
||||||
pf_phpbb_occupation text(65535) NOT NULL DEFAULT '',
|
pf_phpbb_occupation text(65535) NOT NULL DEFAULT '',
|
||||||
pf_phpbb_icq varchar(255) NOT NULL DEFAULT '',
|
pf_phpbb_icq varchar(255) NOT NULL DEFAULT '',
|
||||||
|
pf_phpbb_aol varchar(255) NOT NULL DEFAULT '',
|
||||||
|
pf_phpbb_wlm varchar(255) NOT NULL DEFAULT '',
|
||||||
|
pf_phpbb_yahoo varchar(255) NOT NULL DEFAULT '',
|
||||||
pf_phpbb_website varchar(255) NOT NULL DEFAULT '',
|
pf_phpbb_website varchar(255) NOT NULL DEFAULT '',
|
||||||
PRIMARY KEY (user_id)
|
PRIMARY KEY (user_id)
|
||||||
);
|
);
|
||||||
|
@ -1007,9 +1010,6 @@ CREATE TABLE phpbb_users (
|
||||||
user_sig mediumtext(16777215) NOT NULL DEFAULT '',
|
user_sig mediumtext(16777215) NOT NULL DEFAULT '',
|
||||||
user_sig_bbcode_uid varchar(8) NOT NULL DEFAULT '',
|
user_sig_bbcode_uid varchar(8) NOT NULL DEFAULT '',
|
||||||
user_sig_bbcode_bitfield varchar(255) NOT NULL DEFAULT '',
|
user_sig_bbcode_bitfield varchar(255) NOT NULL DEFAULT '',
|
||||||
user_aim varchar(255) NOT NULL DEFAULT '',
|
|
||||||
user_yim varchar(255) NOT NULL DEFAULT '',
|
|
||||||
user_msnm varchar(255) NOT NULL DEFAULT '',
|
|
||||||
user_jabber varchar(255) NOT NULL DEFAULT '',
|
user_jabber varchar(255) NOT NULL DEFAULT '',
|
||||||
user_form_salt varchar(32) NOT NULL DEFAULT '',
|
user_form_salt varchar(32) NOT NULL DEFAULT '',
|
||||||
user_new INTEGER UNSIGNED NOT NULL DEFAULT '1',
|
user_new INTEGER UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
|
|
@ -182,11 +182,9 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'IMG_ICON_BACK_TOP' => 'Top',
|
'IMG_ICON_BACK_TOP' => 'Top',
|
||||||
|
|
||||||
'IMG_ICON_CONTACT_AIM' => 'AIM',
|
|
||||||
'IMG_ICON_CONTACT_EMAIL' => 'Send email',
|
'IMG_ICON_CONTACT_EMAIL' => 'Send email',
|
||||||
'IMG_ICON_CONTACT_JABBER' => 'Jabber',
|
'IMG_ICON_CONTACT_JABBER' => 'Jabber',
|
||||||
'IMG_ICON_CONTACT_PM' => 'Send message',
|
'IMG_ICON_CONTACT_PM' => 'Send message',
|
||||||
'IMG_ICON_CONTACT_YAHOO' => 'YIM',
|
|
||||||
|
|
||||||
'IMG_ICON_POST_DELETE' => 'Delete post',
|
'IMG_ICON_POST_DELETE' => 'Delete post',
|
||||||
'IMG_ICON_POST_EDIT' => 'Edit post',
|
'IMG_ICON_POST_EDIT' => 'Edit post',
|
||||||
|
|
|
@ -682,7 +682,6 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'TOO_LONG' => 'The value you entered is too long.',
|
'TOO_LONG' => 'The value you entered is too long.',
|
||||||
|
|
||||||
'TOO_LONG_AIM' => 'The screenname you entered is too long.',
|
|
||||||
'TOO_LONG_CONFIRM_CODE' => 'The confirm code you entered is too long.',
|
'TOO_LONG_CONFIRM_CODE' => 'The confirm code you entered is too long.',
|
||||||
'TOO_LONG_DATEFORMAT' => 'The date format you entered is too long.',
|
'TOO_LONG_DATEFORMAT' => 'The date format you entered is too long.',
|
||||||
'TOO_LONG_JABBER' => 'The Jabber account name you entered is too long.',
|
'TOO_LONG_JABBER' => 'The Jabber account name you entered is too long.',
|
||||||
|
@ -691,13 +690,11 @@ $lang = array_merge($lang, array(
|
||||||
'TOO_LONG_USER_PASSWORD' => 'The password you entered is too long.',
|
'TOO_LONG_USER_PASSWORD' => 'The password you entered is too long.',
|
||||||
'TOO_LONG_USERNAME' => 'The username you entered is too long.',
|
'TOO_LONG_USERNAME' => 'The username you entered is too long.',
|
||||||
'TOO_LONG_EMAIL' => 'The email address you entered is too long.',
|
'TOO_LONG_EMAIL' => 'The email address you entered is too long.',
|
||||||
'TOO_LONG_YIM' => 'The Yahoo! Messenger name you entered is too long.',
|
|
||||||
|
|
||||||
'TOO_MANY_VOTE_OPTIONS' => 'You have tried to vote for too many options.',
|
'TOO_MANY_VOTE_OPTIONS' => 'You have tried to vote for too many options.',
|
||||||
|
|
||||||
'TOO_SHORT' => 'The value you entered is too short.',
|
'TOO_SHORT' => 'The value you entered is too short.',
|
||||||
|
|
||||||
'TOO_SHORT_AIM' => 'The screenname you entered is too short.',
|
|
||||||
'TOO_SHORT_CONFIRM_CODE' => 'The confirm code you entered is too short.',
|
'TOO_SHORT_CONFIRM_CODE' => 'The confirm code you entered is too short.',
|
||||||
'TOO_SHORT_DATEFORMAT' => 'The date format you entered is too short.',
|
'TOO_SHORT_DATEFORMAT' => 'The date format you entered is too short.',
|
||||||
'TOO_SHORT_JABBER' => 'The Jabber account name you entered is too short.',
|
'TOO_SHORT_JABBER' => 'The Jabber account name you entered is too short.',
|
||||||
|
@ -706,7 +703,6 @@ $lang = array_merge($lang, array(
|
||||||
'TOO_SHORT_USER_PASSWORD' => 'The password you entered is too short.',
|
'TOO_SHORT_USER_PASSWORD' => 'The password you entered is too short.',
|
||||||
'TOO_SHORT_USERNAME' => 'The username you entered is too short.',
|
'TOO_SHORT_USERNAME' => 'The username you entered is too short.',
|
||||||
'TOO_SHORT_EMAIL' => 'The email address you entered is too short.',
|
'TOO_SHORT_EMAIL' => 'The email address you entered is too short.',
|
||||||
'TOO_SHORT_YIM' => 'The Yahoo! Messenger name you entered is too short.',
|
|
||||||
|
|
||||||
'TOO_SMALL' => 'The value you entered is too small.',
|
'TOO_SMALL' => 'The value you entered is too small.',
|
||||||
'TOO_SMALL_MAX_RECIPIENTS' => 'The value of <strong>Maximum number of allowed recipients per private message</strong> setting you entered is too small.',
|
'TOO_SMALL_MAX_RECIPIENTS' => 'The value of <strong>Maximum number of allowed recipients per private message</strong> setting you entered is too small.',
|
||||||
|
@ -827,10 +823,10 @@ $lang = array_merge($lang, array(
|
||||||
'WRONG_DATA_LANG' => 'The language you specified is not valid.',
|
'WRONG_DATA_LANG' => 'The language you specified is not valid.',
|
||||||
'WROTE' => 'wrote',
|
'WROTE' => 'wrote',
|
||||||
|
|
||||||
|
'YAHOO' => 'Yahoo Messenger',
|
||||||
'YEAR' => 'Year',
|
'YEAR' => 'Year',
|
||||||
'YEAR_MONTH_DAY' => '(YYYY-MM-DD)',
|
'YEAR_MONTH_DAY' => '(YYYY-MM-DD)',
|
||||||
'YES' => 'Yes',
|
'YES' => 'Yes',
|
||||||
'YIM' => 'YIM',
|
|
||||||
'YOU_LAST_VISIT' => 'Last visit was: %s',
|
'YOU_LAST_VISIT' => 'Last visit was: %s',
|
||||||
|
|
||||||
'datetime' => array(
|
'datetime' => array(
|
||||||
|
|
|
@ -71,8 +71,6 @@ $lang = array_merge($lang, array(
|
||||||
'HIDE_MEMBER_SEARCH' => 'Hide member search',
|
'HIDE_MEMBER_SEARCH' => 'Hide member search',
|
||||||
|
|
||||||
'IM_ADD_CONTACT' => 'Add Contact',
|
'IM_ADD_CONTACT' => 'Add Contact',
|
||||||
'IM_AIM' => 'Please note that you need AOL Instant Messenger installed to use this.',
|
|
||||||
'IM_AIM_EXPRESS' => 'AIM Express',
|
|
||||||
'IM_DOWNLOAD_APP' => 'Download application',
|
'IM_DOWNLOAD_APP' => 'Download application',
|
||||||
'IM_JABBER' => 'Please note that users may have selected to not receive unsolicited instant messages.',
|
'IM_JABBER' => 'Please note that users may have selected to not receive unsolicited instant messages.',
|
||||||
'IM_JABBER_SUBJECT' => 'This is an automated message please do not reply! Message from user %1$s at %2$s.',
|
'IM_JABBER_SUBJECT' => 'This is an automated message please do not reply! Message from user %1$s at %2$s.',
|
||||||
|
@ -114,7 +112,6 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'SELECT_MARKED' => 'Select marked',
|
'SELECT_MARKED' => 'Select marked',
|
||||||
'SELECT_SORT_METHOD' => 'Select sort method',
|
'SELECT_SORT_METHOD' => 'Select sort method',
|
||||||
'SEND_AIM_MESSAGE' => 'Send AIM message',
|
|
||||||
'SEND_ICQ_MESSAGE' => 'Send ICQ message',
|
'SEND_ICQ_MESSAGE' => 'Send ICQ message',
|
||||||
'SEND_IM' => 'Instant messaging',
|
'SEND_IM' => 'Instant messaging',
|
||||||
'SEND_JABBER_MESSAGE' => 'Send Jabber message',
|
'SEND_JABBER_MESSAGE' => 'Send Jabber message',
|
||||||
|
|
|
@ -481,7 +481,6 @@ $lang = array_merge($lang, array(
|
||||||
'UCP' => 'User Control Panel',
|
'UCP' => 'User Control Panel',
|
||||||
'UCP_ACTIVATE' => 'Activate account',
|
'UCP_ACTIVATE' => 'Activate account',
|
||||||
'UCP_ADMIN_ACTIVATE' => 'Please note that you will need to enter a valid email address before your account is activated. The administrator will review your account and if approved you will receive an email at the address you specified.',
|
'UCP_ADMIN_ACTIVATE' => 'Please note that you will need to enter a valid email address before your account is activated. The administrator will review your account and if approved you will receive an email at the address you specified.',
|
||||||
'UCP_AIM' => 'AOL Instant Messenger',
|
|
||||||
'UCP_ATTACHMENTS' => 'Attachments',
|
'UCP_ATTACHMENTS' => 'Attachments',
|
||||||
'UCP_AUTH_LINK' => 'External accounts',
|
'UCP_AUTH_LINK' => 'External accounts',
|
||||||
'UCP_AUTH_LINK_ASK' => 'You currently have no account associated with this external service. Click the button below to link your board account to an account with this external service.',
|
'UCP_AUTH_LINK_ASK' => 'You currently have no account associated with this external service. Click the button below to link your board account to an account with this external service.',
|
||||||
|
@ -539,7 +538,6 @@ $lang = array_merge($lang, array(
|
||||||
'UCP_REMIND' => 'Send password',
|
'UCP_REMIND' => 'Send password',
|
||||||
'UCP_RESEND' => 'Send activation email',
|
'UCP_RESEND' => 'Send activation email',
|
||||||
'UCP_WELCOME' => 'Welcome to the User Control Panel. From here you can monitor, view and update your profile, preferences, subscribed forums and topics. You can also send messages to other users (if permitted). Please ensure you read any announcements before continuing.',
|
'UCP_WELCOME' => 'Welcome to the User Control Panel. From here you can monitor, view and update your profile, preferences, subscribed forums and topics. You can also send messages to other users (if permitted). Please ensure you read any announcements before continuing.',
|
||||||
'UCP_YIM' => 'Yahoo Messenger',
|
|
||||||
'UCP_ZEBRA' => 'Friends & Foes',
|
'UCP_ZEBRA' => 'Friends & Foes',
|
||||||
'UCP_ZEBRA_FOES' => 'Manage foes',
|
'UCP_ZEBRA_FOES' => 'Manage foes',
|
||||||
'UCP_ZEBRA_FRIENDS' => 'Manage friends',
|
'UCP_ZEBRA_FRIENDS' => 'Manage friends',
|
||||||
|
|
|
@ -305,13 +305,6 @@ switch ($mode)
|
||||||
$presence_img = '';
|
$presence_img = '';
|
||||||
switch ($action)
|
switch ($action)
|
||||||
{
|
{
|
||||||
case 'aim':
|
|
||||||
$lang = 'AIM';
|
|
||||||
$sql_field = 'user_aim';
|
|
||||||
$s_select = 'S_SEND_AIM';
|
|
||||||
$s_action = '';
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'jabber':
|
case 'jabber':
|
||||||
$lang = 'JABBER';
|
$lang = 'JABBER';
|
||||||
$sql_field = 'user_jabber';
|
$sql_field = 'user_jabber';
|
||||||
|
@ -395,9 +388,6 @@ switch ($mode)
|
||||||
'IM_CONTACT' => $row[$sql_field],
|
'IM_CONTACT' => $row[$sql_field],
|
||||||
'A_IM_CONTACT' => addslashes($row[$sql_field]),
|
'A_IM_CONTACT' => addslashes($row[$sql_field]),
|
||||||
|
|
||||||
'U_AIM_CONTACT' => ($action == 'aim') ? 'aim:addbuddy?screenname=' . urlencode($row[$sql_field]) : '',
|
|
||||||
'U_AIM_MESSAGE' => ($action == 'aim') ? 'aim:goim?screenname=' . urlencode($row[$sql_field]) . '&message=' . urlencode($config['sitename']) : '',
|
|
||||||
|
|
||||||
'USERNAME' => $row['username'],
|
'USERNAME' => $row['username'],
|
||||||
'CONTACT_NAME' => $row[$sql_field],
|
'CONTACT_NAME' => $row[$sql_field],
|
||||||
'SITENAME' => $config['sitename'],
|
'SITENAME' => $config['sitename'],
|
||||||
|
@ -643,8 +633,6 @@ switch ($mode)
|
||||||
'AVATAR_IMG' => $poster_avatar,
|
'AVATAR_IMG' => $poster_avatar,
|
||||||
'PM_IMG' => $user->img('icon_contact_pm', $user->lang['SEND_PRIVATE_MESSAGE']),
|
'PM_IMG' => $user->img('icon_contact_pm', $user->lang['SEND_PRIVATE_MESSAGE']),
|
||||||
'EMAIL_IMG' => $user->img('icon_contact_email', $user->lang['EMAIL']),
|
'EMAIL_IMG' => $user->img('icon_contact_email', $user->lang['EMAIL']),
|
||||||
'AIM_IMG' => $user->img('icon_contact_aim', $user->lang['AIM']),
|
|
||||||
'YIM_IMG' => $user->img('icon_contact_yahoo', $user->lang['YIM']),
|
|
||||||
'JABBER_IMG' => $user->img('icon_contact_jabber', $user->lang['JABBER']),
|
'JABBER_IMG' => $user->img('icon_contact_jabber', $user->lang['JABBER']),
|
||||||
'SEARCH_IMG' => $user->img('icon_user_search', $user->lang['SEARCH']),
|
'SEARCH_IMG' => $user->img('icon_user_search', $user->lang['SEARCH']),
|
||||||
|
|
||||||
|
@ -988,8 +976,8 @@ switch ($mode)
|
||||||
$pagination = $phpbb_container->get('pagination');
|
$pagination = $phpbb_container->get('pagination');
|
||||||
|
|
||||||
// Sorting
|
// Sorting
|
||||||
$sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'c' => $user->lang['SORT_JOINED'], 'd' => $user->lang['SORT_POST_COUNT'], 'h' => $user->lang['AIM'], 'j' => $user->lang['YIM'], 'k' => $user->lang['JABBER']);
|
$sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'c' => $user->lang['SORT_JOINED'], 'd' => $user->lang['SORT_POST_COUNT'], 'k' => $user->lang['JABBER']);
|
||||||
$sort_key_sql = array('a' => 'u.username_clean', 'c' => 'u.user_regdate', 'd' => 'u.user_posts', 'h' => 'u.user_aim', 'j' => 'u.user_yim', 'k' => 'u.user_jabber');
|
$sort_key_sql = array('a' => 'u.username_clean', 'c' => 'u.user_regdate', 'd' => 'u.user_posts', 'k' => 'u.user_jabber');
|
||||||
|
|
||||||
if ($auth->acl_get('a_user'))
|
if ($auth->acl_get('a_user'))
|
||||||
{
|
{
|
||||||
|
@ -1032,7 +1020,7 @@ switch ($mode)
|
||||||
$select_single = request_var('select_single', false);
|
$select_single = request_var('select_single', false);
|
||||||
|
|
||||||
// Search URL parameters, if any of these are in the URL we do a search
|
// Search URL parameters, if any of these are in the URL we do a search
|
||||||
$search_params = array('username', 'email', 'aim', 'yahoo', 'jabber', 'search_group_id', 'joined_select', 'active_select', 'count_select', 'joined', 'active', 'count', 'ip');
|
$search_params = array('username', 'email', 'jabber', 'search_group_id', 'joined_select', 'active_select', 'count_select', 'joined', 'active', 'count', 'ip');
|
||||||
|
|
||||||
// We validate form and field here, only id/class allowed
|
// We validate form and field here, only id/class allowed
|
||||||
$form = (!preg_match('/^[a-z0-9_-]+$/i', $form)) ? '' : $form;
|
$form = (!preg_match('/^[a-z0-9_-]+$/i', $form)) ? '' : $form;
|
||||||
|
@ -1041,8 +1029,6 @@ switch ($mode)
|
||||||
{
|
{
|
||||||
$username = request_var('username', '', true);
|
$username = request_var('username', '', true);
|
||||||
$email = strtolower(request_var('email', ''));
|
$email = strtolower(request_var('email', ''));
|
||||||
$aim = request_var('aim', '');
|
|
||||||
$yahoo = request_var('yahoo', '');
|
|
||||||
$jabber = request_var('jabber', '');
|
$jabber = request_var('jabber', '');
|
||||||
$search_group_id = request_var('search_group_id', 0);
|
$search_group_id = request_var('search_group_id', 0);
|
||||||
|
|
||||||
|
@ -1083,8 +1069,6 @@ switch ($mode)
|
||||||
|
|
||||||
$sql_where .= ($username) ? ' AND u.username_clean ' . $db->sql_like_expression(str_replace('*', $db->any_char, utf8_clean_string($username))) : '';
|
$sql_where .= ($username) ? ' AND u.username_clean ' . $db->sql_like_expression(str_replace('*', $db->any_char, utf8_clean_string($username))) : '';
|
||||||
$sql_where .= ($auth->acl_get('a_user') && $email) ? ' AND u.user_email ' . $db->sql_like_expression(str_replace('*', $db->any_char, $email)) . ' ' : '';
|
$sql_where .= ($auth->acl_get('a_user') && $email) ? ' AND u.user_email ' . $db->sql_like_expression(str_replace('*', $db->any_char, $email)) . ' ' : '';
|
||||||
$sql_where .= ($aim) ? ' AND u.user_aim ' . $db->sql_like_expression(str_replace('*', $db->any_char, $aim)) . ' ' : '';
|
|
||||||
$sql_where .= ($yahoo) ? ' AND u.user_yim ' . $db->sql_like_expression(str_replace('*', $db->any_char, $yahoo)) . ' ' : '';
|
|
||||||
$sql_where .= ($jabber) ? ' AND u.user_jabber ' . $db->sql_like_expression(str_replace('*', $db->any_char, $jabber)) . ' ' : '';
|
$sql_where .= ($jabber) ? ' AND u.user_jabber ' . $db->sql_like_expression(str_replace('*', $db->any_char, $jabber)) . ' ' : '';
|
||||||
$sql_where .= (is_numeric($count) && isset($find_key_match[$count_select])) ? ' AND u.user_posts ' . $find_key_match[$count_select] . ' ' . (int) $count . ' ' : '';
|
$sql_where .= (is_numeric($count) && isset($find_key_match[$count_select])) ? ' AND u.user_posts ' . $find_key_match[$count_select] . ' ' . (int) $count . ' ' : '';
|
||||||
|
|
||||||
|
@ -1313,8 +1297,6 @@ switch ($mode)
|
||||||
'select_single' => array('select_single', $select_single),
|
'select_single' => array('select_single', $select_single),
|
||||||
'username' => array('username', '', true),
|
'username' => array('username', '', true),
|
||||||
'email' => array('email', ''),
|
'email' => array('email', ''),
|
||||||
'aim' => array('aim', ''),
|
|
||||||
'yahoo' => array('yahoo', ''),
|
|
||||||
'jabber' => array('jabber', ''),
|
'jabber' => array('jabber', ''),
|
||||||
'search_group_id' => array('search_group_id', 0),
|
'search_group_id' => array('search_group_id', 0),
|
||||||
'joined_select' => array('joined_select', 'lt'),
|
'joined_select' => array('joined_select', 'lt'),
|
||||||
|
@ -1443,8 +1425,6 @@ switch ($mode)
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'USERNAME' => $username,
|
'USERNAME' => $username,
|
||||||
'EMAIL' => $email,
|
'EMAIL' => $email,
|
||||||
'AIM' => $aim,
|
|
||||||
'YAHOO' => $yahoo,
|
|
||||||
'JABBER' => $jabber,
|
'JABBER' => $jabber,
|
||||||
'JOINED' => implode('-', $joined),
|
'JOINED' => implode('-', $joined),
|
||||||
'ACTIVE' => implode('-', $active),
|
'ACTIVE' => implode('-', $active),
|
||||||
|
@ -1620,8 +1600,6 @@ switch ($mode)
|
||||||
'PROFILE_IMG' => $user->img('icon_user_profile', $user->lang['PROFILE']),
|
'PROFILE_IMG' => $user->img('icon_user_profile', $user->lang['PROFILE']),
|
||||||
'PM_IMG' => $user->img('icon_contact_pm', $user->lang['SEND_PRIVATE_MESSAGE']),
|
'PM_IMG' => $user->img('icon_contact_pm', $user->lang['SEND_PRIVATE_MESSAGE']),
|
||||||
'EMAIL_IMG' => $user->img('icon_contact_email', $user->lang['EMAIL']),
|
'EMAIL_IMG' => $user->img('icon_contact_email', $user->lang['EMAIL']),
|
||||||
'AIM_IMG' => $user->img('icon_contact_aim', $user->lang['AIM']),
|
|
||||||
'YIM_IMG' => $user->img('icon_contact_yahoo', $user->lang['YIM']),
|
|
||||||
'JABBER_IMG' => $user->img('icon_contact_jabber', $user->lang['JABBER']),
|
'JABBER_IMG' => $user->img('icon_contact_jabber', $user->lang['JABBER']),
|
||||||
'SEARCH_IMG' => $user->img('icon_user_search', $user->lang['SEARCH']),
|
'SEARCH_IMG' => $user->img('icon_user_search', $user->lang['SEARCH']),
|
||||||
|
|
||||||
|
@ -1631,8 +1609,6 @@ switch ($mode)
|
||||||
'U_SORT_JOINED' => $sort_url . '&sk=c&sd=' . (($sort_key == 'c' && $sort_dir == 'a') ? 'd' : 'a'),
|
'U_SORT_JOINED' => $sort_url . '&sk=c&sd=' . (($sort_key == 'c' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||||
'U_SORT_POSTS' => $sort_url . '&sk=d&sd=' . (($sort_key == 'd' && $sort_dir == 'a') ? 'd' : 'a'),
|
'U_SORT_POSTS' => $sort_url . '&sk=d&sd=' . (($sort_key == 'd' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||||
'U_SORT_EMAIL' => $sort_url . '&sk=e&sd=' . (($sort_key == 'e' && $sort_dir == 'a') ? 'd' : 'a'),
|
'U_SORT_EMAIL' => $sort_url . '&sk=e&sd=' . (($sort_key == 'e' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||||
'U_SORT_AIM' => $sort_url . '&sk=h&sd=' . (($sort_key == 'h' && $sort_dir == 'a') ? 'd' : 'a'),
|
|
||||||
'U_SORT_YIM' => $sort_url . '&sk=j&sd=' . (($sort_key == 'j' && $sort_dir == 'a') ? 'd' : 'a'),
|
|
||||||
'U_SORT_ACTIVE' => ($auth->acl_get('u_viewonline')) ? $sort_url . '&sk=l&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a') : '',
|
'U_SORT_ACTIVE' => ($auth->acl_get('u_viewonline')) ? $sort_url . '&sk=l&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a') : '',
|
||||||
'U_SORT_RANK' => $sort_url . '&sk=m&sd=' . (($sort_key == 'm' && $sort_dir == 'a') ? 'd' : 'a'),
|
'U_SORT_RANK' => $sort_url . '&sk=m&sd=' . (($sort_key == 'm' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||||
'U_LIST_CHAR' => $sort_url . '&sk=a&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a'),
|
'U_LIST_CHAR' => $sort_url . '&sk=a&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||||
|
@ -1752,12 +1728,8 @@ function show_profile($data, $user_notes_enabled = false, $warn_user_enabled = f
|
||||||
'U_WARN' => ($warn_user_enabled && $auth->acl_get('m_warn')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&mode=warn_user&u=' . $user_id, true, $user->session_id) : '',
|
'U_WARN' => ($warn_user_enabled && $auth->acl_get('m_warn')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&mode=warn_user&u=' . $user_id, true, $user->session_id) : '',
|
||||||
'U_PM' => ($config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($data['user_allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&u=' . $user_id) : '',
|
'U_PM' => ($config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($data['user_allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&u=' . $user_id) : '',
|
||||||
'U_EMAIL' => $email,
|
'U_EMAIL' => $email,
|
||||||
'U_AIM' => ($data['user_aim'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=aim&u=' . $user_id) : '',
|
|
||||||
'U_YIM' => ($data['user_yim']) ? 'http://edit.yahoo.com/config/send_webmesg?.target=' . urlencode($data['user_yim']) . '&.src=pg' : '',
|
|
||||||
'U_JABBER' => ($data['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=jabber&u=' . $user_id) : '',
|
'U_JABBER' => ($data['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=jabber&u=' . $user_id) : '',
|
||||||
|
|
||||||
'USER_AIM' => $data['user_aim'],
|
|
||||||
'USER_YIM' => $data['user_yim'],
|
|
||||||
'USER_JABBER' => $data['user_jabber'],
|
'USER_JABBER' => $data['user_jabber'],
|
||||||
'USER_JABBER_IMG' => ($data['user_jabber']) ? $user->img('icon_contact_jabber', $data['user_jabber']) : '',
|
'USER_JABBER_IMG' => ($data['user_jabber']) ? $user->img('icon_contact_jabber', $data['user_jabber']) : '',
|
||||||
|
|
||||||
|
|
51
phpBB/phpbb/db/migration/data/v310/profilefield_aol.php
Normal file
51
phpBB/phpbb/db/migration/data/v310/profilefield_aol.php
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package migration
|
||||||
|
* @copyright (c) 2014 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace phpbb\db\migration\data\v310;
|
||||||
|
|
||||||
|
class profilefield_aol extends \phpbb\db\migration\profilefield_base_migration
|
||||||
|
{
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'\phpbb\db\migration\data\v310\profilefield_yahoo_cleanup',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected $profilefield_name = 'phpbb_aol';
|
||||||
|
|
||||||
|
protected $profilefield_database_type = array('VCHAR', '');
|
||||||
|
|
||||||
|
protected $profilefield_data = array(
|
||||||
|
'field_name' => 'phpbb_aol',
|
||||||
|
'field_type' => 'profilefields.type.string',
|
||||||
|
'field_ident' => 'phpbb_aol',
|
||||||
|
'field_length' => '40',
|
||||||
|
'field_minlen' => '5',
|
||||||
|
'field_maxlen' => '255',
|
||||||
|
'field_novalue' => '',
|
||||||
|
'field_default_value' => '',
|
||||||
|
'field_validation' => '.*',
|
||||||
|
'field_required' => 0,
|
||||||
|
'field_show_novalue' => 0,
|
||||||
|
'field_show_on_reg' => 0,
|
||||||
|
'field_show_on_pm' => 1,
|
||||||
|
'field_show_on_vt' => 1,
|
||||||
|
'field_show_on_ml' => 0,
|
||||||
|
'field_show_profile' => 1,
|
||||||
|
'field_hide' => 0,
|
||||||
|
'field_no_view' => 0,
|
||||||
|
'field_active' => 1,
|
||||||
|
'field_is_contact' => 1,
|
||||||
|
'field_contact_desc' => '',
|
||||||
|
'field_contact_url' => '',
|
||||||
|
);
|
||||||
|
|
||||||
|
protected $user_column_name = 'user_aim';
|
||||||
|
}
|
|
@ -0,0 +1,47 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package migration
|
||||||
|
* @copyright (c) 2014 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace phpbb\db\migration\data\v310;
|
||||||
|
|
||||||
|
class profilefield_aol_cleanup extends \phpbb\db\migration\migration
|
||||||
|
{
|
||||||
|
public function effectively_installed()
|
||||||
|
{
|
||||||
|
return !$this->db_tools->sql_column_exists($this->table_prefix . 'users', 'user_aim');
|
||||||
|
}
|
||||||
|
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'\phpbb\db\migration\data\v310\profilefield_aol',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function update_schema()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'drop_columns' => array(
|
||||||
|
$this->table_prefix . 'users' => array(
|
||||||
|
'user_aim',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function revert_schema()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'add_columns' => array(
|
||||||
|
$this->table_prefix . 'users' => array(
|
||||||
|
'user_aim' => array('VCHAR_UNI', ''),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
51
phpBB/phpbb/db/migration/data/v310/profilefield_yahoo.php
Normal file
51
phpBB/phpbb/db/migration/data/v310/profilefield_yahoo.php
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package migration
|
||||||
|
* @copyright (c) 2014 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace phpbb\db\migration\data\v310;
|
||||||
|
|
||||||
|
class profilefield_yahoo extends \phpbb\db\migration\profilefield_base_migration
|
||||||
|
{
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'\phpbb\db\migration\data\v310\profilefield_wlm_cleanup',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected $profilefield_name = 'phpbb_yahoo';
|
||||||
|
|
||||||
|
protected $profilefield_database_type = array('VCHAR', '');
|
||||||
|
|
||||||
|
protected $profilefield_data = array(
|
||||||
|
'field_name' => 'phpbb_yahoo',
|
||||||
|
'field_type' => 'profilefields.type.string',
|
||||||
|
'field_ident' => 'phpbb_yahoo',
|
||||||
|
'field_length' => '40',
|
||||||
|
'field_minlen' => '5',
|
||||||
|
'field_maxlen' => '255',
|
||||||
|
'field_novalue' => '',
|
||||||
|
'field_default_value' => '',
|
||||||
|
'field_validation' => '.*',
|
||||||
|
'field_required' => 0,
|
||||||
|
'field_show_novalue' => 0,
|
||||||
|
'field_show_on_reg' => 0,
|
||||||
|
'field_show_on_pm' => 1,
|
||||||
|
'field_show_on_vt' => 1,
|
||||||
|
'field_show_on_ml' => 0,
|
||||||
|
'field_show_profile' => 1,
|
||||||
|
'field_hide' => 0,
|
||||||
|
'field_no_view' => 0,
|
||||||
|
'field_active' => 1,
|
||||||
|
'field_is_contact' => 1,
|
||||||
|
'field_contact_desc' => 'SEND_YIM_MESSAGE',
|
||||||
|
'field_contact_url' => 'http://edit.yahoo.com/config/send_webmesg?.target=%s&.src=pg',
|
||||||
|
);
|
||||||
|
|
||||||
|
protected $user_column_name = 'user_yim';
|
||||||
|
}
|
|
@ -0,0 +1,47 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package migration
|
||||||
|
* @copyright (c) 2014 phpBB Group
|
||||||
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace phpbb\db\migration\data\v310;
|
||||||
|
|
||||||
|
class profilefield_yahoo_cleanup extends \phpbb\db\migration\migration
|
||||||
|
{
|
||||||
|
public function effectively_installed()
|
||||||
|
{
|
||||||
|
return !$this->db_tools->sql_column_exists($this->table_prefix . 'users', 'user_yim');
|
||||||
|
}
|
||||||
|
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'\phpbb\db\migration\data\v310\profilefield_yahoo',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function update_schema()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'drop_columns' => array(
|
||||||
|
$this->table_prefix . 'users' => array(
|
||||||
|
'user_yim',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function revert_schema()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'add_columns' => array(
|
||||||
|
$this->table_prefix . 'users' => array(
|
||||||
|
'user_yim' => array('VCHAR_UNI', ''),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
|
@ -69,7 +69,7 @@ abstract class type_string_common extends type_base
|
||||||
$field_validate = ($field_type != 'text') ? $field_value : bbcode_nl2br($field_value);
|
$field_validate = ($field_type != 'text') ? $field_value : bbcode_nl2br($field_value);
|
||||||
if (!preg_match('#^' . str_replace('\\\\', '\\', $field_data['field_validation']) . '$#i', $field_validate))
|
if (!preg_match('#^' . str_replace('\\\\', '\\', $field_data['field_validation']) . '$#i', $field_validate))
|
||||||
{
|
{
|
||||||
switch ($row['field_validation'])
|
switch ($field_data['field_validation'])
|
||||||
{
|
{
|
||||||
case '[0-9]+':
|
case '[0-9]+':
|
||||||
return $this->user->lang('FIELD_INVALID_CHARS_NUMBERS_ONLY', $this->get_field_name($field_data['lang_name']));
|
return $this->user->lang('FIELD_INVALID_CHARS_NUMBERS_ONLY', $this->get_field_name($field_data['lang_name']));
|
||||||
|
|
|
@ -12,18 +12,9 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<dl class="fields2">
|
<dl class="fields2">
|
||||||
<dt><label>{L_IM_RECIPIENT}{L_COLON}</label></dt>
|
<dt><label>{L_IM_RECIPIENT}{L_COLON}</label></dt>
|
||||||
<dd><strong>{USERNAME}</strong><!-- IF S_SEND_AIM or S_NO_SEND_JABBER --> [ {IM_CONTACT} ]<!-- ENDIF --><!-- IF PRESENCE_IMG --> {PRESENCE_IMG}<!-- ENDIF --></dd>
|
<dd><strong>{USERNAME}</strong><!-- IF S_NO_SEND_JABBER --> [ {IM_CONTACT} ]<!-- ENDIF --><!-- IF PRESENCE_IMG --> {PRESENCE_IMG}<!-- ENDIF --></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<!-- IF S_SEND_AIM -->
|
|
||||||
<dl class="fields2">
|
|
||||||
<dt> </dt>
|
|
||||||
<dd><a href="{U_AIM_CONTACT}">{L_IM_ADD_CONTACT}</a></dd>
|
|
||||||
<dd><a href="{U_AIM_MESSAGE}">{L_IM_SEND_MESSAGE}</a></dd>
|
|
||||||
<dd><a href="http://www.aim.com">{L_IM_DOWNLOAD_APP}</a> | <a href="http://www.aim.com/products/express">{L_IM_AIM_EXPRESS}</a></dd>
|
|
||||||
</dl>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
|
|
||||||
<!-- IF S_SEND_JABBER -->
|
<!-- IF S_SEND_JABBER -->
|
||||||
<dl class="fields2">
|
<dl class="fields2">
|
||||||
<dt><label for="message">{L_IM_MESSAGE}{L_COLON}</label></dt>
|
<dt><label for="message">{L_IM_MESSAGE}{L_COLON}</label></dt>
|
||||||
|
@ -33,20 +24,15 @@
|
||||||
<dt> </dt>
|
<dt> </dt>
|
||||||
<dd><input class="button1" name="submit" type="submit" value="{L_IM_SEND}" /></dd>
|
<dd><input class="button1" name="submit" type="submit" value="{L_IM_SEND}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
|
||||||
|
|
||||||
<!-- IF S_NO_SEND_JABBER -->
|
|
||||||
<dl class="fields2">
|
|
||||||
<dt> </dt>
|
|
||||||
<dd>{L_IM_NO_JABBER}</dd>
|
|
||||||
</dl>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
|
|
||||||
<!-- IF S_SENT_JABBER -->
|
|
||||||
<dl class="fields2">
|
<dl class="fields2">
|
||||||
<dt> </dt>
|
<dt> </dt>
|
||||||
<dd>{L_IM_SENT_JABBER}</dd>
|
<dd>{L_IM_SENT_JABBER}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<!-- ELSE IF S_NO_SEND_JABBER -->
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd>{L_IM_NO_JABBER}</dd>
|
||||||
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -17,18 +17,18 @@
|
||||||
<dd><input type="text" name="email" id="email" value="{EMAIL}" class="inputbox" /></dd>
|
<dd><input type="text" name="email" id="email" value="{EMAIL}" class="inputbox" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<dl>
|
|
||||||
<dt><label for="aim">{L_AIM}{L_COLON}</label></dt>
|
|
||||||
<dd><input type="text" name="aim" id="aim" value="{AIM}" class="inputbox" /></dd>
|
|
||||||
</dl>
|
|
||||||
<dl>
|
|
||||||
<dt><label for="yahoo">{L_YIM}{L_COLON}</label></dt>
|
|
||||||
<dd><input type="text" name="yahoo" id="yahoo" value="{YAHOO}" class="inputbox" /></dd>
|
|
||||||
</dl>
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="jabber">{L_JABBER}:</label></dt>
|
<dt><label for="jabber">{L_JABBER}:</label></dt>
|
||||||
<dd><input type="text" name="jabber" id="jabber" value="{JABBER}" class="inputbox" /></dd>
|
<dd><input type="text" name="jabber" id="jabber" value="{JABBER}" class="inputbox" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="search_group_id">{L_GROUP}{L_COLON}</label></dt>
|
||||||
|
<dd><select name="search_group_id" id="search_group_id">{S_GROUP_SELECT}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="sk" class="label3">{L_SORT_BY}{L_COLON}</label></dt>
|
||||||
|
<dd><select name="sk" id="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select></dd>
|
||||||
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset class="fields1 column2">
|
<fieldset class="fields1 column2">
|
||||||
|
@ -52,14 +52,6 @@
|
||||||
<dd><input class="inputbox medium" type="text" name="ip" id="ip" value="{IP}" /></dd>
|
<dd><input class="inputbox medium" type="text" name="ip" id="ip" value="{IP}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<dl>
|
|
||||||
<dt><label for="search_group_id">{L_GROUP}{L_COLON}</label></dt>
|
|
||||||
<dd><select name="search_group_id" id="search_group_id">{S_GROUP_SELECT}</select></dd>
|
|
||||||
</dl>
|
|
||||||
<dl>
|
|
||||||
<dt><label for="sk" class="label3">{L_SORT_BY}{L_COLON}</label></dt>
|
|
||||||
<dd><select name="sk" id="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select></dd>
|
|
||||||
</dl>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
|
|
@ -62,8 +62,6 @@
|
||||||
<dl class="details">
|
<dl class="details">
|
||||||
<!-- IF U_EMAIL --><dt>{L_EMAIL_ADDRESS}{L_COLON}</dt> <dd><a href="{U_EMAIL}">{L_SEND_EMAIL_USER} {USERNAME}</a></dd><!-- ENDIF -->
|
<!-- IF U_EMAIL --><dt>{L_EMAIL_ADDRESS}{L_COLON}</dt> <dd><a href="{U_EMAIL}">{L_SEND_EMAIL_USER} {USERNAME}</a></dd><!-- ENDIF -->
|
||||||
<!-- IF U_PM --><dt>{L_PM}{L_COLON}</dt> <dd><a href="{U_PM}">{L_SEND_PRIVATE_MESSAGE}</a></dd><!-- ENDIF -->
|
<!-- IF U_PM --><dt>{L_PM}{L_COLON}</dt> <dd><a href="{U_PM}">{L_SEND_PRIVATE_MESSAGE}</a></dd><!-- ENDIF -->
|
||||||
<!-- IF U_YIM or USER_YIM --><dt>{L_YIM}{L_COLON}</dt> <dd><!-- IF U_YIM --><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false;">{L_SEND_YIM_MESSAGE}</a><!-- ELSE -->{USER_YIM}<!-- ENDIF --></dd><!-- ENDIF -->
|
|
||||||
<!-- IF U_AIM or USER_AIM --><dt>{L_AIM}{L_COLON}</dt> <dd><!-- IF U_AIM --><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_AIM_MESSAGE}</a><!-- ELSE -->{USER_AIM}<!-- ENDIF --></dd><!-- ENDIF -->
|
|
||||||
<!-- IF U_JABBER and S_JABBER_ENABLED --><dt>{L_JABBER}{L_COLON}</dt> <dd><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_JABBER_MESSAGE}</a></dd><!-- ELSEIF USER_JABBER --><dt>{L_JABBER}{L_COLON}</dt> <dd>{USER_JABBER}</dd><!-- ENDIF -->
|
<!-- IF U_JABBER and S_JABBER_ENABLED --><dt>{L_JABBER}{L_COLON}</dt> <dd><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_JABBER_MESSAGE}</a></dd><!-- ELSEIF USER_JABBER --><dt>{L_JABBER}{L_COLON}</dt> <dd>{USER_JABBER}</dd><!-- ENDIF -->
|
||||||
<!-- BEGIN custom_fields -->
|
<!-- BEGIN custom_fields -->
|
||||||
<!-- IF custom_fields.S_PROFILE_CONTACT -->
|
<!-- IF custom_fields.S_PROFILE_CONTACT -->
|
||||||
|
|
|
@ -34,14 +34,12 @@
|
||||||
<!-- EVENT ucp_pm_viewmessage_custom_fields_after -->
|
<!-- EVENT ucp_pm_viewmessage_custom_fields_after -->
|
||||||
|
|
||||||
|
|
||||||
<!-- IF U_PM or U_EMAIL or U_YIM or U_AIM or U_JABBER -->
|
<!-- IF U_PM or U_EMAIL or U_JABBER -->
|
||||||
<dd>
|
<dd>
|
||||||
<ul class="profile-icons">
|
<ul class="profile-icons">
|
||||||
<!-- EVENT ucp_pm_viewmessage_contact_fields_before -->
|
<!-- EVENT ucp_pm_viewmessage_contact_fields_before -->
|
||||||
<!-- IF U_PM --><li class="pm-icon"><a href="{U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
|
<!-- IF U_PM --><li class="pm-icon"><a href="{U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
|
||||||
<!-- IF U_EMAIL --><li class="email-icon"><a href="{U_EMAIL}" title="{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}"><span>{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}</span></a></li><!-- ENDIF -->
|
<!-- IF U_EMAIL --><li class="email-icon"><a href="{U_EMAIL}" title="{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}"><span>{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}</span></a></li><!-- ENDIF -->
|
||||||
<!-- IF U_YIM --><li class="yahoo-icon"><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
|
|
||||||
<!-- IF U_AIM --><li class="aim-icon"><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
|
|
||||||
<!-- IF U_JABBER --><li class="jabber-icon"><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
|
<!-- IF U_JABBER --><li class="jabber-icon"><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
|
||||||
<!-- BEGIN custom_fields -->
|
<!-- BEGIN custom_fields -->
|
||||||
<!-- IF custom_fields.S_PROFILE_CONTACT -->
|
<!-- IF custom_fields.S_PROFILE_CONTACT -->
|
||||||
|
|
|
@ -10,18 +10,6 @@
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
<dl>
|
|
||||||
<dt><label for="aim">{L_UCP_AIM}{L_COLON}</label></dt>
|
|
||||||
<dd><input type="text" name="aim" id="aim" maxlength="255" value="{AIM}" class="inputbox" /></dd>
|
|
||||||
</dl>
|
|
||||||
<dl>
|
|
||||||
<dt><label for="yim">{L_UCP_YIM}{L_COLON}</label></dt>
|
|
||||||
<dd><input type="text" name="yim" id="yim" maxlength="255" value="{YIM}" class="inputbox" /></dd>
|
|
||||||
</dl>
|
|
||||||
<dl>
|
|
||||||
<dt><label for="jabber">{L_UCP_JABBER}{L_COLON}</label></dt>
|
|
||||||
<dd><input type="email" name="jabber" id="jabber" maxlength="255" value="{JABBER}" class="inputbox" /></dd>
|
|
||||||
</dl>
|
|
||||||
<!-- IF S_BIRTHDAYS_ENABLED -->
|
<!-- IF S_BIRTHDAYS_ENABLED -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="bday_day">{L_BIRTHDAY}{L_COLON}</label><br /><span>{L_BIRTHDAY_EXPLAIN}</span></dt>
|
<dt><label for="bday_day">{L_BIRTHDAY}{L_COLON}</label><br /><span>{L_BIRTHDAY_EXPLAIN}</span></dt>
|
||||||
|
@ -32,6 +20,10 @@
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="jabber">{L_UCP_JABBER}{L_COLON}</label></dt>
|
||||||
|
<dd><input type="email" name="jabber" id="jabber" maxlength="255" value="{JABBER}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
<!-- BEGIN profile_fields -->
|
<!-- BEGIN profile_fields -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}{L_COLON}<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label>
|
<dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}{L_COLON}<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label>
|
||||||
|
|
|
@ -144,13 +144,11 @@
|
||||||
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
|
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
|
||||||
|
|
||||||
<!-- IF not S_IS_BOT -->
|
<!-- IF not S_IS_BOT -->
|
||||||
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
|
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_JABBER -->
|
||||||
<dd>
|
<dd>
|
||||||
<ul class="profile-icons">
|
<ul class="profile-icons">
|
||||||
<!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
|
<!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
|
||||||
<!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF -->
|
<!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF -->
|
||||||
<!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
|
|
||||||
<!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
|
|
||||||
<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
|
<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
|
||||||
<!-- BEGIN custom_fields -->
|
<!-- BEGIN custom_fields -->
|
||||||
<!-- IF postrow.custom_fields.S_PROFILE_CONTACT -->
|
<!-- IF postrow.custom_fields.S_PROFILE_CONTACT -->
|
||||||
|
|
|
@ -849,7 +849,7 @@ ul.linklist li.small-icon > a, ul.linklist li.breadcrumbs span:first-child > a {
|
||||||
padding-right: 11px;
|
padding-right: 11px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
.rtl .imageset.icon_contact_aim, .rtl .imageset.icon_contact_email, .rtl .imageset.icon_contact_icq, .rtl .imageset.phpbb_icq-icon, .rtl .imageset.icon_contact_jabber, .rtl .imageset.icon_contact_msnm, .rtl .imageset.phpbb_wlm-icon, .rtl .imageset.icon_contact_www, .rtl .imageset.phpbb_website-icon, .rtl .imageset.icon_contact_yahoo, .rtl .imageset.icon_post_delete, .rtl .imageset.icon_post_info, .rtl .imageset.icon_post_report, .rtl .imageset.icon_user_warn {
|
.rtl .imageset.icon_contact_aim, .rtl .imageset.phpbb_aol-icon, .rtl .imageset.icon_contact_email, .rtl .imageset.icon_contact_icq, .rtl .imageset.phpbb_icq-icon, .rtl .imageset.icon_contact_jabber, .rtl .imageset.icon_contact_msnm, .rtl .imageset.phpbb_wlm-icon, .rtl .imageset.icon_contact_www, .rtl .imageset.phpbb_website-icon, .rtl .imageset.icon_contact_yahoo, .rtl .imageset.phpbb_yahoo-icon, .rtl .imageset.icon_post_delete, .rtl .imageset.icon_post_info, .rtl .imageset.icon_post_report, .rtl .imageset.icon_user_warn {
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -238,7 +238,9 @@ ul.profile-icons.responsive a.responsive-menu-link:before {
|
||||||
/* Profile & navigation icons */
|
/* Profile & navigation icons */
|
||||||
.email-icon, .email-icon a { background: none top left no-repeat; }
|
.email-icon, .email-icon a { background: none top left no-repeat; }
|
||||||
.aim-icon, .aim-icon a { background: none top left no-repeat; }
|
.aim-icon, .aim-icon a { background: none top left no-repeat; }
|
||||||
|
.phpbb_aol-icon, .phpbb_aol-icon a { background: none top left no-repeat; }
|
||||||
.yahoo-icon, .yahoo-icon a { background: none top left no-repeat; }
|
.yahoo-icon, .yahoo-icon a { background: none top left no-repeat; }
|
||||||
|
.phpbb_yahoo-icon, .phpbb_yahoo-icon a { background: none top left no-repeat; }
|
||||||
.web-icon, .web-icon a { background: none top left no-repeat; }
|
.web-icon, .web-icon a { background: none top left no-repeat; }
|
||||||
.phpbb_website-icon, .phpbb_website-icon a { background: none top left no-repeat; }
|
.phpbb_website-icon, .phpbb_website-icon a { background: none top left no-repeat; }
|
||||||
.msnm-icon, .msnm-icon a { background: none top left no-repeat; }
|
.msnm-icon, .msnm-icon a { background: none top left no-repeat; }
|
||||||
|
@ -258,8 +260,10 @@ ul.profile-icons.responsive a.responsive-menu-link:before {
|
||||||
|
|
||||||
/* Set profile icon dimensions */
|
/* Set profile icon dimensions */
|
||||||
ul.profile-icons li.email-icon { width: 20px; height: 20px; }
|
ul.profile-icons li.email-icon { width: 20px; height: 20px; }
|
||||||
|
ul.profile-icons li.phpbb_aol-icon { width: 20px; height: 20px; }
|
||||||
ul.profile-icons li.aim-icon { width: 20px; height: 20px; }
|
ul.profile-icons li.aim-icon { width: 20px; height: 20px; }
|
||||||
ul.profile-icons li.yahoo-icon { width: 20px; height: 20px; }
|
ul.profile-icons li.yahoo-icon { width: 20px; height: 20px; }
|
||||||
|
ul.profile-icons li.phpbb_yahoo-icon { width: 20px; height: 20px; }
|
||||||
ul.profile-icons li.web-icon { width: 20px; height: 20px; }
|
ul.profile-icons li.web-icon { width: 20px; height: 20px; }
|
||||||
ul.profile-icons li.phpbb_website-icon { width: 20px; height: 20px; }
|
ul.profile-icons li.phpbb_website-icon { width: 20px; height: 20px; }
|
||||||
ul.profile-icons li.msnm-icon { width: 20px; height: 20px; }
|
ul.profile-icons li.msnm-icon { width: 20px; height: 20px; }
|
||||||
|
|
|
@ -739,8 +739,10 @@ a.sendemail {
|
||||||
|
|
||||||
/* Profile & navigation icons */
|
/* Profile & navigation icons */
|
||||||
.email-icon, .email-icon a { background-image: url("./images/icon_contact_email.gif"); }
|
.email-icon, .email-icon a { background-image: url("./images/icon_contact_email.gif"); }
|
||||||
|
.phpbb_aol-icon, .phpbb_aol-icon a { background-image: url("./images/icon_contact_aim.gif"); }
|
||||||
.aim-icon, .aim-icon a { background-image: url("./images/icon_contact_aim.gif"); }
|
.aim-icon, .aim-icon a { background-image: url("./images/icon_contact_aim.gif"); }
|
||||||
.yahoo-icon, .yahoo-icon a { background-image: url("./images/icon_contact_yahoo.gif"); }
|
.yahoo-icon, .yahoo-icon a { background-image: url("./images/icon_contact_yahoo.gif"); }
|
||||||
|
.phpbb_yahoo-icon, .phpbb_yahoo-icon a { background-image: url("./images/icon_contact_yahoo.gif"); }
|
||||||
.web-icon, .web-icon a { background-image: url("./images/icon_contact_www.gif"); }
|
.web-icon, .web-icon a { background-image: url("./images/icon_contact_www.gif"); }
|
||||||
.phpbb_website-icon, .phpbb_website-icon a { background-image: url("./images/icon_contact_www.gif"); }
|
.phpbb_website-icon, .phpbb_website-icon a { background-image: url("./images/icon_contact_www.gif"); }
|
||||||
.msnm-icon, .msnm-icon a { background-image: url("./images/icon_contact_msnm.gif"); }
|
.msnm-icon, .msnm-icon a { background-image: url("./images/icon_contact_msnm.gif"); }
|
||||||
|
|
|
@ -260,7 +260,7 @@ span.imageset {
|
||||||
padding-left: 11px;
|
padding-left: 11px;
|
||||||
padding-top: 11px;
|
padding-top: 11px;
|
||||||
}
|
}
|
||||||
.imageset.icon_contact_aim {
|
.imageset.phpbb_aol-icon, .imageset.icon_contact_aim {
|
||||||
background-image: url("./images/icon_contact_aim.gif");
|
background-image: url("./images/icon_contact_aim.gif");
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
@ -290,7 +290,7 @@ span.imageset {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
.imageset.icon_contact_yahoo {
|
.imageset.icon_contact_yahoo, .imageset.phpbb_yahoo-icon {
|
||||||
background-image: url("./images/icon_contact_yahoo.gif");
|
background-image: url("./images/icon_contact_yahoo.gif");
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
|
|
@ -12,18 +12,9 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><b class="genmed">{L_IM_RECIPIENT}{L_COLON} </b></td>
|
<td class="row1"><b class="genmed">{L_IM_RECIPIENT}{L_COLON} </b></td>
|
||||||
<td class="row2"><span class="gen"><b>{USERNAME}</b><!-- IF S_SEND_AIM or S_NO_SEND_JABBER --> [ {IM_CONTACT} ]<!-- ENDIF --></span> <!-- IF PRESENCE_IMG -->{PRESENCE_IMG}<!-- ENDIF --></td>
|
<td class="row2"><span class="gen"><b>{USERNAME}</b><!-- IF S_NO_SEND_JABBER --> [ {IM_CONTACT} ]<!-- ENDIF --></span> <!-- IF PRESENCE_IMG -->{PRESENCE_IMG}<!-- ENDIF --></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<!-- IF S_SEND_AIM -->
|
|
||||||
<tr>
|
|
||||||
<td class="row1" colspan="2" align="center"><br /><a class="gen" href="{U_AIM_CONTACT}">{L_IM_ADD_CONTACT}</a><br /><a class="gen" href="{U_AIM_MESSAGE}">{L_IM_SEND_MESSAGE}</a><br /><br /><a class="gensmall" href="http://www.aim.com">{L_IM_DOWNLOAD_APP}</a> | <a class="gensmall" href="http://www.aim.com/products/express">{L_IM_AIM_EXPRESS}</a> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="cat" colspan="2" align="center"> </td>
|
|
||||||
</tr>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
|
|
||||||
<!-- IF S_SEND_JABBER -->
|
<!-- IF S_SEND_JABBER -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><b class="genmed">{L_IM_MESSAGE}{L_COLON} </b></td>
|
<td class="row1"><b class="genmed">{L_IM_MESSAGE}{L_COLON} </b></td>
|
||||||
|
@ -32,21 +23,16 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="cat" colspan="2" align="center"><input class="btnmain" name="submit" type="submit" value="{L_IM_SEND}" /></td>
|
<td class="cat" colspan="2" align="center"><input class="btnmain" name="submit" type="submit" value="{L_IM_SEND}" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF -->
|
|
||||||
|
|
||||||
<!-- IF S_NO_SEND_JABBER -->
|
|
||||||
<tr>
|
|
||||||
<td class="row1" colspan="2"><span class="genmed">{L_IM_NO_JABBER}</span></td>
|
|
||||||
</tr>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
|
|
||||||
<!-- IF S_SENT_JABBER -->
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" colspan="2" align="center"><span class="gen">{L_IM_SENT_JABBER}</span></td>
|
<td class="row1" colspan="2" align="center"><span class="gen">{L_IM_SENT_JABBER}</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="cat" colspan="2" align="center"></td>
|
<td class="cat" colspan="2" align="center"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- ELSEIF S_NO_SEND_JABBER -->
|
||||||
|
<tr>
|
||||||
|
<td class="row1" colspan="2"><span class="genmed">{L_IM_NO_JABBER}</span></td>
|
||||||
|
</tr>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -76,55 +76,42 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><b class="genmed">{L_USERNAME}{L_COLON}</b></td>
|
<td class="row1"><b class="genmed">{L_USERNAME}{L_COLON}</b></td>
|
||||||
<td class="row2"><input class="post" type="text" name="username" value="{USERNAME}" /></td>
|
<td class="row2"><input class="post" type="text" name="username" value="{USERNAME}" /></td>
|
||||||
<td colspan="2" class="row1"> </td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<!-- IF S_EMAIL_SEARCH_ALLOWED -->
|
<!-- IF S_EMAIL_SEARCH_ALLOWED -->
|
||||||
<td class="row1"><b class="genmed">{L_EMAIL}{L_COLON}</b></td>
|
<td class="row1"><b class="genmed">{L_EMAIL}{L_COLON}</b></td>
|
||||||
<td class="row2"><input class="post" type="email" name="email" value="{EMAIL}" /></td>
|
<td class="row2"><input class="post" type="email" name="email" value="{EMAIL}" /></td>
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
<td colspan="2" class="row1"> </td>
|
<td colspan="2" class="row1"> </td>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<td class="row1"><b class="genmed">{L_AIM}{L_COLON}</b></td>
|
|
||||||
<td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><b class="genmed">{L_JOINED}{L_COLON}</b></td>
|
<td class="row1"><b class="genmed">{L_JOINED}{L_COLON}</b></td>
|
||||||
<td class="row2"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td>
|
<td class="row2"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td>
|
||||||
<td class="row1"><b class="genmed">{L_YIM}{L_COLON}</b></td>
|
<td class="row1"><b class="genmed">{L_POSTS}{L_COLON}</b></td>
|
||||||
<td class="row2"><input class="post" type="text" name="yahoo" value="{YAHOO}" /></td>
|
<td class="row2"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="number" min="0" name="count" value="{COUNT}" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- IF S_VIEWONLINE -->
|
<!-- IF S_VIEWONLINE -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><b class="genmed">{L_LAST_ACTIVE}{L_COLON}</b></td>
|
<td class="row1"><b class="genmed">{L_LAST_ACTIVE}{L_COLON}</b></td>
|
||||||
<td class="row2"><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="post" type="text" name="active" value="{ACTIVE}" /></td>
|
<td class="row2"><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="post" type="text" name="active" value="{ACTIVE}" /></td>
|
||||||
|
<!-- IF S_IP_SEARCH_ALLOWED -->
|
||||||
|
<td class="row1"><b class="genmed">{L_POST_IP}{L_COLON}</b></td>
|
||||||
|
<td class="row2"><input class="post" type="text" name="ip" value="{IP}" /></td>
|
||||||
|
<!-- ELSE -->
|
||||||
<td colspan="2" class="row1"> </td>
|
<td colspan="2" class="row1"> </td>
|
||||||
|
<!-- ENDIF -->
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><b class="genmed">{L_POSTS}{L_COLON}</b></td>
|
<td class="row1"><b class="genmed">{L_GROUP}{L_COLON}</b></td>
|
||||||
<td class="row2"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="number" min="0" name="count" value="{COUNT}" /></td>
|
<td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td>
|
||||||
<td class="row1"><b class="genmed">{L_JABBER}{L_COLON}</b></td>
|
<td class="row1"><b class="genmed">{L_JABBER}{L_COLON}</b></td>
|
||||||
<td class="row2"><input class="post" type="text" name="jabber" value="{JABBER}" /></td>
|
<td class="row2"><input class="post" type="text" name="jabber" value="{JABBER}" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><b class="genmed">{L_SORT_BY}{L_COLON}</b></td>
|
<td class="row1"><b class="genmed">{L_SORT_BY}{L_COLON}</b></td>
|
||||||
<td class="row2" nowrap="nowrap"><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> </td>
|
<td class="row2" nowrap="nowrap"><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> </td>
|
||||||
<!-- IF S_IP_SEARCH_ALLOWED -->
|
<td colspan="2" class="row1"> </td>
|
||||||
<td class="row1"><b class="genmed">{L_POST_IP}{L_COLON}</b></td>
|
|
||||||
<td class="row2"><input class="post" type="text" name="ip" value="{IP}" /></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td class="row1"><b class="genmed">{L_GROUP}{L_COLON}</b></td>
|
|
||||||
<td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td>
|
|
||||||
<td class="row1"> </td>
|
|
||||||
<td class="row2"> </td>
|
|
||||||
</tr>
|
|
||||||
<!-- ELSE -->
|
|
||||||
<td class="row1"><b class="genmed">{L_GROUP}{L_COLON}</b></td>
|
|
||||||
<td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td>
|
|
||||||
</tr>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="cat" colspan="4" align="center"><input class="btnmain" type="submit" name="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
<td class="cat" colspan="4" align="center"><input class="btnmain" type="submit" name="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -118,14 +118,6 @@
|
||||||
<td><a href="{U_PM}" class="imageset">{PM_IMG}</a></td>
|
<td><a href="{U_PM}" class="imageset">{PM_IMG}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<tr>
|
|
||||||
<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_YIM}{L_COLON} </td>
|
|
||||||
<td><!-- IF U_YIM --><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false" class="imageset">{YIM_IMG}</a><!-- ELSEIF USER_YIM -->{USER_YIM}<!-- ENDIF --></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_AIM}{L_COLON} </td>
|
|
||||||
<td><!-- IF U_AIM --><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false" class="imageset">{AIM_IMG}</a><!-- ELSEIF USER_AIM -->{USER_AIM}<!-- ENDIF --></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_JABBER}{L_COLON} </td>
|
<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_JABBER}{L_COLON} </td>
|
||||||
<td><!-- IF U_JABBER --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false" class="imageset">{JABBER_IMG}</a><!-- ELSEIF USER_JABBER -->{USER_JABBER_IMG}<!-- ENDIF --></td>
|
<td><!-- IF U_JABBER --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false" class="imageset">{JABBER_IMG}</a><!-- ELSEIF USER_JABBER -->{USER_JABBER_IMG}<!-- ENDIF --></td>
|
||||||
|
|
|
@ -12,14 +12,6 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td>
|
<td class="row1" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td class="row1" width="35%"><b class="genmed">{L_UCP_AIM}{L_COLON} </b></td>
|
|
||||||
<td class="row2"><input class="post" type="text" name="aim" size="30" maxlength="255" value="{AIM}" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="row1" width="35%"><b class="genmed">{L_UCP_YIM}{L_COLON} </b></td>
|
|
||||||
<td class="row2"><input class="post" type="email" name="yim" size="30" maxlength="255" value="{YIM}" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" width="35%"><b class="genmed">{L_UCP_JABBER}{L_COLON} </b></td>
|
<td class="row1" width="35%"><b class="genmed">{L_UCP_JABBER}{L_COLON} </b></td>
|
||||||
<td class="row2"><input class="post" type="text" name="jabber" size="30" maxlength="255" value="{JABBER}" /></td>
|
<td class="row2"><input class="post" type="text" name="jabber" size="30" maxlength="255" value="{JABBER}" /></td>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* EN Language Pack */
|
/* EN Language Pack */
|
||||||
.imageset.icon_contact_aim {
|
.imageset.phpbb_aol-icon, .imageset.icon_contact_aim {
|
||||||
background-image: url("./icon_contact_aim.gif");
|
background-image: url("./icon_contact_aim.gif");
|
||||||
padding-left: 72px;
|
padding-left: 72px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
padding-left: 72px;
|
padding-left: 72px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
.imageset.icon_contact_yahoo {
|
.imageset.phpbb_yahoo-icon, .imageset.icon_contact_yahoo {
|
||||||
background-image: url("./icon_contact_yahoo.gif");
|
background-image: url("./icon_contact_yahoo.gif");
|
||||||
padding-left: 72px;
|
padding-left: 72px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
|
|
@ -1013,7 +1013,7 @@ a.imageset {
|
||||||
|
|
||||||
|
|
||||||
/* English images for fallback */
|
/* English images for fallback */
|
||||||
.imageset.icon_contact_aim {
|
.imageset.phpbb_aol-icon, .imageset.icon_contact_aim {
|
||||||
background-image: url("./en/icon_contact_aim.gif");
|
background-image: url("./en/icon_contact_aim.gif");
|
||||||
padding-left: 72px;
|
padding-left: 72px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
@ -1043,7 +1043,7 @@ a.imageset {
|
||||||
padding-left: 72px;
|
padding-left: 72px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
.imageset.icon_contact_yahoo {
|
.imageset.phpbb_yahoo-icon, .imageset.icon_contact_yahoo {
|
||||||
background-image: url("./en/icon_contact_yahoo.gif");
|
background-image: url("./en/icon_contact_yahoo.gif");
|
||||||
padding-left: 72px;
|
padding-left: 72px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
|
|
@ -620,8 +620,6 @@ $template->assign_vars(array(
|
||||||
'SEARCH_IMG' => $user->img('icon_user_search', 'SEARCH_USER_POSTS'),
|
'SEARCH_IMG' => $user->img('icon_user_search', 'SEARCH_USER_POSTS'),
|
||||||
'PM_IMG' => $user->img('icon_contact_pm', 'SEND_PRIVATE_MESSAGE'),
|
'PM_IMG' => $user->img('icon_contact_pm', 'SEND_PRIVATE_MESSAGE'),
|
||||||
'EMAIL_IMG' => $user->img('icon_contact_email', 'SEND_EMAIL'),
|
'EMAIL_IMG' => $user->img('icon_contact_email', 'SEND_EMAIL'),
|
||||||
'AIM_IMG' => $user->img('icon_contact_aim', 'AIM'),
|
|
||||||
'YIM_IMG' => $user->img('icon_contact_yahoo', 'YIM'),
|
|
||||||
'JABBER_IMG' => $user->img('icon_contact_jabber', 'JABBER') ,
|
'JABBER_IMG' => $user->img('icon_contact_jabber', 'JABBER') ,
|
||||||
'REPORT_IMG' => $user->img('icon_post_report', 'REPORT_POST'),
|
'REPORT_IMG' => $user->img('icon_post_report', 'REPORT_POST'),
|
||||||
'REPORTED_IMG' => $user->img('icon_topic_reported', 'POST_REPORTED'),
|
'REPORTED_IMG' => $user->img('icon_topic_reported', 'POST_REPORTED'),
|
||||||
|
@ -1114,8 +1112,6 @@ while ($row = $db->sql_fetchrow($result))
|
||||||
'profile' => '',
|
'profile' => '',
|
||||||
'pm' => '',
|
'pm' => '',
|
||||||
'email' => '',
|
'email' => '',
|
||||||
'aim' => '',
|
|
||||||
'yim' => '',
|
|
||||||
'jabber' => '',
|
'jabber' => '',
|
||||||
'search' => '',
|
'search' => '',
|
||||||
'age' => '',
|
'age' => '',
|
||||||
|
@ -1179,8 +1175,6 @@ while ($row = $db->sql_fetchrow($result))
|
||||||
|
|
||||||
'online' => false,
|
'online' => false,
|
||||||
'profile' => append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=viewprofile&u=$poster_id"),
|
'profile' => append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=viewprofile&u=$poster_id"),
|
||||||
'aim' => ($row['user_aim'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=aim&u=$poster_id") : '',
|
|
||||||
'yim' => ($row['user_yim']) ? 'http://edit.yahoo.com/config/send_webmesg?.target=' . urlencode($row['user_yim']) . '&.src=pg' : '',
|
|
||||||
'jabber' => ($row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=jabber&u=$poster_id") : '',
|
'jabber' => ($row['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=contact&action=jabber&u=$poster_id") : '',
|
||||||
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '',
|
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '',
|
||||||
|
|
||||||
|
@ -1624,8 +1618,6 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||||
'U_SEARCH' => $user_cache[$poster_id]['search'],
|
'U_SEARCH' => $user_cache[$poster_id]['search'],
|
||||||
'U_PM' => ($poster_id != ANONYMOUS && $config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_cache[$poster_id]['allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&action=quotepost&p=' . $row['post_id']) : '',
|
'U_PM' => ($poster_id != ANONYMOUS && $config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_cache[$poster_id]['allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&action=quotepost&p=' . $row['post_id']) : '',
|
||||||
'U_EMAIL' => $user_cache[$poster_id]['email'],
|
'U_EMAIL' => $user_cache[$poster_id]['email'],
|
||||||
'U_AIM' => $user_cache[$poster_id]['aim'],
|
|
||||||
'U_YIM' => $user_cache[$poster_id]['yim'],
|
|
||||||
'U_JABBER' => $user_cache[$poster_id]['jabber'],
|
'U_JABBER' => $user_cache[$poster_id]['jabber'],
|
||||||
|
|
||||||
'U_APPROVE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&p={$row['post_id']}&f=$forum_id&redirect=" . urlencode(str_replace('&', '&', $viewtopic_url . '&p=' . $row['post_id'] . '#p' . $row['post_id']))),
|
'U_APPROVE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&p={$row['post_id']}&f=$forum_id&redirect=" . urlencode(str_replace('&', '&', $viewtopic_url . '&p=' . $row['post_id'] . '#p' . $row['post_id']))),
|
||||||
|
|
|
@ -193,8 +193,6 @@ class phpbb_auth_provider_apache_test extends phpbb_database_test_case
|
||||||
'user_sig' => '',
|
'user_sig' => '',
|
||||||
'user_sig_bbcode_uid' => '',
|
'user_sig_bbcode_uid' => '',
|
||||||
'user_sig_bbcode_bitfield' => '',
|
'user_sig_bbcode_bitfield' => '',
|
||||||
'user_aim' => '',
|
|
||||||
'user_yim' => '',
|
|
||||||
'user_jabber' => '',
|
'user_jabber' => '',
|
||||||
'user_actkey' => '',
|
'user_actkey' => '',
|
||||||
'user_newpasswd' => '',
|
'user_newpasswd' => '',
|
||||||
|
|
Loading…
Add table
Reference in a new issue