Author: Michaelo » Fri Apr 14, 2006 8:24 am
I have the following bit and pieces working with the KISS Portal. Several of the major mods are actually not needed but other will take a little time to port, as the core code is completely different.
You can bet many will be updating their mods to suit I just hope we dont go down the core edits road and if they do there is nothing to stop us re-modding mod to eliminate core breaches.
It is my aim not to mod the core so that future updates can be included as per the normal phpbb update procedure without having to write a separate update for IntegraMod or KISS...
We all know how much work it takes to edit files after each update and I believe if we leave the core (all files) alone we end up with a better product. Careful implementation of mods will ensure we dont mess up what is a super coreà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
Allowing for the fact that we will have to completely recode mods we can do so employing some smarts, it should be possible to do this without applying edits to core files. When I say no edits I actually mean structured edit one-liners that call external procedures. Most mods can be implemented in much the same way we add blocks.
Here are some of the KISS sections I have implemented so far.
Board Navigation
ACP setting of Header, Navigation and Secondary Menu block allows setting of individual images for each menu item.
Header/Footer Blocks
Styles Status [In database]
Board Style [Change the board style]
Portal Status [In Database]
Online Users [As IM]
Recent Topics [Set count, scroll, static via ACP]
Books (like Amazon) [Random image no sql query required]
User Information [as per IM]
Calendar (rudimentary) [Just the calendar no real functionality as yet]
Time/Clock [as per IM]
Statistics [basic stats]
Links [display x random images, no sql query required]
Centre Blocks
Welcome Message [basic welcome message set/edit via ACP]
News [similar to IM does not use fetchposts, all new code]
Announcements [similar to IM does not use fetchposts, all new code]
Unresolved [simple scrolling list of to dos]
KISS Integrated Blog [in development]
php Support Sites [ACP editable list stored in database]
I dont use unnecessary queries as in the Links and Books blocks. To add a link to the links blocks you only need to add the images (standard size) to the links directory. I will supply a form for proposed but the staff will be responsible for adding the image to the directory after they have check out the site proposing the link. The images are randomly generated I do not use weight to promote one over the other. To make the job easier to code the images are named after the site, for example: integrmod.com.gif
Mike
Last edited by Michaelo on Tue Apr 18, 2006 3:13 am, edited 1 time in total.