1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-14 04:34:07 +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

@@ -926,7 +926,10 @@ CREATE TABLE phpbb_profile_fields (
field_hide INTEGER DEFAULT 0 NOT NULL,
field_no_view INTEGER DEFAULT 0 NOT NULL,
field_active INTEGER DEFAULT 0 NOT NULL,
field_order INTEGER DEFAULT 0 NOT NULL
field_order INTEGER DEFAULT 0 NOT NULL,
field_is_contact INTEGER DEFAULT 0 NOT NULL,
field_contact_desc VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
field_contact_url VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL
);;
ALTER TABLE phpbb_profile_fields ADD PRIMARY KEY (field_id);;