mrbs会议管理系统配置简要说明

author author     2022-09-01     165

关键词:

首先,确保linux系统lamp或lnmp运行正常。

  将MRBS文件夹放入指定的文件目录下

  编辑config.inc.php文件修改一下参数;

    $timezone = "Asia/Shanghai";

    

/*******************

 * Database settings

 ******************/

// Which database system: "pgsql"=PostgreSQL, "mysql"=MySQL

$dbsys = "mysql";

// Hostname of database server. For pgsql, can use "" instead of localhost

// to use Unix Domain Sockets instead of TCP/IP. For mysql "localhost"

// tells the system to use Unix Domain Sockets, and $db_port will be ignored;

// if you want to force TCP connection you can use "127.0.0.1".

$db_host = "localhost";

// If you need to use a non standard port for the database connection you

// can uncomment the following line and specify the port number

// $db_port = 1234;

// Database name:

$db_database = "mrbs";

// Schema name.  This only applies to PostgreSQL and is only necessary if you have more

// than one schema in your database and also you are using the same MRBS table names in

// multiple schemas.

//$db_schema = "public";

// Database login user name:

$db_login = "mysql_username";

// Database login password:

$db_password = ‘mysql_password‘;

// Prefix for table names.  This will allow multiple installations where only

// one database is available

$db_tbl_prefix = "mrbs_";

// Set $db_persist to TRUE to use PHP persistent (pooled) database connections.  Note

// that persistent connections are not recommended unless your system suffers significant

// performance problems without them.   They can cause problems with transactions and

// locks (see http://php.net/manual/en/features.persistent-connections.php) and although

// MRBS tries to avoid those problems, it is generally better not to use persistent

// connections if you can.

$db_persist = FALSE;

如需要指定管理员可以添加一下内容

$auth["admin"][] = "username";//登录名称

如需要将登陆用户通过邮箱账号来登录可以添加以下字段

$auth["type"] = "pop3";

# ‘auth_pop3‘ configuration settings

# Where is the POP3 server

$pop3_host = "pop.mail.com";修改成服务器指定地址

# The POP3 server port

$pop3_port = "110";


lang/lang.zh-cn可以进行修改页面的中文显示

根据对应关系进行修改


systemdefaults.inc.php修改系统默认配置

创建添加修改预定会议室时邮件通知给预定人修改如下内容

/**********************************************

 * Email settings

 **********************************************/


// WHO TO EMAIL

// ------------

// The following settings determine who should be emailed when a booking is made,

// edited or deleted (though the latter two events depend on the "When" settings below).

// Set to TRUE or FALSE as required

// (Note:  the email addresses for the room and area administrators are set from the

// edit_area_room.php page in MRBS)

$mail_settings[‘admin_on_bookings‘]      = TRUE;  // the addresses defined by $mail_settings[‘recipients‘] below

$mail_settings[‘area_admin_on_bookings‘] = FALSE;  // the area administrator

$mail_settings[‘room_admin_on_bookings‘] = FALSE;  // the room administrator

$mail_settings[‘booker‘]                 = TRUE;  // the person making the booking

$mail_settings[‘book_admin_on_approval‘] = TRUE;  // the booking administrator when booking approval is enabled

                                                   // (which is the MRBS admin, but this setting allows MRBS

                                                   // to be extended to have separate booking approvers)     


// WHEN TO EMAIL

// -------------

// These settings determine when an email should be sent.

// Set to TRUE or FALSE as required

//

// (Note:  (a) the variables $mail_settings[‘admin_on_delete‘] and

// $mail_settings[‘admin_all‘], which were used in MRBS versions 1.4.5 and

// before are now deprecated.   They are still supported for reasons of backward

// compatibility, but they may be withdrawn in the future.  (b)  the default 

// value of $mail_settings[‘on_new‘] is TRUE for compatibility with MRBS 1.4.5

// and before, where there was no explicit config setting, but mails were always sent

// for new bookings if there was somebody to send them to)


$mail_settings[‘on_new‘]    = TRUE;   // when an entry is created

