mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Initial Lastread support. Mind the schema and config changes\!
git-svn-id: file:///svn/phpbb/trunk@3102 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -78,6 +78,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('auth_method','db')
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('ldap_server', '');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('ldap_base_dn', '');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('ldap_uid', '');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('lastread', '432000');
|
||||
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('record_online_users', '0', 1);
|
||||
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('record_online_date', '0', 1);
|
||||
INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('newest_user_id', '2', 1);
|
||||
|
@@ -191,6 +191,18 @@ CREATE TABLE phpbb_icons (
|
||||
PRIMARY KEY (icons_id)
|
||||
);
|
||||
|
||||
# --------------------------------------------------------
|
||||
#
|
||||
# Table structure for table 'phpbb_lastread'
|
||||
#
|
||||
CREATE TABLE phpbb_lastread (
|
||||
user_id mediumint(9) NOT NULL default '0',
|
||||
lastread_type tinyint(4) NOT NULL default '0',
|
||||
forum_id smallint(6) NOT NULL default '0',
|
||||
topic_id mediumint(9) NOT NULL default '0',
|
||||
lastread_time int(4) NOT NULL default '0',
|
||||
PRIMARY KEY (user_id,topic_id)
|
||||
);
|
||||
|
||||
# --------------------------------------------------------
|
||||
#
|
||||
|
@@ -415,7 +415,6 @@ CREATE TABLE phpbb_topics_watch (
|
||||
);
|
||||
CREATE INDEX phpbb_topics_watch_index ON phpbb_topics_watch (topic_id, user_id);
|
||||
|
||||
|
||||
/* --------------------------------------------------------
|
||||
Table structure for table phpbb_user_group
|
||||
-------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user