<?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>LiangXu Wang &#187; phpbb</title>
	<atom:link href="http://wlx.westgis.ac.cn/tag/phpbb/feed/" rel="self" type="application/rss+xml" />
	<link>http://wlx.westgis.ac.cn</link>
	<description>technology backup/share</description>
	<lastBuildDate>Sat, 14 Jan 2012 03:56:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>phpbb3的anti-spam</title>
		<link>http://wlx.westgis.ac.cn/575/</link>
		<comments>http://wlx.westgis.ac.cn/575/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 01:57:01 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[phpbb]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/?p=575</guid>
		<description><![CDATA[phpbb3自身带的anti-spam系统已经被破解，导致论坛上出现了大量的垃圾帖子和用户。 经搜索，可以暂时使用PHPBBCHINA上的这个方案： Administration Control Panel -> Users and Groups -> Custom profile fields [Create new field]: antibot (Field identification: antibot, Field type: Numbers) Display in user control panel: Yes Display on registration screen: Yes Required field: Yes Field name: Anti-Bot &#8230; <a href="http://wlx.westgis.ac.cn/575/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>phpbb3自身带的anti-spam系统已经被破解，导致论坛上出现了大量的垃圾帖子和用户。<br />
经搜索，可以暂时使用<a href="http://cnc.phpbbchina.com/forum/viewtopic.php?f=5&#038;t=4651">PHPBBCHINA</a>上的这个方案：</p>
<blockquote><p>Administration Control Panel -> Users and Groups -> Custom profile fields<br />
[Create new field]: antibot (Field identification: antibot, Field type: Numbers)<br />
Display in user control panel: Yes<br />
Display on registration screen: Yes<br />
Required field: Yes<br />
Field name: Anti-Bot check<br />
Field description: 如果您不是机器人，请输入一个130到139之间的数字:<br />
[Profile type specific options]<br />
Lowest allowed number: 130<br />
Highest allowed number: 139<br />
没有用mod，目前为止好像有效，是俺搞完后做的记录，看不明白的可以问，</p>
<p>还有一个办法是使用初始发帖审核，可阻止垃圾帖泛滥，但不能应对注册，设置很简单：<br />
Administration Control Panel -> General -> Post settings<br />
Enable queued posts: Yes<br />
默认的最大帖子数是3，也就是说，只有前3帖通过审核发表后，用户才能自由发帖。<br />
否则你发了他也不显示。。。<br />
注意这个是3.0.0以后版本才有的功能（3.0.0本身木有）</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/575/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>整合phpbb3和mediawiki</title>
		<link>http://wlx.westgis.ac.cn/476/</link>
		<comments>http://wlx.westgis.ac.cn/476/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 03:48:03 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[phpbb]]></category>
		<category><![CDATA[mediawiki]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/476/</guid>
		<description><![CDATA[mediawiki是1.11.0版本，phpbb3 rc7，整合起来也还是比较简单的。 下载整合插件,解开到extension目录下，然后修改LocalSettings.php文件，在最后添加一下内容，也可以参考其readme。 /*&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;[ Everything below this line. ]&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/ // PHPBB User Database Plugin. (Requires MySQL Database) require_once &#8216;./extensions/Auth_phpbb.php&#8217;; $wgAuth_Config = array(); // Clean. $wgAuth_Config['WikiGroupName'] = &#8216;Wiki&#8217;; // Name of your PHPBB group // users need to be a member &#8230; <a href="http://wlx.westgis.ac.cn/476/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>mediawiki是1.11.0版本，phpbb3 rc7，整合起来也还是比较简单的。<br />
下载<a href="http://uber.leetphp.com/index.php?categoryid=16&#038;p13_sectionid=1&#038;p13_fileid=14">整合插件</a>,解开到extension目录下，然后修改LocalSettings.php文件，在最后添加一下内容，也可以参考其readme。</p>
<blockquote>
<p>/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;[ Everything below this line. ]&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/</p>
<p>// PHPBB User Database Plugin. (Requires MySQL Database)<br />
require_once &#8216;./extensions/Auth_phpbb.php&#8217;;</p>
<p>$wgAuth_Config = array(); // Clean.</p>
<p>$wgAuth_Config['WikiGroupName'] = &#8216;Wiki&#8217;;       // Name of your PHPBB group<br />
                                                // users need to be a member<br />
                                                // of to use the wiki. (i.e. Wiki)</p>
<p>$wgAuth_Config['UseWikiGroup'] = true;          // This tells the Plugin to require<br />
                                                // a user to be a member of the above<br />
                                                // phpBB group. (ie. wiki) Setting<br />
                                                // this to false will let any phpBB<br />
                                                // user edit the wiki.</p>
<p>$wgAuth_Config['UseExtDatabase'] = true;        // This tells the plugin that the phpBB tables<br />
                                                // are in a different database then the wiki.<br />
                                                // The default settings is false.</p>
<p>/*-[NOTE: You only need the next four settings if you set $wgAuth_Config['UseExtDatabase'] to true.]-*/<br />
// $wgAuth_Config['MySQL_Host']        = &#8216;host&#8217;;            // phpBB MySQL Host Name.<br />
// $wgAuth_Config['MySQL_Username']    = &#8216;username&#8217;;        // phpBB MySQL Username.<br />
// $wgAuth_Config['MySQL_Password']    = &#8216;password&#8217;;        // phpBB MySQL Password.<br />
// $wgAuth_Config['MySQL_Database']    = &#8216;database_name&#8217;;   // phpBB MySQL Database Name.</p>
<p>$wgAuth_Config['UserTB']         = &#8216;phpbb_users&#8217;;       // Name of your PHPBB user table. (i.e. phpbb_users)<br />
$wgAuth_Config['GroupsTB']       = &#8216;phpbb_groups&#8217;;      // Name of your PHPBB groups table. (i.e. phpbb_groups)<br />
$wgAuth_Config['User_GroupTB']   = &#8216;phpbb_user_group&#8217;;  // Name of your PHPBB user_group table. (i.e. phpbb_user_group)<br />
$wgAuth_Config['PathToPHPBB']    = &#8216;../phpbb3/&#8217;;        // Path from this file to your phpBB install.</p>
<p>// Local<br />
$wgAuth_Config['LoginMessage']   = &#8216;<b>You need a phpBB account to login.</b>&#8216;;         // Localize this message.<br />
$wgAuth_Config['NoWikiError']    = &#8216;You are not a member of the required phpBB group.&#8217;; // Localize this message.</p>
<p>$wgAuth = new Auth_phpBB($wgAuth_Config);     // Auth_PHPBB Plugin.</p>
</blockquote>
<p>然后还需要修改Auth_phpbb.php，查找</p>
<blockquote><p>if (md5($password) == $faryMySQLResult['user_password'] &#038;&#038; $this->isMemberOfWikiGroup($username))
</p></blockquote>
<p>替换为：</p>
<blockquote><p>require_once $this->_PathToPHPBB . &#8216;includes/functions.php&#8217;;<br />
                if (phpbb_check_hash($password, $faryMySQLResult['user_password']) &#038;&#038; $this->isMemberOfWikiGroup($username))
</p></blockquote>
<p>最后要到论坛上建立对应的用户组，并添加用户。</p>
<p>参考：<br />
1 http://www.mediawiki.org/wiki/Extension:PHPBB/Users_Integration</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/476/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>发现一个PHPBB RC5的BUG</title>
		<link>http://wlx.westgis.ac.cn/423/</link>
		<comments>http://wlx.westgis.ac.cn/423/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 03:49:45 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[phpbb]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/423/</guid>
		<description><![CDATA[已经报告到给官方了。 是local_upload的问题，估计之前没有人使用这个函数，所以一直没发现。 调用的时候会报这个错误： Notice: in file /includes/functions_upload.php on line 580: mime_content_type() [function.mime-content-type]: can only process string or stream arguments 一直跟踪下来，发现这个$filename是一个空变量，应该是用$source_file这个变量。]]></description>
			<content:encoded><![CDATA[<p>已经报告到给<a href="http://www.phpbb.com/bugs/phpbb3/ticket.php?ticket_id=14422">官方</a>了。<br />
是local_upload的问题，估计之前没有人使用这个函数，所以一直没发现。<br />
调用的时候会报这个错误：</p>
<blockquote><p>Notice: in file /includes/functions_upload.php on line 580: mime_content_type() [function.mime-content-type]: can only process string or stream arguments</p></blockquote>
<p>一直跟踪下来，发现这个$filename是一个空变量，应该是用$source_file这个变量。</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/423/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpbb 3.0 rc4发布</title>
		<link>http://wlx.westgis.ac.cn/401/</link>
		<comments>http://wlx.westgis.ac.cn/401/#comments</comments>
		<pubDate>Sun, 29 Jul 2007 08:30:46 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[phpbb]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/401/</guid>
		<description><![CDATA[PHPBB3.0 RC4发布，修正了一系列的BUG，升级部分做了一些增强。详细情况请参考官方说明。 在RC1到RC2的升级中，可以进行自动的升级。从RC2之后，好像需要手工确认了，不知道这个改进是好还是不好。 同时，在RC4升级过程中，若你使用了其他语言包，需要注意更新对应的语言包，或者，根据这个帖子进行简单的修改。 dallas2 wrote:I don't know if this is the right thing to do, but in your language pack find common.php file and open it. In that file find: 'NEWEST_USER' =&#62; 'Our newest member &#60;strong&#62;%s%s%s&#60;/strong&#62;', (of course, this &#8230; <a href="http://wlx.westgis.ac.cn/401/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>PHPBB3.0 RC4发布，修正了一系列的BUG，升级部分做了一些增强。详细情况请参考<a href="http://www.phpbb.com/community/viewtopic.php?f=14&#038;t=570985">官方说明</a>。</p>
<p>在RC1到RC2的升级中，可以进行自动的升级。从RC2之后，好像需要手工确认了，不知道这个改进是好还是不好。<br />
同时，在RC4升级过程中，若你使用了其他语言包，需要注意更新对应的语言包，或者，根据<a href="http://www.phpbb.com/community/viewtopic.php?f=46&#038;t=571020#p3140085">这个帖子</a>进行简单的修改。</p>
<blockquote><p><code>dallas2 wrote:I don't know if this is the right thing to do, but in your language pack find common.php file and open it. In that file find:</p>
<p>'NEWEST_USER' =&gt; 'Our newest member &lt;strong&gt;%s%s%s&lt;/strong&gt;',</p>
<p>(of course, this second line will be in your language). Remove two of those "%s%s%s" so that the final line looks like this:</p>
<p>'NEWEST_USER' =&gt; 'Our newest member &lt;strong&gt;%s&lt;/strong&gt;',</p>
<p>This removes the error line for me.</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/401/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpbb 3.0 rc3发布</title>
		<link>http://wlx.westgis.ac.cn/397/</link>
		<comments>http://wlx.westgis.ac.cn/397/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 14:47:05 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[phpbb]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/397/</guid>
		<description><![CDATA[详细情况见phpbb3。 祝贺，感觉离正式版本不远了。]]></description>
			<content:encoded><![CDATA[<p>详细情况见<a href="http://www.phpbb.com/community/viewtopic.php?f=14&#038;t=563407">phpbb3</a>。<br />
祝贺，感觉离正式版本不远了。</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/397/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpbb 3.0 rc1到rc2的升级</title>
		<link>http://wlx.westgis.ac.cn/391/</link>
		<comments>http://wlx.westgis.ac.cn/391/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 03:27:25 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[phpbb]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/391/</guid>
		<description><![CDATA[开始走了弯路，以为要覆盖后升级，没想到是直接下载升级包就可以了。 cd myforum sudo wget http://prdownloads.sourceforge.net/phpbb/phpBB-3.0.RC1_to_3.0.RC2.zip?download sudo unzip phpBB-3.0RC1_to_3.0RC2.zip 然后进入install目录，选择upgrade就可以了。]]></description>
			<content:encoded><![CDATA[<p>开始走了弯路，以为要覆盖后升级，没想到是直接下载升级包就可以了。</p>
<blockquote><p>cd myforum<br />
sudo wget http://prdownloads.sourceforge.net/phpbb/phpBB-3.0.RC1_to_3.0.RC2.zip?download<br />
sudo unzip phpBB-3.0RC1_to_3.0RC2.zip
</p></blockquote>
<p>然后进入install目录，选择upgrade就可以了。</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/391/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpbb 3.0 rc2 released</title>
		<link>http://wlx.westgis.ac.cn/390/</link>
		<comments>http://wlx.westgis.ac.cn/390/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 02:53:20 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[phpbb]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/390/</guid>
		<description><![CDATA[phpbb 3.0 rc2今天发布了，修正了一系列的BUG。 * [Fix] (X)HTML issues within the templates (Bug #11255, #11255) * [Fix] Tiny language and grammar changes * [Fix] Several style related fixes, mainly fixing cross-browser issues * [Fix] Several RTL fixes within prosilver * [Fix] MCP &#8230; <a href="http://wlx.westgis.ac.cn/390/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>phpbb 3.0 rc2今天发布了，修正了一系列的BUG。</p>
<p><span id="more-390"></span></p>
<blockquote>
<p>    * [Fix] (X)HTML issues within the templates (Bug #11255, #11255)<br />
    * [Fix] Tiny language and grammar changes<br />
    * [Fix] Several style related fixes, mainly fixing cross-browser issues<br />
    * [Fix] Several RTL fixes within prosilver<br />
    * [Fix] MCP looses forum_id in some panels (Bug #11255)<br />
    * [Fix] Moderation queue used unfriendly notification of no posts/topics (Bug #11291)<br />
    * [Fix] Array in Oracle DBAL not always set (Bug #11475)<br />
    * [Fix] Improper continue; in acp_styles.php (Bug #11523)<br />
    * [Fix] Imageset editor more friendly (Bug #11511)<br />
    * [Fix] Made Custom BBCode validation more strict (Bug #11335)<br />
    * [Fix] Proper sync of data on topic copy (Bug #11335)<br />
    * [Fix] Introduced ORDER BY clauses to converter queries (Bug #10697)<br />
    * [Fix] Stopped bots from getting added to the registered users group during conversion (Bug #11283)<br />
    * [Fix] Filled “SMILIEYS_DISABLED” template variable (Bug #11257)<br />
    * [Fix] Properly escaped the delimiter in disallowed username comparisons (Bug #11339)<br />
    * [Fix] Check global purge setting (Bug #11555)<br />
    * [Fix] Improper magic url parsing applied to already parsed [url=] bbcode tag (Bug #11429)<br />
    * [Fix] Renamed two indicies for Oracle support (Bug #11457)<br />
    * [Fix] Added support for ISO-8859-8(-i) in the character set convertor (Bug #11265, #12039)<br />
    * [Fix] Added support for Oracle&#8217;s “easy connect naming”<br />
    * [Fix] Let Mark/Unmark All work in Manage Drafts (Bug #11679)<br />
    * [Fix] Display correct message if no attachments found in user administration (Bug #11629)<br />
    * [Fix] Let the “Delete all board cookies” being displayed for guests too (only prosilver) (Bug #11603)<br />
    * [Fix] Do not display view topic link in MCP while there is no link present (Bug #11573)<br />
    * [Fix] MySQL now properly sorts by post_subject (Bug #11637)<br />
    * [Fix] Introduced checks to stop negative postcounts (Bug #11561, #11421)<br />
    * [Fix] Allow IP v4/v6 urls for remote avatars (Bug #11633)<br />
    * [Fix] Delete avatar files automatically (Bug #11631)<br />
    * [Fix] Automatically add selected columns to group by statements in the converter (Bug #11465)<br />
    * [Fix] Allow posts without subjects to be clicked in the MCP (Bug #11483)<br />
    * [Fix] Sync the forums that shadow topics reside in when the topic that they point to is deleted<br />
    * [Fix] Do not use the gen_random_string function to create cookie names during install (Bug #11431)<br />
    * [Fix] Send stylesheet in style.php even without a valid session id (Bug #11531)<br />
    * [Fix] request_var should strictly return the requested number of dimensions<br />
    * [Fix] Correct assignment of custom width to $user->img(); / Correctly display poll bars in subsilver2 (Bug #11301)<br />
    * [Fix] Allow removing polls in prosilver<br />
    * [Fix] Correct link to post in managing users attachments (Bug #11765)<br />
    * [Fix] Reload confirm screen for selecting new forum for global topic type change if not postable forum is chosen (Bug #11711)<br />
    * [Fix] Correctly show system default color for disabled options in Internet Explorer which does not support disabled option fields<br />
    * [Fix] Update query for custom profiles in user management used wrong order for left/right delimiter (affecting mssql) (Bug #11781)<br />
    * [Fix] Inconsistent display of more smileys link fixed (Bug #11801)<br />
    * [Fix] Outbox messages are no always neither new nor unread post-conversion (Bug #11461)<br />
    * [Feature] Replaced outdated jabber class with the one from the flyspray project<br />
    * [Feature] The converter no longer relies on the smiley ID to decide if it should be displayed on the posting page<br />
    * [Change] Limit maximum number of allowed characters in messages to 60.000 by default. Admins should increase their PHP time limits if they want to raise this tremedously.<br />
    * [Change] Some changes to the conversion documentation<br />
    * [Fix] Only use permissions from existing forums during the conversion (Bug #11417)<br />
    * [Fix] Do not permit the decimal as a valid prefix character (Bug #11967)<br />
    * [Fix] Account for the fact that the IM fields might hold non-IM information<br />
    * [Fix] Make the queue function on post details<br />
    * [Fix] Check if there are active styles left before deleting a style<br />
    * [Fix] Correctly update styles after the deletion of an imageset.<br />
    * [Fix] Replaced jabber validation to use the method used by the new jabber class (Bug #9822)<br />
    * [Sec] Adding confirm boxes to UCP group actions (ToonArmy)<br />
    * [Feature] Added the option to disable the flash bbcode globally (DelvarWorld)<br />
    * [Sec] Changed the embedding of Flash (NeoThermic, DelvarWorld)<br />
    * [Fix] Use the signature setting for PMs (Bug #12001)<br />
    * [Fix] Made the DBMS selection use language variables (Bug #11969)<br />
    * [Fix] Make sure that a folder is used when viewing messages to oneself (Bug #12105)<br />
    * [Fix] Account for the fact that a board might have no visible Admins (Bug #12185)<br />
    * [Fix] Change group ranks even if empty (Bug #12231)<br />
    * [Fix] Correctly propagate variables across the custom profile field wizard (Bug #12237)<br />
    * [Fix] Correctly move pm&#8217;s into folders if more than one is received (Bug #12135)<br />
    * [Fix] Corrected various bugs with CPF on multi-language boards (Bug #11803)<br />
    * [Fix] Disable notify checkbox in posting editor when board email is disabled (Bug #12263)<br />
    * [Fix] Removed maxlength from password/username fields (Bugs #12215, #11797)<br />
    * [Fix] Use icon-unsubscribe in prosilver (Bug #12211)<br />
    * [Fix] Seperated PREVIOUS/NEXT language vars for pagination and next/previous step (Bug #12197)<br />
    * [Feature] append_sid() supporting anchor (Bug #11535) &#8211; patch provided by Schumi and ToonArmy<br />
    * [Fix] Remember selected language while registering after submit (Bug #11435)<br />
    * [Fix] UTF-8 support in theme and template editors (Bug #12251)<br />
    * [Fix] Allow for posts per page in the MCP to change during topic selection (Bug #12067)<br />
    * [Fix] Remove group avatars upon deletion from all profiles, not just the people having the group as default (Bug #12275, #12267)<br />
    * [Fix] Allow for conversions to SQLite (Bug #12279) &#8211; patch provided by ToonArmy<br />
    * [Fix] Apply colours to guests (Bug #12219)<br />
    * [Fix] Set the Admin group as founder_manage during conversion (Bug #12287)<br />
    * [Fix] Fixed a special quote BBCode case (Bug #12189)<br />
    * [Fix] Correctly parse BBCodes in a post when a poll is being used (Bug #11833)<br />
    * [Fix] Remember attached files on PM edit (Bug #12019)<br />
    * [Fix] Correctly display poll ending on preview (Bug #12303)<br />
    * [Feature] Display the success message on posting longer for posts awaiting approval (Bug #12053)<br />
    * [Fix] Display maximum and entered number of characters for the “maximum number of characters exceeded” error messages (Bug #11981)<br />
    * [Fix] Wrongly applied setting for allowing links in private messages (used the signature setting instead of the post setting) (Bug #11945)<br />
    * [Fix] Unread flag for multipage topic wrongly set under some conditions (Bug #12127) &#8211; fix provided by asinshesq<br />
    * [Fix] Able to delete posts within user prune panel (Bug #11849)<br />
    * [Feature] Allow to specify dimensions of images manually on imageset config (Bug #11675)<br />
    * [Fix] Correctly re-assign query result id after seeking rows (MSSQL/Firebird) (Bug #12369)<br />
    * [Feature] Make effect of a changed hideonline permission instantaneous<br />
    * [Fix] Do not overwrite larger memory values in the installer (Bug #12195)<br />
    * [Fix] Order forums on role permission mask (Bug #12337)<br />
    * [Fix] Show “no image” image when a non-selectable item was selected in the acp imageset editor &#8211; IE (Bug #12423)<br />
    * [Fix] Update session information without new pageload (Bug #12393, Bug #12441)<br />
    * [Fix] Let polls be edited correctly (Bug #12433)<br />
    * [Fix] Overcome Oracle&#8217;s inability to handle IN() clauses with over one thousand elements (Bug #12449)<br />
    * [Fix] Simulate Firebird&#8217;s affected rows mechanism for older versions of PHP<br />
    * [Fix] Custom BBCodes properly handle lowercasing of parameterized tags (Bug #12377)<br />
    * [Fix] Update the forum_id sequence for PostgreSQL during conversion (Bug #11927)<br />
    * [Fix] Allow for multiple tags containing URL and LOCAL_URL tokens (Bug #12473)<br />
    * [Fix] Properly display forum list in the MCP Queue (Bug #11313)<br />
    * [Fix] Use the localised guest name for quotes (Bug #12483)<br />
    * [Fix] Added post anchor to links in default warning message (Bug #12489)<br />
    * [Fix] Allow 5 digits in editing time fields (Bug #12489)<br />
    * [Fix] MS SQL DBAL drivers now write over extension limitations, they are too low for most installations (Bug #12415)<br />
    * [Fix] Fix sorting by author on “unanswered posts” (Bug #12545)<br />
    * [Fix] Allow searching for multibyte authors (Bug #11793)<br />
    * [Fix] Writing directories/files with correct permissions using FTP for transfers on PHP4<br />
    * [Fix] Oracle sequences during conversions are now corrected (Bug #12555)<br />
    * [Fix] Allow users to continue after selecting “No” in the merge quickmod confirmation (Bug #12577)<br />
    * [Fix] Correctly check permissions on the UCP subscription/bookmark pages (Bug #12595)<br />
    * [Fix] Only convert non-orphaned PMs<br />
    * [Fix] Fixed a few Postgres related errors (Bug #12587)<br />
    * [Feature] New DBAL wrapper for LIKE expressions / sql_like_expression()<br />
    * [Sec] Stricter validation of language entries.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/390/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>转换vbb 3.0.3到phpbb3</title>
		<link>http://wlx.westgis.ac.cn/388/</link>
		<comments>http://wlx.westgis.ac.cn/388/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 15:45:08 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Program]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/388/</guid>
		<description><![CDATA[集思学院已经用了很长时间的vbb3.0.3，现在有些功能在我们的服务器已经出问题了，而且不想再跟vbb了，因为数字流域论坛已经转换到phpbb了，为了以后维护方便，决定从vbb3.0.3转换到phpbb 3 rc1。（估计RC2版本就要出来了，BUG已经很少了） 因为之前已经写了一个webwiz到phpbb的转换程序，所以再写vbb3到phpbb3的转换程序，比上次要轻松不少，但webwiz的设计思想就是来源于phpbb，所以很多库结构都非常像，而vbb的结构和phpbb有较大差异，在调试过程中还是耗费了大量的时间，回头来看，大约耗费了有一个礼拜的时间。感觉我都能提供有偿论坛转换服务了，哈哈。 转换过程： 首先要进行数据库的UTF8转换。之前论坛采用的是gb2312编码，但论坛上有台湾的注册用户，原来也能显示繁体中文，所以应该采用的是gbk或gb18030的编码。 在进行数据库的备份之前，要在原来的vb论坛后台把附件的存贮方式修改为文件方式，上传头像的存贮方式也修改为文件方式，而customprofilepic我没有找到对应的phpbb设置，所以这一块就直接丢弃了。 然后导出数据库： mysql -uroot --add-drop-table --default-character-set=latin1 cngis &#62; cngis.sql 进行编码的转换： iconv -c -f gb18030 -t utf8 cngis.sql &#62; cngisutf8.sql 然后修改此sql文件，替换所有的latin1为utf8，并在文件的开始处添加： SET NAMES utf8; SET CHARACTER_SET_CLIENT=utf8; SET CHARACTER_SET_RESULTS=utf8; 然后新建一个数据库cngisutf8，作为我们的测试数据库并尝试导入此sql文件。 mysql -uroot cngisutf8 &#60; cngisutf8.sql 若在导入过程中没有错误，那么恭喜你，你太幸运了。 &#8230; <a href="http://wlx.westgis.ac.cn/388/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cngis.org">集思学院</a>已经用了很长时间的vbb3.0.3，现在有些功能在我们的服务器已经出问题了，而且不想再跟vbb了，因为<a href="http://forum.westgis.ac.cn">数字流域论坛</a>已经转换到phpbb了，为了以后维护方便，决定从vbb3.0.3转换到phpbb 3 rc1。（估计RC2版本就要出来了，BUG已经很少了）</p>
<p>因为之前已经写了一个webwiz到phpbb的转换程序，所以再写vbb3到phpbb3的转换程序，比上次要轻松不少，但webwiz的设计思想就是来源于phpbb，所以很多库结构都非常像，而vbb的结构和phpbb有较大差异，在调试过程中还是耗费了大量的时间，回头来看，大约耗费了有一个礼拜的时间。感觉我都能提供有偿论坛转换服务了，哈哈。</p>
<p>转换过程：<br />
首先要进行数据库的UTF8转换。之前论坛采用的是gb2312编码，但论坛上有台湾的注册用户，原来也能显示繁体中文，所以应该采用的是gbk或gb18030的编码。<br />
在进行数据库的备份之前，要在原来的vb论坛后台把附件的存贮方式修改为文件方式，上传头像的存贮方式也修改为文件方式，而customprofilepic我没有找到对应的phpbb设置，所以这一块就直接丢弃了。<br />
然后导出数据库：</p>
<blockquote><p><code>mysql -uroot  --add-drop-table --default-character-set=latin1 cngis &gt; cngis.sql</code></p></blockquote>
<p>进行编码的转换：</p>
<blockquote><p><code>iconv  -c -f gb18030 -t utf8 cngis.sql &gt; cngisutf8.sql</code></p></blockquote>
<p>然后修改此sql文件，替换所有的latin1为utf8，并在文件的开始处添加：</p>
<blockquote><p><code>SET NAMES utf8;<br />
SET CHARACTER_SET_CLIENT=utf8;<br />
SET CHARACTER_SET_RESULTS=utf8; </code></p></blockquote>
<p>然后新建一个数据库cngisutf8，作为我们的测试数据库并尝试导入此sql文件。</p>
<blockquote><p><code>mysql -uroot cngisutf8 &lt; cngisutf8.sql</code></p></blockquote>
<p>若在导入过程中没有错误，那么恭喜你，你太幸运了。<br />
我在这一步中遇到错误，导致我以为是中文编码的问题，还以为繁体中文无法正常转换过来呢，后来经过多次测试，发现是转换后的sql文件里存在歧义字符：</p>
<blockquote><p><code>\'</code></p></blockquote>
<p>导致mysql无法导入，若你也有这个问题，直接去掉那个反斜线就可以了。</p>
<p>安装一个全新的phpbb3。</p>
<p>拷贝我写的vbb3.0.x转换器到phpbb3的install/convertors目录下，并运行相应的转换程序。<br />
在我的转换程序中，给phpbb3默认的数据库结构中添加了两个字段：<br />
一个是users表里添加了一个salt字段，这个是为了无缝转换论坛密码使用的。<br />
一个是topics表里添加了一个goodnees字段，这个是因为我原来的vbb3中使用了精华插件，若你没有使用，可以把相关部分注释掉。<br />
修改论坛的登录程序，使原来的用户可以直接登录，就是修改includes/auth/auth_db.sql文件。</p>
<blockquote><p><code>	// Check password ...<br />
	// added for vb3 conversion<br />
	if (!$row['user_pass_convert'] &amp;&amp; (md5($password) == $row['user_password']<br />
		 or md5(md5($password).$row['salt'])==$row['user_password']))<br />
	{<br />
		if (md5($password)!=$row['user_password'])<br />
		{<br />
			// Unconverted password<br />
			$sql = 'UPDATE ' . USERS_TABLE . '<br />
				SET user_password = "'.md5($password).'"<br />
				WHERE user_id = ' . $row['user_id'];<br />
			$db-&gt;sql_query($sql);<br />
		}</p>
<p>		if ($row['user_login_attempts'] != 0)<br />
		{<br />
			// Successful, reset login attempts (the user passed all stages)<br />
			$sql = 'UPDATE ' . USERS_TABLE . '<br />
				SET user_login_attempts = 0<br />
				WHERE user_id = ' . $row['user_id'];<br />
			$db-&gt;sql_query($sql);<br />
		}</code></p></blockquote>
<p>同时，前面的$sql语句中要添加一个字段：salt。<br />
或者，也可以直接使用我提供的auth_db.php文件。</p>
<p>要注意，这个转换程序对自定义头像导入的功能不细致，还需要进一步处理，但我的论坛上已经够用了，若你的论坛有问题，请反馈给我。<br />
同时，对用户的多组功能也不细致，因为我的论坛上只有2个用户是多组，而且只多1个组，因此转换程序在这儿也进行了简化。<br />
在使用时，请根据自己的实际情况作调整！</p>
<p>授权：GPL2<br />
致谢：<br />
1. shely@ubuntu-cn irc，在编码转换问题上提供了大力帮助。<br />
2. vb3_2phpbb的转换程序，在遇到问题时，首先就参考了这个转换程序。</p>
<p>下载：<a href='http://wlx.westgis.ac.cn/uploads/2007/06/vb30x_phpbb3.zip' title='vb3.0.x convertor'>vb3.0.x convertor</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/388/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>phpbb3下的中文搜索设置</title>
		<link>http://wlx.westgis.ac.cn/386/</link>
		<comments>http://wlx.westgis.ac.cn/386/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 07:52:19 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/386/</guid>
		<description><![CDATA[开始还以为不支持，在这里找到的答案： http://www.phpbbchina.com/forum/viewtopic.php?f=5&#038;t=814 出现上述问题的原因主要是词频阈值的设定问题，我将其改为90，重新索引，好了，庆贺一下吧。 若还有问题，请将搜索设定－>搜索后端改为fulltext native，重新索引数据库，该ok了吧？]]></description>
			<content:encoded><![CDATA[<p>开始还以为不支持，在这里找到的答案：</p>
<p>http://www.phpbbchina.com/forum/viewtopic.php?f=5&#038;t=814</p>
<blockquote><p>
      出现上述问题的原因主要是词频阈值的设定问题，我将其改为90，重新索引，好了，庆贺一下吧。<br />
      若还有问题，请将搜索设定－>搜索后端改为fulltext native，重新索引数据库，该ok了吧？</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/386/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpbb3下的avatar设置</title>
		<link>http://wlx.westgis.ac.cn/385/</link>
		<comments>http://wlx.westgis.ac.cn/385/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 07:40:17 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[phpbb]]></category>

		<guid isPermaLink="false">http://wlx.westgis.ac.cn/385/</guid>
		<description><![CDATA[从WEBWIZ直接转换过来的avatar开始不能直接在phpbb3的控制面板里显示，但在帖子里显示是没有问题的。 在IRC上求教后，方才知道需要把avatar都要拷贝到images/avatars/gallery/下的一个子目录里，而不能直接拷贝到gallery目录下面。 &#60;wlx&#62; hi, how to display avatar gallery? It is not shown in my phpbb3 forum. &#60;wlx&#62; and I have change the images/avatars/gallery to mode 777 &#60;wlx&#62; I can upload avatar from my computer, and that does work. &#60;karlsemple&#62; &#8230; <a href="http://wlx.westgis.ac.cn/385/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>从WEBWIZ直接转换过来的avatar开始不能直接在phpbb3的控制面板里显示，但在帖子里显示是没有问题的。<br />
在IRC上求教后，方才知道需要把avatar都要拷贝到images/avatars/gallery/下的一个子目录里，而不能直接拷贝到gallery目录下面。</p>
<blockquote><p><code>&lt;wlx&gt; hi, how to display avatar gallery? It is not shown in my phpbb3 forum.<br />
&lt;wlx&gt; and I have change the images/avatars/gallery to mode 777<br />
&lt;wlx&gt; I can upload avatar from my computer, and that does work.<br />
&lt;karlsemple&gt; Have you enabled the gallery avatar setting in the Admin control panel?<br />
&lt;wlx&gt; yes, I do<br />
&lt;karlsemple&gt; and the gallery images are inside subforums  inside the gallery folder?<br />
&lt;wlx&gt; sorry, I don't understand your meaning.<br />
&lt;karlsemple&gt; the images do not just go inside the gallery folder<br />
&lt;karlsemple&gt; they have to be inside subfolders<br />
&lt;wlx&gt; the images are in images/avatars/gallery/ directory<br />
&lt;wlx&gt; so they must inside a sub-directory?<br />
&lt;karlsemple&gt; they need to be in subfolders so for example /gallery/cars/<br />
&lt;karlsemple&gt; the subfolders become the categories in gallery selection part of the UCP<br />
&lt;karlsemple&gt; so inside images/avatars/gallery/ you need other folders which will then contain the images<br />
&lt;wlx&gt; oh, yeah, it does work now! thank you, karlsemple !</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/385/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

