[外掛] 子分區 2.0.4
發表於 : 2004-08-29 13:27
這東西超難裝
剪剪貼貼超容易出錯的
所以要裝的人必定要先備份\r
http://www.phpbb.com/files/mods/mod-cat ... hy-204.zip
A
B
剪剪貼貼超容易出錯的
所以要裝的人必定要先備份\r
http://www.phpbb.com/files/mods/mod-cat ... hy-204.zip
A
代碼: 選擇全部
##############################################################
## MOD Title: Categories hierarchy - part 1 (common to all setup)
## MOD Author: Ptirhiik < ptirhiik@clanmckeen.com > (Pierre) http://rpgnet.clanmckeen.com
## MOD Description:
## This mod allows to attach a categorie to a higher level categorie,
## keeping all the forum visible on the index page (vBulletin-like view),
## or have a sub-forum view.
##
## o Part 1 is the main installation,
## o Part 2 is the facultative modifications of the standard phpBB admin forums prog,
## and is not required if you want to use the new admin forums tool.
##
## MOD Version: 2.0.4
##
## Installation Level: Moderate
## Installation Time: 60 Minutes
## Files To Edit:
## index.php
## modcp.php
## posting.php
## search.php
## viewforum.php
## viewonline.php
## viewtopic.php
##
## admin/admin_forum_prune.php
## admin/admin_forumauth.php
## admin/admin_styles.php
## admin/admin_ug_auth.php
## admin/admin_words.php
##
## includes/auth.php
## includes/functions.php
## includes/functions_admin.php
## includes/functions_post.php
## includes/page_header.php
## includes/topic_review.php
##
## templates/subSilver/index_body.tpl
## templates/subSilver/modcp_body.tpl
## templates/subSilver/modcp_move.tpl
## templates/subSilver/modcp_split.tpl
## templates/subSilver/posting_body.tpl
## templates/subSilver/search_body.tpl
## templates/subSilver/subSilver.cfg
## templates/subSilver/viewforum_body.tpl
## templates/subSilver/viewtopic_body.tpl
##
## templates/subSilver/admin/auth_ug_body.tpl
##
## Included Files:
## admin/admin_forums_extend.php
##
## includes/def_auth.php
## includes/def_themes.php
## includes/def_tree.php
## includes/def_words.php
## includes/functions_categories_hierarchy.php
##
## includes/mods_settings/mod_categories_hierarchy.php
##
## includes/cache_tpls/def_themes_def.tpl
## includes/cache_tpls/def_tree_def.tpl
## includes/cache_tpls/def_words_def.tpl
##
## language/lang_english/lang_extend_categories_hierarchy.php
##
## templates/subSilver/index_box.tpl
##
## templates/subSilver/admin/forum_extend_body.tpl
## templates/subSilver/admin/forum_extend_edit_body.tpl
##
## --- images ---
## graph.gif/cat_folder_big.gif
## graph.gif/cat_folder_new_big.gif
## graph.gif/cat_folder_locked_big.gif
## graph.gif/icon_up_arrow.gif
## graph.gif/icon_down_arrow.gif
## graph.gif/icon_minicat.gif
## graph.gif/icon_minicat_new.gif
## graph.gif/icon_minicat_lock.gif
## graph.gif/icon_minilink.gif
## graph.gif/icon_minipost_lock.gif
## graph.gif/link_folder.gif
##
## --- mods_settings ---
## mod-mods_settings/admin_board_extend.php
## mod-mods_settings/functions_mods_settings.php
## mod-mods_settings/lang_extend_mods_settings.php
## mod-mods_settings/board_config_extend_body.tpl
##
## --- lang_settings ---
## mod-lang_settings/lang_extend_mac.php
##
##############################################################
## 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:
##
## v 2 features :
## o attachment
## - attach a category to another category
## - attach a category to a forum
## - optional : attach a forum to a forum, or to the index (note this one will
## break slightly the data compliancy with a non-modded phpBB)
##
## o forum type link management :
## this allows you to set a link displayed as a forum, and suiting the users
## view authorisations. You can choose in the acp whether you want to count
## the number of hits or not.
##
## o multi-language support in forums and cats name and description :
## allow to use $lang[] key entry in the categories or forums name and
## description in order to fit the language choosen by the user.
##
## o order cats and forums as you want
## You can now choose the order of appearance of the categories on the index page,
## and mix categories and forums order.
##
## o 3 choices of packing index
## - No pack, giving the full incremental tree of cats and forums,
## - Medium pack : the precs version sub-forum views : 2 levels displayed
## - Full pack : Only one level is displayed.
##
## o optional display of board statistics
## The board statistics box can be removed from the root index, or from all,
## reducing more the size of the index pages.
##
## o split of the categories on the root index page
## For a better seen of the board section.
##
## o quick links under description (based on tidjojo and Gilgraf one)
## You can display the name and links to the direct sub-level, and also
## have the new message icon present in front of this name.
##
## o show the last topic title on index (based on e-sven's one)
## You can display on the index the title of the topics last created
## or replied to in the "Last Post" column.
##
## o an icon can be set in front of each forum or category, and can suit your template choices
##
## o admin interface for setting the display options
## Part of the mod settings mod, included in this mod
##
## o users can choose their prefered setup (required full mods settings mod to be installed).
## Admin can also choose to override the users choice for each setup parameter.
##
## o optional admin tool to edit your language in the ACP (see lang_settings note)
##
##
## - About compliancy issue with original phpBB data structure while using real sub-forums feature :
##
## Versions 2.0.x of phpBB accept only a forum to be attached to a category. The mod can allow
## if you wish to attach a forum to another forum, or to the index. Such an attachment won't be recognized
## original phpBB progs, and so the forum won't be displayed at all, or will be seen attached to a category,
## having the same id that the parent forum : this is only a display issue, and won't impact posts nor
## authorisations, nothing will be lost :). If you plan to remove the mod, just re-attach the sub-forums
## to a category, and all will be ok.
##
##------------------------------------------------------------
##
## Part 1 of this mod will include the new admin forums tool to your board
## Part 2 of this mod will modify the old admin forums phpBB progs, and is facultative
##
##------------------------------------------------------------
##
## o to use real sub-forums feature :
## just run the SQL statement on forums table, pointed as optional.
## SQL statements on categories table are NOT optional.
##
##
## o To be able to edit your languages installed on the board, please install the administration
## language management tool included in the mod-lang_settings directory :
## mod-lang_settings/MOD-lang_settins.txt (if you haven't Profile Control Panel v1.0.4 and +)
##
## o Admin can also choose to override the users choice for each setup parameter.
##
## o Users can choose their prefered setup : require full mods settings mod to be installed :
## mod-mods_settings/MOD-mods_settings-users_choices.txt (if you haven't Profile Control Panel v1.0.4 and +)
##
##------------------------------------------------------------
##
## o This version includes a new forum administration option that will cover the forum management
## and the forum permissions. You can still use the standards options, but if you prefer to use the
## new tool, you will avoid to modify the admin_forums.php (part 2 of the mod), so the mod will be
## easier to install.
##
## NB.: Take care while cleaning the auth constants definition to get back any added field
## into includes/def_auth.php.
##
##------------------------------------------------------------
##
## o You have to CHMOD 666 those files if you want to use the cache system :
##
## includes/def_themes.php
## includes/def_tree.php
## includes/def_words.php
##
##
## o If you don't want to use the cache system, just comment or remove at top
## of functions_categories_hierarchy.php the following lines :
##
## define('CACHE_TREE', true);
## define('CACHE_WORDS', true);
## define('CACHE_THEMES', true);
##
## o if you are using the management + (admin/admin_forums_extend.php), the modification of
## admin/admin_forums.php is facultative.
##
##------------------------------------------------------------
##
## This mod can be installed using Nutzzy's EasyMOD v 0.0.10a ( http://phpbb.com/phpBB/viewtopic.php?t=125071 ),
## on a phpBB 2.0.4, 2.0.5 and 2.0.6
##
##############################################################
## MOD History:
##
## 2003-11-22 - Version 2.0.4
## - fix topics count and forum link type hit count not displayed when caches used
## - fix moving cats and forums in forum extend
##
## 2003-11-13 - Version 2.0.4 - RC 2
## - add a cache system for tables : categories, forums, themes, and words
## - fix : standard forums admin : icons not saved
## - fix : extended forums admin : some forums options were showing in categories if topic display order was installed
## - fix : extended forums admin : sql generated if no use of real subforums was wrong
##
## 2003-11-10 - Version 2.0.4-RC
## - fix topic title viewable in search results
## - unqualify some path to images in admin context
## - centralize all admin auth definition in def_auth.php (for further management of presets)
## - add the forum icon feature
## - add a more easy-to-use facultative forum administration
##
## 2003-10-21 - Version 2.0.3
## - upgrade the mods settings tool
## - add the lang settings tool
## - add the missing sub-forums links for the forums attached to index
## - fix the prec/next topic link
##
## 2003-09-24 - Version 2.0.2
## - fix the missing categories name in admin drop down box,
## - remove HTML in overviewed forum/cat descriptions,
## - remove extra line between forum desc, moderators and links on index,
## - add the $lang['Subforums'] entry to display in front of the mini links on index (default is blank)
##
## 2003-09-18 - Version 2.0.1
## - enhance quickness on hughe forums tree
## - fix spacer issue in admin
## - clean index_box.tpl from th classes
## - fix auth_read and auth_view confusion in phpBB
##
## 2003-08-19 - Version 2.0.0
## - support of multi-language forums and categories name and description
## - add forum link type feature
## - add the ability to attach a category to a forum
## - add the ability (optional) to attach a forum to a forum
## - add the ability to mix the sort of categories and forums at the same level
## - add another level of packing the index (full packing)
## - add the prec extension "last topic title on index" as an option to the base version
## - add the prec enhancement "links to sub-level on description" as an option to the base version
## - redesign of the forums and categories reading
## - add the ability to split categories on index
## - add the ability to remove within the acp the who's online box at different level
## - more friendly admin forums and cats administration (ACP)
## - admin interface for setting the display
## - users preferences interface with mods settings mod (included in the pack)
##
## 2003-04-09 - Version 1.1.0
## 2003-03-24 - Version 1.0.9
## 2003-03-05 - Version 1.0.8
## 2003-03-01 - Version 1.0.7
## 2003-02-21 - Version 1.0.6
## 2003-02-21 - Version 1.0.5
## 2003-01-15 - Version 1.0.2
## 2003-01-05 - Version 1.0.1
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ SQL ]-------------------------------------------------
#B
代碼: 選擇全部
##############################################################
## MOD Title: Categories hierarchy - part 2 (std admin forum management)
## MOD Author: Ptirhiik < ptirhiik@clanmckeen.com > (Pierre) http://rpgnet.clanmckeen.com
## MOD Description:
## This mod allows to attach a categorie to a higher level categorie,
## keeping all the forum visible on the index page (vBulletin-like view),
## or have a sub-forum view.
##
## o Part 1 is the main installation,
## o Part 2 is the facultative modifications of the standard phpBB admin forums prog,
## and is not required if you want to use the new admin forums tool.
##
## MOD Version: 2.0.4
##
## Installation Level: Moderate
## Installation Time: 30 Minutes
## Files To Edit:
## admin/admin_forums.php
## templates/subSilver/admin/category_edit_body.tpl
## templates/subSilver/admin/forum_admin_body.tpl
## templates/subSilver/admin/forum_delete_body.tpl
## templates/subSilver/admin/forum_edit_body.tpl
##
## Included Files: (n/a)
##############################################################
## 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:
##------------------------------------------------------------
##
## Part 1 of this mod will include the new admin forums tool to your board
## Part 2 of this mod will modify the old admin forums phpBB progs, and is facultative
##
##------------------------------------------------------------
##
## o This version includes a new forum administration option that will cover the forum management
## and the forum permissions. You can still use the standards options, but if you prefer to use the
## new tool, you will avoid to modify the admin_forums.php, so the mod will be easier to install.
##
##------------------------------------------------------------
##
## This mod can be installed using Nutzzy's EasyMOD v 0.0.10a ( http://phpbb.com/phpBB/viewtopic.php?t=125071 ),
## on a phpBB 2.0.4, 2.0.5 and 2.0.6
##
##############################################################
## MOD History: (see part 1)
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################