mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 05:34:01 +02:00
- updated topic tracking code
- additional changes (mostly bugfixes) - bart, if you update your user table with the user_lastmark field, set it to the user_lastvisit value ;) - and last but not least, introducing some bugs in ucp main front (regarding topic tracking) git-svn-id: file:///svn/phpbb/trunk@5272 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -821,8 +821,16 @@ CREATE TABLE phpbb_topics_marking (
|
||||
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
forum_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
mark_type tinyint(4) DEFAULT '0' NOT NULL,
|
||||
mark_time int(11) DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (user_id, topic_id),
|
||||
KEY forum_id (forum_id)
|
||||
);
|
||||
|
||||
# Table: 'phpbb_topic_posted'
|
||||
CREATE TABLE phpbb_topics_posted (
|
||||
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
topic_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
topic_posted tinyint(4) DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (user_id, topic_id)
|
||||
);
|
||||
|
||||
@@ -862,6 +870,7 @@ CREATE TABLE phpbb_users (
|
||||
user_email_hash bigint(20) DEFAULT '0' NOT NULL,
|
||||
user_birthday varchar(10) DEFAULT '' NOT NULL,
|
||||
user_lastvisit int(11) DEFAULT '0' NOT NULL,
|
||||
user_lastmark int(11) DEFAULT '0' NOT NULL,
|
||||
user_lastpost_time int(11) DEFAULT '0' NOT NULL,
|
||||
user_lastpage varchar(100) DEFAULT '' NOT NULL,
|
||||
user_last_confirm_key varchar(10) DEFAULT '' NOT NULL,
|
||||
|
Reference in New Issue
Block a user