PLog 1.0/Plugins/submissions

PLog 1.0/Plugins/submissions

出自LifeType 中文文件計畫

(修訂版本間差異)
跳轉到: 導航, 搜尋
(用途)
(用途)
第12行: 第12行:
本程式允許非網誌使用者的外部訪客,如許多新聞站台般,可以對網誌發表文章。訪客將看到一頁單獨的網頁,他們可留下他們的暱稱、電子郵件信箱、文章主題及文章內容,甚至選擇一個分類。
本程式允許非網誌使用者的外部訪客,如許多新聞站台般,可以對網誌發表文章。訪客將看到一頁單獨的網頁,他們可留下他們的暱稱、電子郵件信箱、文章主題及文章內容,甚至選擇一個分類。
-
透過這個外掛所送出的文章,如其他文章一樣,將會被新增到資料庫中,但是它們的狀態將會被標示為「未審核」,並且不會顯示在前端,直到狀態被改變為「定稿」。發文訪客的資訊,將會被儲存在「submittedBy、submitterAddress」兩個自訂欄位中。
+
透過這個外掛所送出的文章,如其他文章一樣,將會被新增到資料庫中,但是它們的狀態將會被標示為「未審核」,並且'''不會'''顯示在前端,直到狀態被改變為「'''定稿'''」。發文訪客的資訊,將會被儲存在「'''submittedBy'''、'''submitterAddress'''」兩個自訂欄位中。
= 設定 =
= 設定 =

在2006年11月2日 (四) 07:37所做的修訂版本

名稱:訪客文章發表

版本:1.0

下載連結http://prdownloads.sourceforge.net/lifetype/1.1_submissions.zip?download

授權: GPL

作者: "The pLog Project"

用途

本程式允許非網誌使用者的外部訪客,如許多新聞站台般,可以對網誌發表文章。訪客將看到一頁單獨的網頁,他們可留下他們的暱稱、電子郵件信箱、文章主題及文章內容,甚至選擇一個分類。

透過這個外掛所送出的文章,如其他文章一樣,將會被新增到資料庫中,但是它們的狀態將會被標示為「未審核」,並且不會顯示在前端,直到狀態被改變為「定稿」。發文訪客的資訊,將會被儲存在「submittedBysubmitterAddress」兩個自訂欄位中。

設定

This plugin needs to be enabled before it can be used. Its configuration page can be found under the "Manage groups" subgroup.

As an extra configuration parameter, this plugin allows to either use the non-visual HTML editor or the built-in WYSIWYG editor.

The custom page where articles can be submitted, can be reached at:

http://yoursite.com/index.php?op=submissionForm&blogId=X

where X is the identifier of your blog.

Since the address above is too difficult to remember, the plugin has a built-in function that will generate the right address for us. Simply add the following line to the place your templates where you would like to show a link to the form:

<a href="{$submissions->pluginTemplatePage()}">Send us a story!</a>

注意事項

This plugin uses two templates that define the look of the "send story" page and of the feedback page. These templates can be found under plugins/submissions/templates/. The first one is called submitform.template and the second one is called accepted.template

These two templates are shared by all blogs that use the plugin (it is not possible to define blog-specific plugin templates) but it is possible to modify them to suit your design or your taste better. However, please make sure not to change any of the field names in the submission form or else the plugin will not be able to find its data.