●您的上網方式:3G
●您安裝的程式:Apache + php + MySql
●您的 phpBB 版本:phpBB 3.0.4
●您的 domain (網域名稱) : http://www.matuser.net
●您的 phpBB 連結網址: http://www.matuser.net/phpBB3/
其實心靈老師已經有分享過,不過美中不足每個動作(登入,登出,發文,刪文 .... )都要更正一次
延續看著官網的討論,網友GurlzLubme發表終極修改方案
只是我對照自己的code似乎不太一樣,所以貼上來讓大家參考,也提供給有這方面需求的朋友
(因為不是正式外掛,所以貼這裡,勿怪)
Open:
includes/functions.php
Find:
代碼: 選擇全部
* Meta refresh assignment
* Adds META template variable with meta http tag.
*
* @param int $time Time in seconds for meta refresh tag
* @param string $url URL to redirect to. The url will go through redirect() first before the template variable is assigned
* @param bool $disable_cd_check If true, meta_refresh() will redirect to an external domain. If false, the redirect point to the boards url if it does not match the current domain. Default is false.
*/
function meta_refresh($time, $url, $disable_cd_check = false)
{
global $template;
$url = redirect($url, true, $disable_cd_check);
$url = str_replace('&', '&', $url);
代碼: 選擇全部
* Meta refresh assignment
* Adds META template variable with meta http tag.
*
* @param int $time Time in seconds for meta refresh tag
* @param string $url URL to redirect to. The url will go through redirect() first before the template variable is assigned
* @param bool $disable_cd_check If true, meta_refresh() will redirect to an external domain. If false, the redirect point to the boards url if it does not match the current domain. Default is false.
*/
function meta_refresh($time, $url, $disable_cd_check = false)
{
global $template;
$url = redirect($url, false, $disable_cd_check);
$url = str_replace('&', '&', $url);
