請先看下面的說明…我實在看不懂真正的意思…\r
不過英文我不差,大概意思就是說可讓主題"到處都看得見"
然後會 JavaScript 的方式出現[php]<?php
##############################################################
## MOD Title: Topics Anywhere (topics_anywhere.php)
## MOD Author: DtM < dtm@yucom.be > (Dennis Heeren) http://www.afsvlaanderen.be/topics_anywhere
## MOD Description: Place links to the topics where users have posted recently from any forum on your
## phpBB on any page anywhere you want (no support for PHP, SSI, or whatever needed
## because it uses JavaScript to show the topic titles) or get those topics as a RSS
## feed - this is an extremely customizable addon so it can suit your needs - you even
## don't need to modify any files. All you need is phpBB running somewhere...
## MOD Version: 1.11.0
##
## Installation Level: easy
## Installation Time: about 3 Minutes 0
## Files To Edit: none (in some cases topics_anywhere.php itself)
## Included Files: topics_anywhere.php
## languages/lang_english/lang_topics_anywhere.php
## templates/subSilver/topics_anywhere_body.tpl
## templates/subSilver/topics_anywhere_result.tpl
## templates/subSilver/topics_anywhere_result_rss.tpl
?>[/php]
這是作者的提醒:
[php]<?php
## Author Notes:
## In my eyes, this isn't really a MOD, more an ADDON, because there is no
## need to modify any of phpBB's files.
##
## For the standard setup there is nothing else to do than placing the files in
## the appropriate directories. When you've done that, point your browser to
## topics_anywhere.php and follow the steps...
##
## By default, only public forums are available to show topics from and are shown in
## the picklist. If you want to change this so Topics Anywhere shows all forums (this
## is including hidden and private forums) you have to go to the Config Section of
## Topics Anywhere. Open the file topics_anywhere.php in your favourite PHP editor
## (or notepad) and edit the "Config Section". Also, if you want to add your own
## bullets or date formats, change the permissions of who may generate scripts and
## RSS feeds or hide specific forums from the picklist then you have to change
## the configuration of Topic Anywhere. Change whatever is necessary in
## the "Config Section". Just read the comments in the file to guide you.
##
## Topics Anywhere should work with phpBB 2.0.0 (not tested) and does work with
## phpBB 2.0.1 trough phpBB 2.0.6 (all tested). All code generated with earlier
## versions of Topics Anywhere can still be parsed by newer versions of Topics
## Anywhere. So if you upgrade, you don't need to get a new piece of code unless
## you want to use new features. In that case you should browse to topics_anywhere.php
## again to generate a new code to copy and paste.
?>[/php]
安裝方法,都是把附加檔案丟到相對位置就好\r
#-----[ COPY ]------------------------------------------
#
copy topics_anywhere.php to topics_anywhere.php
copy language/lang_english/lang_topics_anywhere.php to language/lang_english/lang_topics_anywhere.php
copy templates/subSilver/topics_anywhere_body.tpl to templates/subSilver/topics_anywhere_body.tpl
copy templates/subSilver/topics_anywhere_result.tpl to templates/subSilver/topics_anywhere_result.tpl
copy templates/subSilver/topics_anywhere_result_rss.tpl to templates/subSilver/topics_anywhere_result_rss.tpl
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
*****************************************************************
我照著做,去打開
topics_anywhere.php如下,準備要設定…\r
[php]<?php
//
// Config Section
//
// Who may view the Topics Anywhere setup page and generate scripts to copy and paste?
// Everybody: 0
// Administrators only: 1
// Moderators only: 2
// Administrators and moderators: 3
// All registered users: 4
$topics_anywhere_authlevel = 0;
// By default, only public forums are shown in the picklist. If you want, you can let
// Topics Anywhere show all forums in the picklist (this is including private and hidden forums).
// To do this, change 'true' to 'false' below.
// You can still exclude specific forums from the picklist by changing next config option.
$public_only = true;
// Don't show following forums in the picklist on the setup page.
// This is an array of numbers which are the forum ID's.
// For example use "$hide_forums = array(1, 5, 10);" to hide forums with ID 1, 5 and 10
// Leave the array empty (as below) to show all the forums.
// Note: it is never possible to let Topics Anywhere show topics from excluded forums,
// not even by modifying the URL generated by Topics Anywhere.
\n$hide_forums = array();
// You can change the format of date and time here...
// For American type dates you probably want to use the other array below
// You can also make your own formats, as long as you use the syntax of PHP's function date()
// Of course, do not add or remove any quotes! (unless escaped)
$date_formats = array('d/m/y', 'd/m/Y', 'd/m/Y H:i:s', 'D d-M-y', 'D d-M-Y', 'D d-M-Y H:i:s', 'l j F Y', 'l j F Y H:i:s');
// Some American style date formats - to enable them uncomment following line by removing the '// '
// $date_formats = array('m/d/y', 'm/d/Y', 'm/d/Y g:i:s A', 'D M d, y', 'D M d, Y', 'D M d, Y g:i:s A', 'l, F jS, Y', 'l, F jS, Y g:i:s A');
// Array of possible bullets
// You can add your own bullets if you want.
// Do not add or remove any quotes! (unless escaped)
$bullets = array('-', '+', '>', '›', '»', '?, '*');
?>[/php]
結果覺得也沒什麼好改的…\r
東西都丟到定位了,後台也沒什麼可以操作
頁面卻沒有什麼改變
但我很懷疑是最後的
// Array of possible bullets
// You can add your own bullets if you want.
// Do not add or remove any quotes! (unless escaped)
$bullets = array('-', '+', '>', '›', '»', '?, '*');
這段…\r
但怎麼會有…子彈bullets哩?
如果有人懂這個冷門外掛,煩請回應
[問題]看不懂 Topics Anywhere 這個mod怎麼弄
phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)
版主: 版主管理群
前往
- Announcement
- ↳ 系統公告區
- Support
- ↳ [3.3.x] 安裝與使用
- ↳ [3.3.x] 中文
- ↳ [3.3.x] 轉換
- Extensions
- ↳ 官方認證擴充功能
- ↳ [3.3.x] 官方認證擴充功能
- ↳ 非官方認證擴充功能
- ↳ 擴充功能問題討論
- Style
- ↳ 官方認證風格
- ↳ [3.3.x] 官方認證風格
- ↳ 非官方認證風格
- ↳ 風格問題討論
- Knowledge
- ↳ 教學文件庫
- ↳ 2.0
- ↳ 3.0
- ↳ 3.1
- ↳ 3.2
- ↳ 3.3
- ↳ phpBB 技術文件與知識庫
- ↳ 2.0
- ↳ 3.0
- ↳ 3.1
- ↳ 3.2
- Non-phpBB specific
- ↳ 塔羅占卜
- ↳ 塔羅精華
- ↳ 每週運勢
- ↳ 我想發問
- ↳ 站長交流
- ↳ 自由軟體或免費軟體
- ↳ 架站
- ↳ AppServ
- ↳ WampServer
- ↳ XAMPP
- ↳ phpMyAdmin
- ↳ ExoBUD MP
- ↳ 4images
- ↳ Coppermine Photo Gallery
- ↳ 網路
- ↳ 文書
- ↳ 檔案
- ↳ 美工
- ↳ 系統
- ↳ 安全
- ↳ 多媒體
- ↳ 遊戲
- ↳ 光碟
- ↳ 休閒哈拉與心情小品
- ↳ 意見反應或無法分類
- Link
- ↳ 竹貓星球數位(股)
- ↳ FaceBook_phpBB3-官方中文支援
- ↳ SSD 不限流量-網站空間( .tw or .com.tw域名免費送)
- ↳ 推薦網站
- ↳ phpBB.com
- ↳ phpBBHacks.com
- Archives
- ↳ phpBB 3.2.x Forum Archive
- ↳ [3.2.x] 安裝與使用
- ↳ [3.2.x] 中文
- ↳ [3.2.x] 轉換
- ↳ [3.2.x] 官方認證擴充功能
- ↳ [3.2.x] 官方認證風格
- ↳ phpBB 3.1.x Forum Archive
- ↳ [3.1.x] 安裝與使用
- ↳ [3.1.x] 中文
- ↳ [3.1.x] 轉換
- ↳ [3.1.x] 官方認證風格
- ↳ phpBB 3.0.x Forum Archive
- ↳ [3.0.x] Support
- ↳ [3.0.x] 安裝與使用
- ↳ [3.0.x] 中文
- ↳ [3.0.x] 轉換
- ↳ [3.0.x] Mod
- ↳ [3.0.x] 官方認證外掛
- ↳ [3.0.x] 非官方認證外掛
- ↳ [3.0.x] 外掛問題討論
- ↳ [3.0.x] Style
- ↳ [3.0.x] 官方認證風格
- ↳ [3.0.x] 非官方認證風格
- ↳ [3.0.x] 風格問題討論
- ↳ phpBB2 Forum Archive
- ↳ Support
- ↳ phpBB 2 安裝與使用
- ↳ phpBB 2 plus 綜合討論
- ↳ MOD
- ↳ 官方認證外掛
- ↳ 非官方認證外掛
- ↳ 外掛問題討論
- ↳ Style
- ↳ 官方認證風格
- ↳ 非官方認證風格
- ↳ 風格問題討論