$mail_settings[‘on_change‘] = TRUE;  // when an entry is changed

$mail_settings[‘on_delete‘] = TRUE;  // when an entry is deleted


// It is also possible to allow all users or just admins to choose not to send an

// email when creating or editing a booking.  This can be useful if an inconsequential

// change is being made, or many bookings are being made at the beginning of a term or season.

$mail_settings[‘allow_no_mail‘]        = FALSE;

$mail_settings[‘allow_admins_no_mail‘] = FALSE;  // Ignored if ‘allow_no_mail‘ is TRUE

$mail_settings[‘no_mail_default‘] = FALSE; // Default value for the ‘no mail‘ checkbox.  

                                           // TRUE for checked (ie don‘t send mail),

                                           // FALSE for unchecked (ie do send mail)



// WHAT TO EMAIL

// -------------

// These settings determine what should be included in the email

// Set to TRUE or FALSE as required

$mail_settings[‘details‘]   = TRUE; // Set to TRUE if you want full booking details;

                                     // otherwise you just get a link to the entry

$mail_settings[‘html‘]      = TRUE; // Set to true if you want HTML mail

$mail_settings[‘icalendar‘] = TRUE; // Set to TRUE to include iCalendar details

                                     // which can be imported into a calendar.  (Note:

                                     // iCalendar details will not be sent for areas

                                     // that use periods as there isn‘t a mapping between

                                     // periods and time of day, so the calendar would not

// HOW TO EMAIL - LANGUAGE

// -----------------------------------------


// Set the language used for emails (choose an available lang.* file).

$mail_settings[‘admin_lang‘] = ‘zh‘;   // Default is ‘en‘.



// HOW TO EMAIL - ADDRESSES

// ------------------------

// The email addresses of the MRBS administrator are set in the config file, and

// those of the room and area administrators are set though the edit_area_room.php

// in MRBS.    But if you have set $mail_settings[‘booker‘] above to TRUE, MRBS will

// need the email addresses of ordinary users.   If you are using the "db" 

// authentication method then MRBS will be able to get them from the users table.  But

// if you are using any other authentication scheme then the following settings allow

// you to specify a domain name that will be appended to the username to produce a

// valid email address (eg "@domain.com").

$mail_settings[‘domain‘] = ‘‘;

// If you use $mail_settings[‘domain‘] above and username returned by mrbs contains extra

// strings appended like domain name (‘username.domain‘), you need to provide

// this extra string here so that it will be removed from the username.

$mail_settings[‘username_suffix‘] = ‘‘;



// HOW TO EMAIL - BACKEND

// ----------------------

// Set the name of the backend used to transport your mails. Either ‘mail‘,

// ‘smtp‘, ‘sendmail‘ or ‘qmail‘. Default is ‘mail‘.

$mail_settings[‘admin_backend‘] = ‘mail‘;


/*******************

 * Sendmail settings

 */


// Set the path of the Sendmail program (only used with "sendmail" backend).

// Default is ‘/usr/bin/sendmail‘

$sendmail_settings[‘path‘] = ‘/usr/bin/sendmail‘;

// Set additional Sendmail parameters (only used with "sendmail" backend).

// (example "-t -i"). Default is ‘‘

$sendmail_settings[‘args‘] = ‘‘;


/*******************

 * Qmail settings

 */


/* Configures the path to ‘qmail-inject‘, if unset defaults to ‘/var/qmail/bin/qmail-inject‘ */

$mail_settings[‘qmail‘][‘qmail-inject-path‘] = ‘/usr/bin/qmail-inject‘;


/*******************

 * SMTP settings

 */


// These settings are only used with the "smtp" backend

$smtp_settings[‘host‘] = ‘mail.collegepre.com‘;  // SMTP server

$smtp_settings[‘port‘] = 25;           // SMTP port number

$smtp_settings[‘auth‘] = TRUE;        // Whether to use SMTP authentication

