1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

- create forums by default

- hide prune options if not enabled
- fixed module management enable/disable switch if in module itself
- fixed some schema errors
- adjusted $user->page array generation for developers calling scripts outside of phpBB root


git-svn-id: file:///svn/phpbb/trunk@5995 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-06-01 13:47:42 +00:00
parent 4354cda6dc
commit 721a9dd4a1
22 changed files with 172 additions and 65 deletions

View File

@@ -1238,9 +1238,9 @@ CREATE TABLE phpbb_topics (
topic_moved_id INTEGER DEFAULT 0 NOT NULL,
topic_bumped INTEGER DEFAULT 0 NOT NULL,
topic_bumper INTEGER DEFAULT 0 NOT NULL,
poll_title BLOB SUB_TYPE TEXT,
poll_start INTEGER DEFAULT 0 NOT NULL,
poll_length INTEGER DEFAULT 0 NOT NULL,
poll_title BLOB SUB_TYPE TEXT NULL,
poll_start INTEGER DEFAULT 0 NULL,
poll_length INTEGER DEFAULT 0 NULL,
poll_max_options INTEGER DEFAULT 1 NOT NULL,
poll_last_vote INTEGER DEFAULT 0 ,
poll_vote_change INTEGER DEFAULT 0 NOT NULL
@@ -1317,7 +1317,7 @@ CREATE TABLE phpbb_users (
user_type INTEGER DEFAULT 0 NOT NULL,
group_id INTEGER DEFAULT 3 NOT NULL,
user_permissions BLOB SUB_TYPE TEXT,
user_perm_from INTEGER DEFAULT 0 NOT NULL,
user_perm_from INTEGER DEFAULT 0 NULL,
user_ip VARCHAR(40) DEFAULT '' NOT NULL,
user_regdate INTEGER DEFAULT 0 NOT NULL,
username VARCHAR(252) DEFAULT '' NOT NULL,

View File

@@ -1943,9 +1943,9 @@ CREATE TABLE [phpbb_topics] (
[topic_moved_id] [int] NOT NULL ,
[topic_bumped] [int] NOT NULL ,
[topic_bumper] [int] NOT NULL ,
[poll_title] [varchar] (3000) ,
[poll_start] [int] NOT NULL ,
[poll_length] [int] NOT NULL ,
[poll_title] [varchar] (3000) NULL ,
[poll_start] [int] NULL ,
[poll_length] [int] NULL ,
[poll_max_options] [int] NOT NULL ,
[poll_last_vote] [int] NULL ,
[poll_vote_change] [int] NOT NULL
@@ -2114,14 +2114,14 @@ CREATE TABLE [phpbb_users] (
[user_type] [int] NOT NULL ,
[group_id] [int] NOT NULL ,
[user_permissions] [text] NULL ,
[user_perm_from] [int] NOT NULL ,
[user_perm_from] [int] NULL ,
[user_ip] [varchar] (40) NOT NULL ,
[user_regdate] [int] NOT NULL ,
[username] [varchar] (255) NOT NULL ,
[user_password] [varchar] (40) NOT NULL ,
[user_passchg] [int] NULL ,
[user_email] [varchar] (100) NOT NULL ,
[user_email_hash] [int] NOT NULL ,
[user_email_hash] [float] NOT NULL ,
[user_birthday] [varchar] (10) NULL ,
[user_lastvisit] [int] NOT NULL ,
[user_lastmark] [int] NOT NULL ,

View File

@@ -817,9 +817,9 @@ CREATE TABLE phpbb_topics (
topic_moved_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_bumped tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
topic_bumper mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
poll_title text,
poll_start int(11) DEFAULT '0' NOT NULL,
poll_length int(11) DEFAULT '0' NOT NULL,
poll_title text NULL,
poll_start int(11) DEFAULT '0' NULL,
poll_length int(11) DEFAULT '0' NULL,
poll_max_options tinyint(4) UNSIGNED DEFAULT '1' NOT NULL,
poll_last_vote int(11) UNSIGNED DEFAULT '0',
poll_vote_change tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
@@ -874,7 +874,7 @@ CREATE TABLE phpbb_users (
user_type tinyint(1) DEFAULT '0' NOT NULL,
group_id mediumint(8) DEFAULT '3' NOT NULL,
user_permissions text NULL,
user_perm_from mediumint(8) DEFAULT '0' NOT NULL,
user_perm_from mediumint(8) DEFAULT '0' NULL,
user_ip varchar(40) DEFAULT '' NOT NULL,
user_regdate int(11) DEFAULT '0' NOT NULL,
username varchar(255) DEFAULT '' NOT NULL,

View File

@@ -1609,9 +1609,9 @@ CREATE TABLE phpbb_topics (
topic_moved_id number(8) DEFAULT '0' NOT NULL,
topic_bumped number(1) DEFAULT '0' NOT NULL,
topic_bumper number(8) DEFAULT '0' NOT NULL,
poll_title varchar2(3000),
poll_start number(11) DEFAULT '0' NOT NULL,
poll_length number(11) DEFAULT '0' NOT NULL,
poll_title varchar2(3000) NULL,
poll_start number(11) DEFAULT '0' NULL,
poll_length number(11) DEFAULT '0' NULL,
poll_max_options number(4) DEFAULT '1' NOT NULL,
poll_last_vote number(11) DEFAULT '0',
poll_vote_change number(1) DEFAULT '0' NOT NULL,
@@ -1715,7 +1715,7 @@ CREATE TABLE phpbb_users (
user_type number(1) DEFAULT '0' NOT NULL,
group_id number(8) DEFAULT '3' NOT NULL,
user_permissions clob NULL,
user_perm_from number(8) DEFAULT '0' NOT NULL,
user_perm_from number(8) DEFAULT '0' NULL,
user_ip varchar2(40) DEFAULT '' NOT NULL,
user_regdate number(11) DEFAULT '0' NOT NULL,
username varchar2(255) DEFAULT '' NOT NULL,

View File

@@ -1197,9 +1197,9 @@ CREATE TABLE phpbb_topics (
topic_moved_id INT4 DEFAULT '0' NOT NULL,
topic_bumped INT2 DEFAULT '0' NOT NULL,
topic_bumper INT4 DEFAULT '0' NOT NULL,
poll_title varchar(3000),
poll_start INT4 DEFAULT '0' NOT NULL,
poll_length INT4 DEFAULT '0' NOT NULL,
poll_title varchar(3000) NULL,
poll_start INT4 DEFAULT '0' NULL,
poll_length INT4 DEFAULT '0' NULL,
poll_max_options INT2 DEFAULT '1' NOT NULL,
poll_last_vote INT4 DEFAULT '0',
poll_vote_change INT2 DEFAULT '0' NOT NULL,
@@ -1291,7 +1291,7 @@ CREATE TABLE phpbb_users (
user_type INT2 DEFAULT '0' NOT NULL,
group_id INT4 DEFAULT '3' NOT NULL,
user_permissions TEXT NULL,
user_perm_from INT4 DEFAULT '0' NOT NULL,
user_perm_from INT4 DEFAULT '0' NULL,
user_ip varchar(40) DEFAULT '' NOT NULL,
user_regdate INT4 DEFAULT '0' NOT NULL,
username varchar_ci,

View File

@@ -873,9 +873,9 @@ CREATE TABLE phpbb_topics (
topic_moved_id mediumint(8) NOT NULL DEFAULT '0',
topic_bumped tinyint(1) NOT NULL DEFAULT '0',
topic_bumper mediumint(8) NOT NULL DEFAULT '0',
poll_title text(65535),
poll_start int(11) NOT NULL DEFAULT '0',
poll_length int(11) NOT NULL DEFAULT '0',
poll_title text(65535) NULL,
poll_start int(11) NULL DEFAULT '0',
poll_length int(11) NULL DEFAULT '0',
poll_max_options tinyint(4) NOT NULL DEFAULT '1',
poll_last_vote int(11) DEFAULT '0',
poll_vote_change tinyint(1) NOT NULL DEFAULT '0'