TinyPortal

Development => Support => Topic started by: Tyraaaan on May 28, 2007, 02:56:52 PM

Title: Custom Board Icons
Post by: Tyraaaan on May 28, 2007, 02:56:52 PM
Hello!
I've already written this problem in the german support area but nobody could give me a helpful support, so I'm trying to explain it in english. I hope you guys can understand what I want to say! ;)

Alright, I wanted to install the cbi v0.5 (http://custom.simplemachines.org/mods/index.php?mod=511) modification on my forums, but the new icons won't show up.

I'm using SMF 1.1 RC3 and TinyPortal v0.9.7, but I don't think these older versions are not responsible for that problem.

Any suggestions how I can solve this problem?

Title: Re: Custom Board Icons
Post by: G6Cad on May 28, 2007, 03:15:39 PM
Create icons folder in to your themedirs root.
In the icons folder create folder which name is the boards id,(meaning only the
number of the board) where you want custom board icon.
Then put on.gif, on2.gif and off.gif in that folder.

Structure:
forum/Themes/default/icons
forum/Themes/default/icons/board_id/on.gif
forum/Themes/default/icons/board_id/on2.gif
forum/Themes/default/icons/board_id/off.gif

NOTE: "board_id" = the id number of your board so the structure would look like
this for board 1:

EG:forum/Themes/default/icons/1/on.gif

And if you have any custome theme installd and want this you have to first add in the nessesary code from the mod into that theme, and then follow the steps again for that theme
Title: Re: Custom Board Icons
Post by: Tyraaaan on May 28, 2007, 04:57:21 PM
QuoteCreate icons folder in to your themedirs root.
In the icons folder create folder which name is the boards id,(meaning only the
number of the board) where you want custom board icon.
Then put on.gif, on2.gif and off.gif in that folder.

Structure:
forum/Themes/default/icons
forum/Themes/default/icons/board_id/on.gif
forum/Themes/default/icons/board_id/on2.gif
forum/Themes/default/icons/board_id/off.gif

NOTE: "board_id" = the id number of your board so the structure would look like
this for board 1:

EG:forum/Themes/default/icons/1/on.gif

I've already done this!  ;)

QuoteAnd if you have any custome theme installd and want this you have to first add in the nessesary code from the mod into that theme, and then follow the steps again for that theme

Which lines in the code do I have to change?
Title: Re: Custom Board Icons
Post by: G6Cad on May 29, 2007, 06:30:30 PM
That info can be found in the mods XML file.
Extract the mod and open the XML file with wordpad or some other text reader and see what code to add where in the template.php file/s
Title: Re: Custom Board Icons
Post by: szasza on June 01, 2007, 12:43:08 PM
Hy! Thx all! You help me!