$smtp_settings[‘secure‘] = ‘tls‘;      // Encryption method: ‘‘, ‘tls‘ or ‘ssl‘

$smtp_settings[‘username‘] = ‘‘;       // Username (if using authentication)

$smtp_settings[‘password‘] = ‘‘;       // Password (if using authentication)

$smtp_settings[‘disable_opportunistic_tls‘] = false; // Set this to true to disable

                                                     // opportunistic TLS

                                                     // https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#opportunistic-tls


// EMAIL - MISCELLANEOUS

// ---------------------

// Set the email address of the From field. Default is ‘[email protected]

$mail_settings[‘from‘] = ‘[email protected]‘;


// The address to be used for the ORGANIZER in an iCalendar event.   Do not make

// this email address the same as the admin email address or the recipients 

// email address because on some mail systems, eg IBM Domino, the iCalendar email

// notification is silently discarded if the organizer‘s email address is the same 

// as the recipient‘s.  On other systems you may get a "Meeting not found" message.

$mail_settings[‘organizer‘] = ‘[email protected]‘;


// Set the recipient email. Default is ‘[email protected]‘. You can define

// more than one recipient like this "[email protected],[email protected]"

$mail_settings[‘ttrecipients‘] = ‘[email protected]‘;


// Set email address of the Carbon Copy field. Default is ‘‘. You can define

// more than one recipient (see ‘recipients‘)

//$user = getUserName();

$mail_settings[‘cc‘] = $user;


// Set to TRUE if you want the cc addresses to be appended to the to line.

// (Some email servers are configured not to send emails if the cc or bcc

// fields are set)

$mail_settings[‘treat_cc_as_to‘] = TRUE;


// The filename to be used for iCalendar attachments.   Will always have the

// extension ‘.ics‘

$mail_settings[‘ics_filename‘] = "booking";


// Set this to TRUE if you want MRBS to output debug information when you are sending email.

// If you are not getting emails it can be helpful by telling you (a) whether the mail functions

// are being called in the first place (b) whether there are addresses to send email to and (c)

// the result of the mail sending operation.

$mail_settings[‘debug‘] = TRUE;

// Where to send the debug output.  Can be ‘browser‘ or ‘log‘ (for the error_log)

$mail_settings[‘debug_output‘] = ‘log‘;


// Set this to TRUE if you do not want any email sent, whatever the rest of the settings.

// This is a global setting that will override anything else.   Useful when testing MRBS.

$mail_settings[‘disabled‘] = FALSE;


本文出自 “学习总结” 博客,谢绝转载!

postgres_xl简要安装配置说明

1.系统需求CentOS7.2X64postgres-xl-9.5r1.4.tar.gz#yuminstall-ygcc-c++#yuminstall-yreadline-devel#yuminstall-yzlib-devel#yuminstall-yperl#yuminstall-yflex#yuminstall-yflex-devel2.安装postgres-xl/home/soft/tar 查看详情

前端高级(二十五)vue2.0项目实战一配置简要说明代码简要说明import/export轮播和列表例子(代码片段)

一、启动服务自动打开浏览器运行二、配置简要说明1、node_modules  安装好的依赖文件,中间件等,所在位置 2、package.jason   配置当前项目要安装的中间件和依赖文件"name":"my-app","version":"1.0.0","description":"AVue.jsproject","au... 查看详情

安卓混淆配置简要说明

1,Lib-Module中Gradle文件的混淆配置只对当前Lib-Module生成的AAR文件有效2,同理,App-Module中Gradle文件的混淆配置只对当前App-Module生成的APK文件有效3,getDefaultProguardFile('proguard-android.txt')的作用是配置安卓默认的... 查看详情

简要说明windows操作系统对文件名大小写的处理方式?

参考技术AWindows操作系统,文件名称没有大小写字母区分。Mac操作系统,文件名称默认没有大小写字母区分,自己可以选择是否区分大小字母。Linux操作系统,文件名称区分大小写字母。 查看详情

121.请简要说明linux操作系统下你所了解的文件存储方案

