https://www.icyphoenix.com/viewtopic.php?f=28&t=8185&p=54454#p54454
-----------------------------------
TopoMotoV3X
Sun 06 Nov, 2011 04:21

[MOD] Icy Phoenix Banner Category
-----------------------------------
Give life to title of categories of yours forum, make sure that the difference between one category and another is represented by images, which make it clear at a glance the topics covered in the forums.

Here it is:

[img]http://www.icyphoenix.it/files/posted_images/222/2011_09_29_banner_1319723966_275299.png[/img]

You will place a banner for each of your category, with a transparent background if you want to have the background color of each of your skin, or colored, if you have only one theme available to your users.

The mod was created for skins with a fixed size, but it also works well with others ..

Some examples:


[img]http://www.icyphoenix.it/files/posted_images/222/2011_10_26_230738_style.png[/img]

[img]http://www.icyphoenix.it/files/posted_images/222/2011_10_26_231341_style.png[/img]

[img]http://www.icyphoenix.it/files/posted_images/222/2011_10_26_231245_style.png[/img]

[img]http://www.icyphoenix.it/files/posted_images/222/2011_10_27_192117.png[/img]

[img]http://www.icyphoenix.it/files/posted_images/222/2011_10_26_232508_style.png[/img]

[img]http://www.icyphoenix.it/files/posted_images/222/2011_10_26_231559_style.png[/img]

[size=14][color=red][b]How It Works:[/b][/color][/size]

Set a Banner of the ACP/Forum/Management/ (or Advanced Management) Edit or create a new category, and you will find the menu for your new function:

 [img]http://www.icyphoenix.com/files/images/3404/2011_11_05_191202.png[/img]  

For obvious reasons, I have minimized the banners in the ACP, but clicking on it you can view the original size:

[img]http://www.icyphoenix.com/files/images/3404/2011_11_05_191236.png[/img]  

Once sent the banner to your category,  by  "Management" or "Advanced Management" to your left you will find an icon that represents the presence of the banner, which is also clickable to allow you to monitor your banners.

[img]http://www.icyphoenix.com/files/images/3404/2011_11_06_040107.png[/img] 

[img]http://www.icyphoenix.com/files/images/3404/2011_11_06_040137.png[/img]

[img]http://www.icyphoenix.com/files/images/3404/2011_11_06_040211.png[/img]

The MOD is a bit long, so I added the changed files directly, if any of you have already made ​​changes to files they find in the package, and wants to add this mod, can ask in this topic. the code to add to his file, without having to redo the work done previously.

[b][i]The files involved in this model are:[/i][/b]

root/adm:

admin_forums.php
admin_forums_extend.php
============================================================
root/language/lang_english:

lang_extend_icy_phoenix.php
lang_main.php
============================================================
root/includes:

functions_admin_forums.php
functions_categories_hierarchy.php
============================================================
root/templates/common/acp:

category_edit_body.tpl
forum_admin_body.tpl
forum_edit_body.tpl
forum_extend_body.tpl
forum_extend_edit_body.tpl
============================================================
root/templates/common:

style.cfg
============================================================
root/templates/default:

index_box.tpl
============================================================

Also change the templates that have a file "index_box.tpl" dedicated, as [url=http://www.icyphoenix.com/viewtopic.php?f=41&t=7828]Dark Force Otherwise you can not see the banner in that particular style.

Download  :arrow: [url=http://www.icyphoenix.it/dload.php?action=file&file_id=87]Icy Phoenix Banner Category


