PhpBB3

来自牛奶河Wiki
阿奔讨论 | 贡献2023年3月29日 (三) 21:52的版本
跳到导航 跳到搜索
Phpbb.png

About phpBB®

Millions of people use phpBB on a daily basis, making it the most widely used open source bulletin board system in the world. Whether you want to stay in touch with a small group of friends or are looking to set up a large multi-category board for a corporate website, phpBB has the features you need built-in.

SEO

phpbb3(3.3.5)

页面的标头部分缺少说明

<head>

<meta name='description' content='在此处输入有关页面内容的描述性、富含关键字的文本。'>

</head>

  • Bing

<meta name="description" content="必应可帮助你将理论付诸实践,使得搜索更加方便快捷,从而达到事半功倍的效果。"/>

  • mwbbs

<meta name='description' content='牛奶河BBS - Milky Way BBS - 牛奶河论坛'>

title

<title>牛奶河BBS - Milky Way BBS</title>

phpbb3 安装

php install

apt install libapache2-mod-php7.4 openssl php-imagick php7.4-common php7.4-curl php7.4-gd php7.4-imap php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-pgsql php-ssh2 php7.4-sqlite3 php7.4-xml php7.4-zip php-net-ftp unzip

Phpbb3 email.png

Email

smtp-mail.outlook.com

587

PLAIN

[email protected]

MWw.123

/var/www/html/phpbb/styles/prosilver/theme/images/site_logo.svg

Head

\styles\prosilver\template\

  • overall_header.html
  • simple_header.html
<meta name="description" content="牛奶河BBS - {PAGE_TITLE} - Milky Way BBS - www.mwbbs.tk" />
<link rel="shortcut icon" href="/images/pangolin.png" type="image/x-icon">

配置等级

否则只有一个管理员等级,很令人迷惑

用户等级_1.ranks下有相应图标(支持子目录)

用户等级_2.用户和组 -> 管理等级

用户等级_3.等级表单

用户等级_4.等级表单_指派特殊等级

维护 -> 错误日志

connect db config

config.php

phpbb3 升级

  • OLD: current
  • NEW: phpBB3

path

#上传的附件
cp -r files ../phpBB3/
# 等级、表情
cp -r images ../phpBB3/
# 聊天窗口
cp -r ext/dmzx ../phpBB3/ext/
cp -r mwbbs ../phpBB3/

file

cp ${FN} ../phpBB3/.

  • config.php
  • sitemap.xml
  • robots.txt
  • 各搜索引擎的证书/验证文件

文件修改

  • styles/prosilver/template/overall_header.html
  • styles/prosilver/template/simple_header.html
<meta name="description" content="{SITENAME} - Milky Way BBS - www.mwbbs.tk" />
chown -R www-data:www-data ../phpBB3