请简要说明linux操作系统下你所了解的文件存储方案RPM包安装如何解决依赖性关系Linux系统下有几种安装方式及卸载方式你了解linux内核调优吗?请介绍下调优的原则及相关参数当linux操作系统中没有/etc/sysconfig/iptables文件时,如... 查看详情

log4j配置简要说明(代码片段)

Spring集成:web.xml中配置log4j<context-param><param-name>log4jConfigLocation</param-name><param-value>WEB-INF/log4j.xml</param-value></context-param><!--加载Spring框架中的lo 查看详情

jenkins安装简要说明

1、配置JAVA环境变量#mkdir/usr/local/java/–p#cd/usr/local/java/#tarzxvf/data/elk5.0/jdk-8u111-linux-x64.tar.gz#cat>>/etc/profile<<EOFexportJAVA_HOME=/usr/local/java/jdk1.8.0_111exportPATH=$PATH:$J 查看详情

项目文档之项目会议纪要

(项目名称)项目会议纪要年月日##一、基本信息会议名称:    主持人: 会议日期:    会议开始时间: 会议地点:    会议持续时间: 记录人:二、会议目的(简要说... 查看详情

项目文档之项目会议纪要

(项目名称)项目会议纪要年月日##一、基本信息会议名称:    主持人: 会议日期:    会议开始时间: 会议地点:    会议持续时间: 记录人:二、会议目的(简要说... 查看详情

博客宗旨

...,首先要做简要说明,如系统、语言、工具、外部链接、配置等4.少说废话废话可以说,但不要太多  查看详情

log4j配置简要说明(代码片段)

...########################################################################①配置根Logger,其语法为:##log4j.rootLogger=[level],appenderName,appenderName2,...#level是日志记录的优先级,分为OFF,TRACE,DEBUG,INFO,WARN,ERROR,FATAL,ALL##Log4j建议只使用四个级别,优先级从低... 查看详情

jprofiler简要使用说明

1、简介JProfiler是一个ALL-IN-ONE的JAVA剖析工具,可以方便地监控Java程序的CPU、内存使用状况,能够检查垃圾回收、分析性能瓶颈。本说明文档基于JProfiler9.2编写。 2、安装安装包:JProfiler_windows-x64_9_2.exe (JProfiler9注册码.txt... 查看详情

contentprovider简要说明

ContentProvider简要说明android.content.ContentProvider简要概述  内容提供者是Android应用程序的主要构建块之一,为应用程序提供内容。它们封装数据并通过单个ContentResolver接口向应用程序提供数据。==只有在需要在多个应用... 查看详情

简要说明rationalrose中逻辑视图一般包含哪些内容,是如何组织的

参考技术A  在RationalRose建立的模型中包括四种视图,分别是用例视图(usecaseview)、逻辑视图(logicalview)、组件视图(componentview)和部署视图(deploymentview)。在我们创建一个rationalrose工程的时候,会自动包含这4种视图,它... 查看详情

简要说明建设城市大脑三条关键标准规范

前言:简要的说,城市大脑不是一个城市级AI信息系统,也不是城市内部的信息化建设,而是互联网结构从网状模型向大脑模型进化时,与城市建设结合的产物,因此建设城市大脑需要拥有三个特征或关键... 查看详情

网络操作系统按结构可以分为“对等结构操作系统”和“非对等结构操作系统”,请对这两种结构操作系统的主要特点给以简要说明。

对等结构的网络操作系统是指网络中的各个结点地位平等,因此安装在每个结点的操作系统的功能也相同,网络中的各种资源都可以实现共享。非对等结构的网络操作系统根据功能的不同,将网络中的结点分为服务器和工作站两... 查看详情

会议使用操作说明

查看详情

pycharm配置

Pycharm作为一款强力的PythonIDE,在使用过程中感觉一直找不到全面完整的参考手册,因此决定对官网的Pycharm教程进行简要翻译,与大家分享。1、准备工作官网下载2、如何选择Pycharm的外观Pycharm预定义了几种主题模式,可用主题的... 查看详情