茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1729071 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
F09_626.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

PHP特區 : [分享]郵件軟體/電子報系統 - phplist

發表者 討論內容
冷日
(冷日)
Webmaster
  • 註冊日: 2008/2/19
  • 來自:
  • 發表數: 15771
[分享]phplist電子報寄送系統,安裝與架設。PART 1

phplist電子報寄送系統,安裝與架設。PART 1

首先至 http://www.phplist.com/下載最新版的phplist,這邊安裝的版本是phplist 2.10.9。安裝在CENT OS 5.3。

解壓縮後,首先編輯lists/config/config.php這個檔案。

設定如下

1.連結mysql的相關設定修改


$language_module = "tchinese.inc"; //正體中文語系

$database_host = "localhost";  //資料庫位址與主機同一部就設localhost

$database_name = "YYY"; //資料庫名稱

$database_user = "ZZZ"; //資料庫使用者名稱

$database_password ="PASSWORD ''; //密碼


2.資料庫的字型預設值為unicode_general_ci的設定時,記得修改/lists/admin/structure.php

的line 69

     "email" => array("varchar(255) not null unique","Email"),

修改為


     "email" => array("varchar (233) not null unique","Email"),

原因參照

http://mantis.phplist.com/view.php?id=8583


另外在lists/admin/mysql.inc

找到:

return $db;


在上面加一行:

@mysql_query('SET NAMES utf8');

讓phplists寫入資料庫時為utf編碼,在phpmyadmin底下中文就不會顯示一堆亂碼


3.lists/admin/info 複製 en ,改名為 zh-tw

   lists/admin/help複製 en ,改名為 zh-tw


   解決大量匯入使用者無法出現選項的問題,如果有需求再針對裡面的文字翻成中文,否則還是以英文顯示。


4. 用瀏覽器連接至/lists/admin,點選初始化資料庫開始安裝


5. 移除寄信時附加的 phplist logo   /lists/admin/sendemaillib.php
# Logo mark $text["signature"] = "\n\n--\nPowered by PHPlist, www.phplist.com --\n\n";     //文字註解

/* Logo mark
  if (!EMAILTEXTCREDITS) {
   $html["signature"] = $PoweredByImage;#'<div align="center" id="signature"><a href="http://www.phplist.com"><img src="p
owerphplist.png" width=88 height=31 title="Powered by PHPlist" alt="Powered by PHPlist" border="0"></a></div>';
    # oops, accidentally became spyware, never intended that, so take it out again :-)
    $html["signature"] = preg_replace('/src=".*power-phplist.png"/','src="powerphplist.png"',$html["signature"]);
  } else {
    $html["signature"] = $PoweredByText;
  }
*/


原文出處:phplist電子報寄送系統,安裝與架設。PART 1 @ 認真打雜好青年日誌 :: 痞客邦 PIXNET ::
前一個主題 | 下一個主題 | | | |

討論串




Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|