拿出来和大家分享一下。
介绍:树状论坛主要是回帖是跟在上面一个帖子的后面,形成一个树根的形状。
优点是:观看帖子的人不需要点来点去就能看到主题。
缺点是:如果回贴的不在主题内输入文字的话,就主题就会自动拷贝楼上的主题而形成Re:...Re:...Re:...的,看起来挺别扭的。
使用方法就不说了,反正看到右边的 Flat View(平板模式)和 Thread View(树状模式)按钮就点一下就知道了。 8)
mobythreads1.2.3a是1.2.3的改良版。针对PHPBB2.0.17用的,而mobythreads1.2.4a是1.2.4a的改良版。针对PHPBB2.0.18用的,可别用错了,不然浪费很多时间的。俺就是装了三次才搞清楚。TNND!浪费了俺不少青春。:roll:
样板在此
欢迎来俺的论坛下载。但这里人气旺,而且高手多,所以如果有问题的话还是来这里讨论吧!因为...俺的有限公司技术不一定会解答...


原设计者网站在此
下面是E文的简介
代碼: 選擇全部
#########################################################################################
## MOD Title: Moby Threads (Threaded Display Style)
## MOD Author: ewelin <ewelin@muttdom.com> (Eric Welin) http://www.mobythreads.com
## MOD Description: This MOD will enable the option to switch between flat and threaded
## style views. Be sure to run install/update_existing_posts.php after
## mod is completed. (see Author Notes)
## MOD Version: 1.2.4
##
## Installation Level: Advanced
## Installation Time: 45 Minutes
## Files To Edit: modcp.php
## posting.php
## viewforum.php
## viewtopic.php
## admin/admin_board.php
## admin/admin_users.php
## includes/functions.php
## includes/functions_post.php
## includes/functions_selects.php
## includes/page_header.php
## includes/sessions.php
## includes/usercp_register.php
## language/lang_english/lang_main.php
## templates/subSilver/modcp_split.tpl
## templates/subSilver/posting_body.tpl
## templates/subSilver/profile_add_body.tpl
## templates/subSilver/overall_footer.tpl
## templates/subSilver/subSilver.cfg
## templates/subSilver/viewforum_body.tpl
## templates/subSilver/viewtopic_body.tpl
## templates/subSilver/admin/board_config_body.tpl
## templates/subSilver/admin/user_edit_body.tpl
##
## Included Files: contrib/admin/xs_mobythreads_mod.cfg
## contrib/install/update_existing_posts.php
## contrib/templates/subSilver/viewtopic_threads.tpl
## contrib/templates/subSilver/viewforum_threads.tpl
## contrib/templates/subSilver/images/lang_english/flat.gif
## contrib/templates/subSilver/images/lang_english/reply_mini.gif
## contrib/templates/subSilver/images/lang_english/threaded.gif
#########################################################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the latest version
## of this MOD. Downloading this MOD from other sites could cause malicious code to enter
## into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered in
## our MOD-Database, located at: http://www.phpbb.com/mods/
#########################################################################################
## Author Notes:
## License:
## You are allowed to use this phpBB Mod only if you agree to the following conditions:
## - You must add our copyright notice to your overall_footer.tple and it cannot
## be removed without our permission.
## - If you any images or coding from this Mod you must ask our permission.
## For support visit http://www.mobythreads.com
##
## Detailed Description:
## This MOD enables a threaded style display as an option.
## When on, only the current post in the thread is shown, along with a tree display
## of the thread beneath it, each reply a child to the replied-to parent post.
## It also has a threaded forum index (Cy).
##
## Run install/update_existing_posts.php to update previous posts so that they are
## able to be viewed in threaded mode. Unfortunately the posts that have been made
## before the mod is applied have no means to know their parents. Hence, such posts
## will display as a reply to the previous post.
##
## If you have eXtremeStyles installed you can use the Update Check to check for new
## version of MobyThreads. Simply copy contrib/admin/xs_mobythreads_mod.cfg to
## [phpbb_root]/admin/xs_mobythreads_mod.cfg
##
## Features:
## - Ability to switch between flat and threaded style views.
## - Configurable preferences in admin. panel and user's profile to set either
## style as the default.
## - Split a topic tree
##
## Previous Authors:
## JamesB <jamesb@gamedayers.com> (James Wulf) http://www.gamedayers.com/
## leokor <l.korogodski@verizon.net> (Leonid Korogodski) http://www.gamejag.com/Attic/
## jeffha <threads@jayjaymedia.com> (Jeff Hanbury) http://www.jayjaymedia.com/mobythreads/
## Keith Bennett <keithraybennett@yahoo.com> (Keith Bennett) http://eflplanet.com/teachers/forum/
## netclectic <adrian@netclectic.com> (Adrian Cockburn) http://www.netclectic.com/
## Cy <luke@cywh.com> (Luke Scott) http://www.rpgadev.com
##
## Warnings:
## Certain changes had to be made to the code to make threaded display workable.
## Most notably, the usual "reply" button is no longer found at the top of the
## thread. Instead, there is a "mini-reply" button next to the "quote" button, for
## each post. This is done so that one can only reply to a specific message, to be
## able to assign a parent to the new reply. For all intents and purposes, the reply
## functionality is now identical to the quote functionality, except the original
## message is not getting quoted, of course.
##
## If you have the mini-reply mod already installed, be careful not to
## duplicate the code.
##
## Finally, keep in mind that if you're modifying an already existing message board,
## the posts that have been made before the mod is applied have no means to know their
## parents. To resolve this issue the update_existing_posts.php file which has been
## included with go though and make the replies to the first post it's children.
##
#########################################################################################
## MOD History:
## 2005-12-01 - Version: 1.2.4
## - Added support for eXtremeStyles Update Checker
## - Fixed bug where the page title for quoting a post was incorrect.
## - Removed duplicate lang_main.php steps. Had put it in twice in v1.2.3a.
## - Fixed some issues with the language files not being used.
## - Minor adjustments to work with phpBB 2.0.18
##
## 2005-09-13 - Version 1.2.3a
## - Put missing code for language/lang_english/lang_main.php back in. upgrading
## from 1.2.2RC1 did not change. Only the full install.
##
## 2005-09-06 - Version 1.2.3
## - Fixed several bugs including:
## - Email notifications not including post title
## - Order in which threaded topics are listed
## - Large Post Reply Button being removed because it longer works
## - Now uses Language File for Annoucement, Poll, Moved, or Sticky
## - Limited the number depth of the threaded view to 25 as to limit extensive
## left-right scrolls that could happen depending on the flow of the thread
##
## 2005-06-10 - Version 1.2.2RC1
## - Fixed several bugs including:
## - How threaded topics are listed in Threaded View mode of forums and
## improved the display.
## - Switching between Threaded and Flat mode is always remembered now.
## - Resolved issue with incorrect Flat or Threaded button being used.
##
## 2005-06-06 - Version 1.2.2 beta 2
## - Fixed an issue with beta 1 which didn't update the users defualt forum view
## from within the profile settings.
##
## 2005-05-25 - Version 1.2.2 beta 1
## - Grabbed a copy of Version 1.2.1 from http://www.mobythreads.com/forums/viewtopic.php?t=182
## and made it EasyMOD 0.1.13 compatible.
## - Grabbed previous Mod Header infomation from version 1.1.8
## - Removed mysql_error from includes/functions.php as it is not allowed by
## phpbb's Coding Guidelines.
## - Changed user_topic_view from ENUM to varchar(15)
## - Replaced finish_with_sql.php with updated_existing_posts.php
## - File was updated to remove SQL functions completed by this EasyMOD.
## - Updated user registation and edit forms to use a language entry.
##
## 2004-05-05 - Version 1.1.8
## - "Moved:" tag added to threaded index for topic shadow
## - "[Poll]" tag added to threaded index for topics that contain a poll
## - Split feature added back in! Split recoded to acomodate child posts.
##
## 2004-05-05 - Version 1.1.7b
## - Fixed thread displaying issue. Not all threads would display on forum index. (Fixed)
## - Added "nowrap" property to templates. Threads dont get confined like they used to.
##
## 2004-05-05 - Version 1.1.7
## - Set threads to organize by latest thread (newest on top)
## - Add forum index feature.
##
## 2003-09-25 - Version 1.1.6
## - Updated line numbers and MOD sections for better compliance with phpBB 2.0.6
## and the MOD-Template
## - A few bugfixes, MOD should run more stable now
## - Packing now includes prepared files for a faster setup on a clean phpBB 2.0.6
##
## 2003-08-06 - Version 1.1.5
## - netclectic < adrian@netclectic.com > (Adrian Cockburn) http://www.netclectic.com/
## - Updated this document to be MOD Template compliant
## - Updated instructions to be phpBB 2.0.6 compliant
## - Tested and working with EasyMod 0.0.10a
##
## 2003-07-14 - Version 1.1.4
## - Keith Bennett < keithraybennett@yahoo.com > http://eflplanet.com/teachers/forum/
##
## 2003-06-11 - 1.1.3
## - Jeff Hanbury < threads@jayjaymedia.com > http://www.jayjaymedia.com/mobythreads/
##
## 2003-03-01 - 1.1.2
## - Leonid Korogodski < l.korogodski@verizon.net > http://www.gamejag.com/Attic/
##
## 2003-02-01 - 1.1.1
## - Jeff Hanbury < threads@jayaymedia.com > http://www.jayjaymedia.com/mobythreads/
##
## 2003-01-01 - 1.1.0
## - Leonid Korogodski < l.korogodski@verizon.net > http://www.gamejag.com/Attic/
##
## 2002-04-06 - 1.0.0
## - James Wulf < jamesb@gamedayers.com > http://www.gamedayers.com/
##