[MOD DB] 2.0.6 to 2.0.4 : Categories hierarchy v 2.0.4

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

[MOD DB] 2.0.6 to 2.0.4 : Categories hierarchy v 2.0.4

Post by Ptirhiik » Sat Jul 12, 2003 1:08 am

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. You can also attach a category to a forum, or a forum to a forum (real sub-forums).

:arrow: mod pack
:arrow: demo board


ImageThe modified files pack aren't the full mod
They contain only the result of editing the phpBB files, not the added files nor any process to update the database in any way. They are intended to allow you to compare your modifications to a correct appliance of the mod to the phpBB files, that's all.
:arrow: modified phpBB 2.0.4 files pack
:arrow: modified phpBB 2.0.5 files pack
:arrow: modified phpBB 2.0.6 files pack

First at all, I want to thanks Gilgraf for his precious help during the alpha stage.
  • Features : ( :idea: stands for new features )
  • 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)
  • multi-language support in forums and cats name and description :
    Allows to use $lang[] key entry in the categories or forums name and description in order to fit the language choosen by the user
  • 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.
  • 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
  • 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
  • split of the categories on the root index page :
    For a better seen of the board section
  • 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
  • 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
  • Advanced settings :
    You can choose if your users are allowed to set preferences, and which ones
  • Forums icon :
    You can set a different icon for each forum and category that will appears in front of the forum/category title on the index :idea:
  • Cached tables :
    The categories, forums, styles, and words censor tables are now cached to enhance the speed of your board by decreasing the usage of the database. This feature can be disabled. :idea:



    Version Notes :
  • About compliancy issue with original phpBB data structure while using real sub-forums feature :

    - Version 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 by 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 or authorisations, nothing will be lost :). If you plan to remove the mod, just re-attach the sub-forums to a category, and all we'll be ok.

    - 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.
This mod can be installed using Nutzzy's EasyMod v 0.0.10a.

(discution about this version start here)
____________________________________________________

Fixes to apply :
____________________________________________________

Issue known :
____________________________________________________

Changelog :
  • 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 extended admin

    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
Last edited by Ptirhiik on Sat Nov 29, 2003 1:44 am, edited 52 times in total.

User avatar
SupremeWeapon
Registered User
Posts: 593
Joined: Mon Feb 17, 2003 12:48 pm
Location: Battle Creek, Mi
Contact:

Post by SupremeWeapon » Sat Jul 12, 2003 2:26 am

i used ur 2.0.5 modified pack for a new forum im doing for a buddy of mine and i dont know wot happened but the whosonline dissapeared newest user disapeared also....
Image

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Re: [Beta] 2.0.5/2.0.4 : Categories hierarchy v 2.0.0 beta 1

Post by Ptirhiik » Sat Jul 12, 2003 2:34 am

Ptirhiik - RPGnet-fr wrote: 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
Can you check your ACP/Global configuration ? :)

wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric » Sat Jul 12, 2003 3:23 am

Works good! :D This version rocks! I love the new features.

You may want to tell users what you have to do to get it so the config value you are in the database. First time I went there after installing the MOD there was nothing checked and the values didn't stick. I then went and added all of the different forums that you could and then I tried changing the config after vieweing all of the different forums and it had values there. I'm not sure when it added them.

This is a great MOD. I love being able to attach categories to forums and forums to forums. Makes it so I don't have to make so many forums.

Edit: Found where it adds the config to the config table. In the page_header.php file. You might want to tell users that they have to have the page_header.php file ran inorder for the MOD to work correctly. If they use EasyMOD they might not get those values inserted so they will tell you they can't change the configuration for it.
Eric

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Sat Jul 12, 2003 4:05 am

Yep, you have to go back to the forum index (or to make a preview) in order to create the configuration values. At this time, this is the smoother way I found to initiate it automaticely :).

User avatar
SupremeWeapon
Registered User
Posts: 593
Joined: Mon Feb 17, 2003 12:48 pm
Location: Battle Creek, Mi
Contact:

Post by SupremeWeapon » Sat Jul 12, 2003 4:17 am

this is wot i see in the admin acp using 2.0.5 it looks like bad language files.


http://12.241.136.2/screenacp.gif



ok i got that fixed....


heres my next question.. does this have to be done

Code: Select all

#-----[ FIND ]------------------------------------------------
#
#************************************************************************************
#					NOTE :
#					------
#	The lines deleted here are reported in index_box.tpl. You will probably
#	want to customize index_box.tpl the same way index_body.tpl was if you use
#	a particular template with other classes than the one used by subSilver.
#
#************************************************************************************
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&{L_FORUM}&</th>
	<th width="50" class="thTop" nowrap="nowrap">&{L_TOPICS}&</th>
	<th width="50" class="thTop" nowrap="nowrap">&{L_POSTS}&</th>
	<th class="thCornerR" nowrap="nowrap">&{L_LASTPOST}&</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr> 
	<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
	<td class="rowpic" colspan="3" align="right">&</td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr> 
	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>
#
#-----[ REPLACE WITH ]---------------------------------------- 
#
{BOARD_INDEX}
Image

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Sat Jul 12, 2003 5:08 am

Yep, you didn't install the language file (lang_admin.php), from there's come the problem. Check also you applied the modifications mentioned to page_header.php, as if you have already display the index of your forum, the fields should be filled with the default values.

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Sat Jul 12, 2003 5:10 am

I can assure you I haven't set any extra code to enlarge the mod :lol: . For index_box.tpl, I advice you in a first step to not modify it till you have check all. Further you'll can adapt it to your template :).

User avatar
SupremeWeapon
Registered User
Posts: 593
Joined: Mon Feb 17, 2003 12:48 pm
Location: Battle Creek, Mi
Contact:

Post by SupremeWeapon » Sat Jul 12, 2003 5:17 am

well now i get this error

Template->make_filename(): Error - file c:\phpdev\www\tnt\phpbb2\templates\BesaidBlue\index_box.tpl does not exist


but the file is there.... i even replaced it with the back up i made for the file.

i dont get the error.....
Image

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Sat Jul 12, 2003 5:32 am

Are you really sure the file is in templates\BesaidBlue\ ? If the make_filename() doesn't find it, that means it missing, or that your configuration is not well done (regarding script path, config.php, etc.).

User avatar
SupremeWeapon
Registered User
Posts: 593
Joined: Mon Feb 17, 2003 12:48 pm
Location: Battle Creek, Mi
Contact:

Post by SupremeWeapon » Sat Jul 12, 2003 5:39 am

omg.. i think i need to goto bed.. its 1 30 am... and i keep missing the smallest details on this forum =/


Index_box.tpl thru me off till i looked closely at everything then realized it wasntt there =/
Image

danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

Post by danb00 » Sat Jul 12, 2003 9:50 am

many thanks :)

i like it

FX
Registered User
Posts: 254
Joined: Thu Aug 01, 2002 9:29 pm
Location: France
Contact:

Post by FX » Sat Jul 12, 2003 1:08 pm

Little question the version 2 done the possibility to place a forum after a sub cat ?

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Re: [Beta] 2.0.5/2.0.4 : Categories hierarchy v 2.0.0 beta 1

Post by Ptirhiik » Sat Jul 12, 2003 1:19 pm

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.
As you can read, yes :)

FX
Registered User
Posts: 254
Joined: Thu Aug 01, 2002 9:29 pm
Location: France
Contact:

Post by FX » Sat Jul 12, 2003 1:47 pm

:oops: sorry for this question


I have tested the premodded files and see a bug with search



Image

Locked

Return to “[2.0.x] MODs in Development”