TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,985
  • Total Topics: 21,321
  • Online today: 677
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 351
  • Total: 351

Custom Board Icons

Started by Tyraaaan, May 28, 2007, 02:56:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tyraaaan

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 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?


G6Cad

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

Tyraaaan

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?

G6Cad

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

szasza

Hy! Thx all! You help me!

This website is proudly hosted on Crocweb Cloud Website Hosting.