[問題]有關"活動報名模組" 報名資料

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
頭像
小示
星球公民
星球公民
文章: 48
註冊時間: 2003-10-15 00:21
聯繫:

[問題]有關"活動報名模組" 報名資料

文章 小示 »

代碼: 選擇全部

##############################################################
## MOD Title:		Meeting
## MOD Author: OXPUS < webmaster@oxpus.de > (Karsten Ude) http://www.oxpus.de
## MOD Description:	Implement a meeting managemant for example to initiate a board meeting with your users
## MOD Version:		1.3.7
##
## Installation Level:	Easy
## Installation Time:	5-10 Minutes
## Files To Edit:	8
##			admin/index.php
##			includes/constants.php
##			includes/page_header.php
##			language/lang_english/lang_admin.php
##			language/lang_german/lang_admin.php
##			common.php
##			viewonline.php
##			templates/subSilver/overall_header.tpl
##
## Included Files:	11
##			admin/admin_meeting.php
##			language/lang_english/lang_meeting.php
##			language/lang_german/lang_meeting.php
##			templates/subSilver/meeting_comment_body.tpl
##			templates/subSilver/meeting_detail_body.tpl
##			templates/subSilver/meeting_edit_body.tpl
##			templates/subSilver/meeting_viewlist_body.tpl
##			templates/subSilver/admin/meeting_config_body.tpl
##			templates/subSilver/admin/meeting_manage_body.tpl
##			meeting.php
##			meeting_manage.php
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 
############################################################## 
## For security purposes, please check: http://www.phpbb.com/mods/ 
## for the latest version of this MOD. Although MODs are checked 
## before being allowed in the MODs Database there is no guarantee 
## that there are no security problems within the MOD. No support 
## will be given for MODs not found within the MODs Database which 
## can be found at http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes:
##
##############################################################
## MOD History:
##
##   2006-03-17 - Version 1.3.7
##	- ADD Enable BBCode, Smilies and HTML for Meeting Description
##	- ADD Enable BBCode, Smilies and HTML for Meeting Comments
##	- DELETE templates/.../admin/meeting_edit_body.tpl.
##	  For update look into the folder updates
##
##   2006-02-04 - Version 1.3.6
##	- ADD Permissions for creating meetings by user
##	- ADD Enable/Disable Email Notify on Sign on/off / change promise to board adress and/or meeting owner
##	  For update look into the folder updates
##
##   2006-01-10 - Version 1.3.5
##	- FIX Quoting on several fields
##	  For update just replace the files meeting_manage.php and admin/admin_meeting.php
##
##   2006-01-10 - Version 1.3.4
##	- FIX Timezone for edit via ACP
##	- FIX Datebase update script (missing sql-statements)
##	  For update just replace the file admin/admin_meeting.php
##
##   2006-01-05 - Version 1.3.3
##	- ADD Allow Users to delete their own meetings
##	- ADD Allow Users to delete their own meeting comments
##	  For update look into the folder updates
##
##   2006-01-04 - Version 1.3.2
##	- FIX Several bugs on comments
##	  For update replace the files meeting.php and templates/subSilver/meeting_detail_body.tpl
##
##   2006-01-03 - Version 1.3.1
##	- FIX Time issue on display Meeting Details
##	- FIX Editing Meeting By User
##	  For update replace the files meeting.php and meeting_manage.php
##
##   2005-12-30 - Version 1.3.0
##	- ADD Multiple Comments per User
##	  For update look into the folder updates
##
##   2005-07-12 - Version 1.2.1
##	- FIX table errors on template files
##	  For update look replace all .tpl-Files from this package
##
##   2005-07-04 - Version 1.2.0
##	- ADD Editing meeting by meeting founder and (if set in ACP) by each user
##	- ADD Enter meeting list with query for active meetings (the list may be empty at startup!)
##	- ADD Setting start value and intervall for assign drop down for each meeting
##	  For update look into the folder updates
##
##   2005-06-06 - Version 1.1.3
##	- FIX User access for enter and edit meeting
##	  For update replace the files meeting.php and meeting_manage.php
##
##   2005-04-13 - Version 1.1.2
##	- FIX Meeting update bug on ACP modul..
##	  For update just replace the file admin/admin_meeting.php
##
##   2005-04-06 - Version 1.1.1
##	- FIX Displaying link for entering new meeting by users if no meeting exists.
##	  For update just replace the file meeting.php
##
##   2005-04-05 - Version 1.1.0
##      - ADD Users can add/edit meetings. The admin can enable/disable this options.
##	- ADD Usernames which have created and last edited the meetings
##	  For update look into the folder updates!
##
##   2005-04-01 - Version 1.0.8
##      - FIX summertime issue while submitting a meeting
##	  For update replace the file admin/admin_meeting.php
##
##   2005-03-06 - Version 1.0.7
##      - FIX counting and permissions on meetings
##	  For update replace the file meeting.php and reinstall the part for includes/page_header.php
##
##   2005-01-21 - Version 1.0.6
##      - FIX timeformat on saving meeting
##	  For update just replace the files meeting.php and admin/admin_meeting.php
##
##   2005-01-10 - Version 1.0.5
##      - ADD number of joined users on meeting list
##	  For update just replace the files meeting.php and meeting_viewlist_body.tpl
##
##   2004-10-17 - Version 1.0.4
##      - Fix link integration in board navigation
##
##   2004-08-06 - Version 1.0.3
##      - Fix quote in meeting comments
##	  For update replace meeting.php
##
##   2004-07-25 - Version 1.0.2
##      - Fix statictic on meeting detail
##	- Fix delete comments on drop meeting
##	  For update replace admin/admin_meeting.php and meeting.php
##
##   2004-07-22 - Version 1.0.1
##      - Fix some layout errors.
##	  For update replace all files comming with this mod.
##
##   2004-07-12 - Version 1.0.0
##      - First release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ COPY ]------------------------------------------
#
CREATE TABLE phpbb_meeting_comment (
       comment_id MEDIUMINT(8) AUTO_INCREMENT,
       meeting_id MEDIUMINT(8) unsigned NOT NULL,
       user_id MEDIUMINT(8) DEFAULT '0' NOT NULL,
       meeting_comment TEXT NOT NULL,
       meeting_edit_time INT(11) DEFAULT '0' NOT NULL,
       bbcode_uid varchar(10) NOT NULL DEFAULT '',
PRIMARY KEY (comment_id));
CREATE TABLE phpbb_meeting_data (
       meeting_id MEDIUMINT(8) unsigned NOT NULL,
       meeting_time INT(11) DEFAULT '0' NOT NULL,
       meeting_until INT(11) DEFAULT '0' NOT NULL,
       meeting_location VARCHAR(255) NOT NULL,
       meeting_subject VARCHAR(255) NOT NULL,
       meeting_desc TEXT NOT NULL,
       meeting_link VARCHAR(255) NOT NULL,
       meeting_places MEDIUMINT(8) DEFAULT '0' NOT NULL,
       meeting_by_user MEDIUMINT(8) DEFAULT '0' NOT NULL,
       meeting_edit_by_user MEDIUMINT(8) DEFAULT '0' NOT NULL,
       meeting_start_value MEDIUMINT(8) DEFAULT '0' NOT NULL,
       meeting_recure_value MEDIUMINT(8) DEFAULT '5' NOT NULL,
       meeting_notify tinyint(1) NOT NULL DEFAULT '0',
       bbcode_uid varchar(10) NOT NULL DEFAULT '',
PRIMARY KEY (meeting_id));
CREATE TABLE phpbb_meeting_user (
       meeting_id MEDIUMINT(8) unsigned NOT NULL,
       user_id MEDIUMINT(8) DEFAULT '0' NOT NULL,
       meeting_sure TINYINT(4) DEFAULT '0' NOT NULL);
CREATE TABLE phpbb_meeting_usergroup (
       meeting_id MEDIUMINT(8) unsigned NOT NULL,
       meeting_group MEDIUMINT(8) NOT NULL);
CREATE TABLE phpbb_meeting_config (
	config_name VARCHAR(255) NOT NULL DEFAULT '',
	config_value VARCHAR(255) NOT NULL DEFAULT '',
PRIMARY KEY (config_name)
);
INSERT INTO phpbb_meeting_config (config_name, config_value) VALUES ('allow_user_enter_meeting', '0');
INSERT INTO phpbb_meeting_config (config_name, config_value) VALUES ('allow_user_edit_meeting', '0');
INSERT INTO phpbb_meeting_config (config_name, config_value) VALUES ('allow_user_delete_meeting', '0');
INSERT INTO phpbb_meeting_config (config_name, config_value) VALUES ('allow_user_delete_meeting_comments', '0');
INSERT INTO phpbb_meeting_config (config_name, config_value) VALUES ('create_meeting', '1');
INSERT INTO phpbb_meeting_config (config_name, config_value) VALUES ('meeting_notify', '1');
UPDATE phpbb_meeting_data SET meeting_by_user = 2, meeting_edit_by_user = 2;
ALTER TABLE phpbb_groups ADD COLUMN allow_create_meeting TINYINT(1) DEFAULT '0' NOT NULL;

#
#-----[ COPY ]------------------------------------------
#
copy admin/admin_meeting.php to admin/admin_meeting.php
copy language/lang_english/lang_meeting.php to language/lang_english/lang_meeting.php
copy language/lang_german/lang_meeting.php to language/lang_german/lang_meeting.php
copy templates/subSilver/meeting_comment_body.tpl to templates/subSilver/meeting_comment_body.tpl
copy templates/subSilver/meeting_detail_body.tpl to templates/subSilver/meeting_detail_body.tpl
copy templates/subSilver/meeting_edit_body.tpl to templates/subSilver/meeting_edit_body.tpl
copy templates/subSilver/meeting_viewlist_body.tpl to templates/subSilver/meeting_viewlist_body.tpl
copy templates/subSilver/admin/meeting_config_body.tpl to templates/subSilver/admin/meeting_config_body.tpl
copy templates/subSilver/admin/meeting_manage_body.tpl to templates/subSilver/admin/meeting_manage_body.tpl
copy meeting.php to meeting.php
copy meeting_manage.php to meeting_manage.php
我想加一個職業的選項
跟職業的統計
我在phpbb_meeting_data加了meeting_dru&meeting_rog
phpbb_meeting_user加了user_class
我的想法是選了一個職業後user_class(紀錄該用戶選擇的職業)
如選擇了DRU
則meeting_dru值+1
請問在PHP裡我該如寫

還有設定的時間跟設定後的時間差了13小時...
請問有人知道哪邊有問題嗎?


MOD原始載點
http://www.phpbbhacks.com/download/3343
jeswang.tw
星球普通子民
星球普通子民
文章: 19
註冊時間: 2006-07-31 13:02

文章 jeswang.tw »

你說的時間差 13 小時,會不會就是我修改的這段?你要不要參考看看?

[問題] meeting 1.3.11 時間錯誤一問 ~ 已解決
主題已鎖定

回到「外掛問題討論」