1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12233] Allow profile fields to be contact fields

Contact fields are displayed with in the contact section of the user profile
and are displayed differently in the mini profile next to posts and private
messages

PHPBB3-12233
This commit is contained in:
Joas Schilling
2014-02-28 11:05:48 +01:00
parent 620f2840d7
commit a823205403
18 changed files with 166 additions and 13 deletions

View File

@@ -644,7 +644,10 @@ CREATE TABLE phpbb_profile_fields (
field_hide INTEGER UNSIGNED NOT NULL DEFAULT '0',
field_no_view INTEGER UNSIGNED NOT NULL DEFAULT '0',
field_active INTEGER UNSIGNED NOT NULL DEFAULT '0',
field_order INTEGER UNSIGNED NOT NULL DEFAULT '0'
field_order INTEGER UNSIGNED NOT NULL DEFAULT '0',
field_is_contact INTEGER UNSIGNED NOT NULL DEFAULT '0',
field_contact_desc varchar(255) NOT NULL DEFAULT '',
field_contact_url varchar(255) NOT NULL DEFAULT ''
);
CREATE INDEX phpbb_profile_fields_fld_type ON phpbb_profile_fields (field_type);