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

- introduce new function build_url to easily build a valid url from the user->page object as well as optionally removing certain keys

- changed attachment config to utilize the config build methods
- cleaned up posting.php
- the submit/delete_post functions are now usable (functions_posting.php)
- adjusted header icons (transparency)
- a bunch of fixes for mssql
- bug fixes


git-svn-id: file:///svn/phpbb/trunk@5902 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-05-12 20:52:58 +00:00
parent 7dd067bf5a
commit a8d99f2228
48 changed files with 2015 additions and 1957 deletions

View File

@@ -434,19 +434,19 @@ CREATE TABLE phpbb_posts (
enable_smilies tinyint(1) NOT NULL DEFAULT '1',
enable_magic_url tinyint(1) NOT NULL DEFAULT '1',
enable_sig tinyint(1) NOT NULL DEFAULT '1',
post_username varchar(255),
post_subject text(65535),
post_text mediumtext(16777215),
post_username varchar(255) NULL,
post_subject text(65535) NOT NULL,
post_text mediumtext(16777215) NOT NULL,
post_checksum varchar(32) NOT NULL,
post_encoding varchar(20) NOT NULL DEFAULT 'iso-8859-1',
post_attachment tinyint(1) NOT NULL DEFAULT '0',
bbcode_bitfield int(11) NOT NULL DEFAULT '0',
bbcode_uid varchar(5) NOT NULL DEFAULT '',
post_edit_time int(11) NOT NULL DEFAULT '0',
post_edit_reason text(65535),
post_edit_user mediumint(8) NOT NULL DEFAULT '0',
post_edit_count smallint(5) NOT NULL DEFAULT '0',
post_edit_locked tinyint(1) NOT NULL DEFAULT '0'
post_edit_time int(11) NULL DEFAULT '0',
post_edit_reason text(65535) NULL,
post_edit_user mediumint(8) NULL DEFAULT '0',
post_edit_count smallint(5) NULL DEFAULT '0',
post_edit_locked tinyint(1) NULL DEFAULT '0'
);
CREATE INDEX phpbb_posts_forum_id on phpbb_posts (forum_id);
@@ -692,7 +692,7 @@ CREATE TABLE phpbb_sitelist (
# Table: phpbb_smilies
CREATE TABLE phpbb_smilies (
smiley_id INTEGER PRIMARY KEY NOT NULL,
code varchar(10),
code varchar(50),
emotion varchar(50),
smiley_url varchar(50),
smiley_width tinyint(4) NOT NULL,
@@ -725,7 +725,7 @@ CREATE TABLE phpbb_styles_template (
template_name varchar(255) NOT NULL,
template_copyright varchar(255) NOT NULL,
template_path varchar(100) NOT NULL,
bbcode_bitfield int(11) NOT NULL DEFAULT '0',
bbcode_bitfield int(11) NOT NULL DEFAULT '6921',
template_storedb tinyint(1) NOT NULL DEFAULT '0'
);
@@ -936,31 +936,31 @@ CREATE TABLE phpbb_users (
user_id INTEGER PRIMARY KEY NOT NULL,
user_type tinyint(1) NOT NULL DEFAULT '0',
group_id mediumint(8) NOT NULL DEFAULT '3',
user_permissions text(65535),
user_perm_from mediumint(8) NOT NULL DEFAULT '0',
user_permissions text(65535) NULL,
user_perm_from mediumint(8) NULL DEFAULT '0',
user_ip varchar(40) NOT NULL DEFAULT '',
user_regdate int(11) NOT NULL DEFAULT '0',
username varchar(255) NOT NULL DEFAULT '',
user_password varchar(40) NOT NULL DEFAULT '',
user_passchg int(11) NOT NULL DEFAULT '0',
user_passchg int(11) NULL DEFAULT '0',
user_email varchar(100) NOT NULL DEFAULT '',
user_email_hash bigint(20) NOT NULL DEFAULT '0',
user_birthday varchar(10) NOT NULL DEFAULT '',
user_birthday varchar(10) NULL DEFAULT '',
user_lastvisit int(11) NOT NULL DEFAULT '0',
user_lastmark int(11) NOT NULL DEFAULT '0',
user_lastpost_time int(11) NOT NULL DEFAULT '0',
user_lastpage varchar(200) NOT NULL DEFAULT '',
user_last_confirm_key varchar(10) NOT NULL DEFAULT '',
user_warnings tinyint(4) NOT NULL DEFAULT '0',
user_last_warning int(11) NOT NULL DEFAULT '0',
user_login_attempts smallint(4) NOT NULL DEFAULT '0',
user_last_confirm_key varchar(10) NULL DEFAULT '',
user_warnings tinyint(4) NULL DEFAULT '0',
user_last_warning int(11) NULL DEFAULT '0',
user_login_attempts smallint(4) NULL DEFAULT '0',
user_posts mediumint(8) NOT NULL DEFAULT '0',
user_lang varchar(30) NOT NULL DEFAULT '',
user_timezone decimal(5,2) NOT NULL DEFAULT '0.0',
user_dst tinyint(1) NOT NULL DEFAULT '0',
user_dateformat varchar(30) NOT NULL DEFAULT 'd M Y H:i',
user_style tinyint(4) NOT NULL DEFAULT '0',
user_rank int(11) DEFAULT '0',
user_rank int(11) NULL DEFAULT '0',
user_colour varchar(6) NOT NULL DEFAULT '',
user_new_privmsg tinyint(4) NOT NULL DEFAULT '0',
user_unread_privmsg tinyint(4) NOT NULL DEFAULT '0',
@@ -987,20 +987,20 @@ CREATE TABLE phpbb_users (
user_avatar_type tinyint(2) NOT NULL DEFAULT '0',
user_avatar_width tinyint(4) NOT NULL DEFAULT '0',
user_avatar_height tinyint(4) NOT NULL DEFAULT '0',
user_sig text(65535),
user_sig_bbcode_uid varchar(5) NOT NULL DEFAULT '',
user_sig_bbcode_bitfield int(11) NOT NULL DEFAULT '0',
user_from varchar(100) NOT NULL DEFAULT '',
user_icq varchar(15) NOT NULL DEFAULT '',
user_aim varchar(255) NOT NULL DEFAULT '',
user_yim varchar(255) NOT NULL DEFAULT '',
user_msnm varchar(255) NOT NULL DEFAULT '',
user_jabber varchar(255) NOT NULL DEFAULT '',
user_website varchar(200) NOT NULL DEFAULT '',
user_occ varchar(255) NOT NULL DEFAULT '',
user_interests varchar(255) NOT NULL DEFAULT '',
user_sig text(65535) NULL,
user_sig_bbcode_uid varchar(5) NULL DEFAULT '',
user_sig_bbcode_bitfield int(11) NULL DEFAULT '0',
user_from varchar(100) NULL DEFAULT '',
user_icq varchar(15) NULL DEFAULT '',
user_aim varchar(255) NULL DEFAULT '',
user_yim varchar(255) NULL DEFAULT '',
user_msnm varchar(255) NULL DEFAULT '',
user_jabber varchar(255) NULL DEFAULT '',
user_website varchar(200) NULL DEFAULT '',
user_occ varchar(255) NULL DEFAULT '',
user_interests varchar(255) NULL DEFAULT '',
user_actkey varchar(32) NOT NULL DEFAULT '',
user_newpasswd varchar(32) NOT NULL DEFAULT ''
user_newpasswd varchar(32) NULL DEFAULT ''
);
CREATE INDEX phpbb_users_user_birthday on phpbb_users (user_birthday);