Guest Hide BB-Code MOD

phpBB3.0.x請盡早更新為phpBB3.2.x版,官方已停止更新
頭像
懸壺子
系統管理員
系統管理員
主題中的帖子: 3
文章: 33489
註冊時間: 2001-10-05 , 10:10
個人狀態: 道骨學習佛心..^^..
貼心留言: 氣候不穩
性別: 公仔
來自: 黃金故鄉
聯繫:

Guest Hide BB-Code MOD

未閱讀文章 懸壺子 »

Guest Hide BB-Code MOD
http://www.phpbb.com/community/viewtopi ... 45&start=0
Modification name: Guest Hide BB-Code MOD
Author: AllCity
Modification description: With the bbcode, members can hide their message content from guest!
Modification version: 1.4.1
Tested on phpBB version: 3.0.8

Download file: guest_hide_bbcode_mod.zip
File size: 46260 Bytes

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Modifications Team may not be able to provide support.

-->Modification support<--
圖檔
頭像
懸壺子
系統管理員
系統管理員
主題中的帖子: 3
文章: 33489
註冊時間: 2001-10-05 , 10:10
個人狀態: 道骨學習佛心..^^..
貼心留言: 氣候不穩
性別: 公仔
來自: 黃金故鄉
聯繫:

Re: Guest Hide BB-Code MOD

未閱讀文章 懸壺子 »

中文化:By 懸壺子

guest_hide_bbcode_mod.php
正體:

代碼: 選擇全部

<?php
/**
*
* @package Guest Hide BBCode MOD English language
* @version 1.4.0 of 14.04.2009
* @copyright (c) By Shapoval Andrey Vladimirovich (AllCity) ~ http://allcity.net.ru/
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*正體中文化:By 懸壺子  http://herb-tw.com/
*/

/**
* DO NOT CHANGE!
*/
if (!defined('IN_PHPBB'))
{
  exit;
}

if (empty($lang) || !is_array($lang))
{
  $lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(

  'HIDE_REG' => '只提供給註冊用戶觀看內容,請註冊查看,謝謝 ^^',
  'HIDE_ON' => '<strong>訪客無法觀看內容</strong>:隱藏內容中',
  'HIDE_OFF' => '<strong>會員可觀看內容</strong>:隱藏內容打開 '


));
?>

簡體
guest_hide_bbcode_mod.php

代碼: 選擇全部

<?php
/**
*
* @package Guest Hide BBCode MOD English language
* @version 1.4.0 of 14.04.2009
* @copyright (c) By Shapoval Andrey Vladimirovich (AllCity) ~ http://allcity.net.ru/
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*简体中文化:悬壶子 http://herb-tw.com/
*/

/**
* DO NOT CHANGE!
*/
if (!defined('IN_PHPBB'))
{
  exit;
}

if (empty($lang) || !is_array($lang))
{
  $lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(

  'HIDE_REG' => '只提供给注册用户观看内容,请注册最多可以,谢谢^_^',
  'HIDE_ON' => '<strong>访客无法观看内容</strong>: 隐藏内容',
  'HIDE_OFF' => '<strong>会员可观看内容</strong>: 隐藏内容打开'


));
?>
圖檔
頭像
懸壺子
系統管理員
系統管理員
主題中的帖子: 3
文章: 33489
註冊時間: 2001-10-05 , 10:10
個人狀態: 道骨學習佛心..^^..
貼心留言: 氣候不穩
性別: 公仔
來自: 黃金故鄉
聯繫:

Re: Guest Hide BB-Code MOD

未閱讀文章 懸壺子 »

效果如下

測試 ce12:
圖檔
版面鎖定 主題已鎖定

回到「phpBB3.0.x」