<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Computer, Electron and Technology &#187; 汉化</title>
	<atom:link href="http://www.donevii.com/post/tag/%e6%b1%89%e5%8c%96/feed" rel="self" type="application/rss+xml" />
	<link>http://www.donevii.com</link>
	<description>关注技术、移动互联网以及一切 GEEK &#38; NERD 的事情</description>
	<lastBuildDate>Wed, 21 Dec 2011 10:49:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>pligg安装步骤</title>
		<link>http://www.donevii.com/post/47.html</link>
		<comments>http://www.donevii.com/post/47.html#comments</comments>
		<pubDate>Wed, 23 Aug 2006 10:34:51 +0000</pubDate>
		<dc:creator>dengwei</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[pligg]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[步骤]]></category>
		<category><![CDATA[汉化]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.donevii.com/?p=47</guid>
		<description><![CDATA[[转]pligg安装步骤 原文地址：http://blog.manboo.info/305.htm pligg安装步骤 Posted by topcool on 08/16/06 in Web2.0 1.下载安装的文件，现在的版本是Beta 7.2 Nightly 138。 2. 解压缩文件，找到pligg/libs/dbconnect.php.defaul... ]]></description>
			<content:encoded><![CDATA[<p><strong><span class="tpc_title">[转]pligg安装步骤</span></strong></p>
<p><span class="tpc_content">原文地址：<a href="http://blog.manboo.info/305.htm" target="_blank">http://blog.manboo.info/305.htm</a></span></p>
<p>pligg安装步骤<br />
Posted by topcool on 08/16/06 in <a href="http://www.donevii.com/post/tag/web" class="st_tag internal_tag" rel="tag" title="Posts tagged with web">Web</a>2.0<br />
1.下载安装的文件，现在的版本是Beta 7.2 Nightly 138。</p>
<p>2. 解压缩文件，找到pligg/libs/dbconnect.<a href="http://www.donevii.com/post/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with php">php</a>.default，重命名为dbconnet.<a href="http://www.donevii.com/post/tag/php" class="st_tag internal_tag" rel="tag" title="Posts tagged with php">php</a></p>
<p>config.default.php 重命名为 config.php并用记事本打开找到下面几行：</p>
<p>$trackbackURL = “<a href="http://www.donevii.com/post/tag/pligg" class="st_tag internal_tag" rel="tag" title="Posts tagged with pligg">pligg</a>.com”;<br />
// in this example, pligg is install in <a href="http://ashtest1.pligg.com/" target="_blank" class="broken_link">http://ashtest1.pligg.com/</a><br />
//define(’my_base_url’, ‘<a href="http://ashtest1.pligg.com/" target="_blank" class="broken_link">http://ashtest1.pligg.com</a>’); // the base url to your site.<br />
//define(’my_pligg_base’, ‘’); // if installed in a subfolder. leave blank if installed in root.</p>
<p>去掉//，改成相应的链接，最后不要带/</p>
<p>3. 将所有的文件上传到FTP空间相应的目录</p>
<p>4. 修改下列文件的属性为777，注意是修改文件夹及文件夹下所有的文件。</p>
<p>/configs<br />
/templates_c<br />
/templates<br />
config.php<br />
/libs/dbconnect.php<br />
/libs/options.php</p>
<p>5. 打开浏览器, <a href="http://yoururl/install/" target="_blank" class="broken_link">http://yoururl/install/</a> 按照说明，一路next就好。当然前提是</p>
<p>你已经先建立了数据库。</p>
<p>6. 安全起见，删除/install 目录，把libs/dbconnect.php文件属性改为655。</p>
<p>现在可以访问<a href="http://yourpligg/" target="_blank" class="broken_link">http://yourpligg/</a></p>
<p>登录帐户为god</p>
<p>密码12345</p>
<p>到 god profile , personal data , personal information 旁边的modify修改帐号信息及修改密码</p>
<p>如果想修改god为admin或者其他名字，可以用phpmyadmin到相应数据库，</p>
<p>修改users表的内容。</p>
<p>7.关于提交链接乱码的修改</p>
<p>这个应该是模板编码的问题，还没有想好怎么解决，可以将模板文件都用utf-8编码。先试试这个：<br />
将模板的head.tpl文件中</p>
<p>&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/<a href="http://www.donevii.com/post/tag/html" class="st_tag internal_tag" rel="tag" title="Posts tagged with html">html</a>; charset=iso-8859-1&#8243;/&gt;<br />
改成：</p>
<p>&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243; /&gt;</p>
<p>8.更换模板</p>
<p>更改config.php文件里</p>
<p>$thetemp = “mollio-beat”;这行代码，修改为$thetemp = “模板的名字”;</p>
<p>模板的名字是指templates目录下的文件夹，原始程序里是三个，觉得默认的mollio-beat</p>
<p>好看一些，你可以复制该文件夹并重命名，修改$thetemp = “mollio-beat”;</p>
<p>然后，就可以根据需要来修改你的模板了。</p>
<p>9. 新发现提交以后必须顶的次数超过5才能在首页显示，</p>
<p>这个可以在config.php文件中下面这几行改</p>
<p>// Publishing<br />
define(’votes_to_publish’, 5); // 改这个5为其他数字就可以了。<br />
define(’days_to_publish’, 10); // After this many days posts will not get published</p>
<p>10的意思是10天后，提交的这个新发现就不会被发布到首页了，除非已经</p>
<p>被顶了5次提交到首页了。</p>
<p>关于config.php的详细修改见这里</p>
<p>10. 关于pligg的汉化</p>
<p>可以直接修改libs/lang.conf文件(记事本就可以打开)</p>
<p>也可以登录到后台Admin Panel » Modify Language修改，其实也就是修改lang.conf文件。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.donevii.com/post/47.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

