News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

cbi v0.5 (Custom Board Icons)

Started by Bigguy, November 11, 2006, 11:59:46 AM

Previous topic - Next topic

Bigguy

Link to Mod

CBI Modification
This modification gives you the ability to change the default board icons to ones you choose. All that must be done is; install this package through the package manager, make an icons folder in the theme directory that you are using. One more folder inside that for each board and place your icons there. Keep in mind that this modification only installs to the default theme, if you are using a custom theme with "BoardIndex.template.php" and "MessageIndex.template.php" files, they will have to be modified manually. Those are the only two files this package modifies. Follow the file structure listed below.

New Changes:
-Updated for latest SMF ver.
-License change
-Updated for 2.0.6 - 9
-Updated for 2.0.5
-Readme Updated
-license added

UP AND COMING:
- License change complete

UP-TO-DATE VERSIONS:
cbi 195 - version update - Installs with 2.0.15
cbi 181 - version update
cbi 180 - License change
cbi 179 - Installs with the latest version
cbi 178 - Installs with 2.0.5
cbi 176 - Installs with 2.0.3
cbi 175 - Installs with SMF 2.0.2
cbi 173 - Installs with SMF 2.0.1
cbi 172 - Installs with SMF 2.0 Gold PLEASE READ THE README
cbi 11- installs with SMF 1.1.12, .13

NOTE:
There are instructions in the readme attached with this mod. If the icons fail for some reason or you uninstall this mod, the board icons will default back to the original icons.

For quick reference:

1.7.3-1.8.1 README INSTRUCTIONS
QuoteIn the icons folder in to your /Themes/default/images/icons/.
create folder which name is the boards id,(meaning only the
number of the board) where you want custom board icon.
Then put on.png, on2.png and off.png in that folder.

Structure:

forum/Themes/default/images/icons
forum/Themes/default/images/icons/board_id/on.png
forum/Themes/default/images/icons/board_id/on2.png
forum/Themes/default/images/icons/board_id/off.png

For redirect boards use this:

forum/Themes/default/images/icons/board_id/redirect.png

(Where "board_id" is the id number of the board you want the icon to show up for. So for example for your first board on your forum it would look like this:
forum/Themes/default/images/icons/1/on.png)

1.6.3 README INSTRUCTIONS: (These vary slightly per mod but nothing major)
QuoteCreate icons folder in to your /Themes/default/.
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.png, on2.png and off.png in that folder.

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

(Where "board_id" is the id number of the board you want the icon to show up for. So for example for your first board on your forum it would look like this:

forum/Themes/default/icons/1/on.png)

License:
Feel free to distribute and or modify this package. The "Thanks go to" section of this readme must not be changed (only added to) and must stay with the package. This license only applies to the latest release cbi 1.8.0 and above.

This mod is licensed under: https://www.mozilla.org/en-US/MPL/1.1/

littleone

#1
I am finding that this doesnt work on boards on "Child Boards".  When I click on the Parent board and get the listing of Child boards, their icons are the default ones.

Any suggestions?

Bigguy

#2
In the next version of cbi there will be support for child boards. I was going to put it in this one but I did not get it ready in time. For now though here is a small solution to the problem. It's almost like this mod but a bit different:

Xarcell

wow, I can't wait for the updated one with the childboards icon. Very nice mod...

Bigguy

Thank you. I'm not sure when it will be out but keep an eye out for it.

denislici

#5

it would be better if we set the icon in the admin panel, while adding or editing a board...
Love the Creature for Creator's sake. (English)
Duje Krijesen per hire te Krijuesit. (Albanian)
Yaradılan'ı sev Yaradan'dan ötürü. (Turkish)
Ami la Creatura per ce la creato il Creatore. (Italian)

Bigguy

#6
Now available on the mod site.

Well for some reason I cannot upload to the mods section of simplemachines.org so I will upload it here. We have released a new version of cbi. (Custom Board Icons) This version supports child boards and is compatible with SMF 1.1 Final. Please read the readme.txt upon install for instructions and credits, thanks and I hope you all like it.

Bigguy

I have found problems with this mod and have removed it from download. It will be back. Sorry for any inconvenience. Please re-install the previous mod which is also SMF 1.1 Final compliant.

Bigguy

The new version of this mod is back up for download.


Bigguy


Greek

Perhaps I do something wrong because I don't see any change. I have installed the cbi 1.0

For example if the first board is this:
h*tp://www.justatestforum.net/test/index.php?board=1.0

what is the right path and file names of icons?
I don't know if it's important, but my icons have size about 50x50 and gif format.

Thanks in andvance for any help  :)



Bigguy

If this is your forum:

h*tp://www.justatestforum.net/test/index.php?board=1.0

then your image must go here:

h*tp://www.justatestforum.net/test/Themes/default/icons/1/on.gif

This mod only installs on the default theme so if you are using a custom theme you will have te manual edit.

Greek

Thanks for help. It worked  :)

I have just noticed this:

The default small icons below the board (I mean "New messages" and "No new message") are remaining and I think is not good looking if you have changed the default big icons.

nitins60

Can you tell me code for custom theme? I will be thankful, if you provide some cool icons of mobiles/music! :P


RvG

will this work on themes other than default?

Bigguy

Yes but you will have to manual add the edits

K_4_kelly

thanks, i think this is a nice one

Bigguy

#19
Depending on what version of SMF you have there is a newer version than 0.5 But they both work real good. :)

Advertisement: