Advertisement:

Author Topic: Board color and icons  (Read 21860 times)

Offline oOo--STAR--oOo

  • Full Member
  • ***
  • Posts: 645
  • Perfectionist
    • Developing Uniquez
Board color and icons
« on: August 19, 2011, 10:44:12 AM »
Board Color and Icons


Live Demo (Look at color boards and icons.)

Description

This simple mod will ligthen up your forums with some color and custom icons on your boards.
This is my 1st mod that I have created for SMF. I have great interest in modding SMF.

Initial Release
  • You can choose what color you would like each board to be
  • You can also add icons after the board name to represent what the board is,
    and make it more visual.
  • Icon width and height should be 18x18 pixels
  • Icon is a little larger, the image will automatically be resized!
  • Supports Child Board
  • Supports Redirect boards
  • Will also display Color and Icon on child boards
  • Shows board color and icons on the Stats Page
  • Pick and choose which boards can have colors and icons


Package Information
Version: 1.1
Package: Board colour and icons
Supports SMF 2.0

Need Help or have any suggestions for improvement??

If you need help with this modification, please don't hesitate to post in the support thread.

Also we welcome all feed back and improvements that can be made to this modification.
« Last Edit: August 20, 2011, 06:19:59 PM by aljo1985 »
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Offline crustybum

  • Jr. Member
  • **
  • Posts: 368
Re: Board color and icons
« Reply #1 on: August 23, 2011, 05:03:18 AM »
I cant find anywhere in admin where i use this?  i am using SMF 2.0 9it is not in miscalleneous either (mod installed ok)

Offline oOo--STAR--oOo

  • Full Member
  • ***
  • Posts: 645
  • Perfectionist
    • Developing Uniquez
Re: Board color and icons
« Reply #2 on: August 25, 2011, 08:10:38 AM »
I cant find anywhere in admin where i use this?  i am using SMF 2.0 9it is not in miscalleneous either (mod installed ok)

You use this when you goto forum -> boards -> modify boards ->
Then when you either create or edit a board, you have 2 options for Color and Icons under board name.
« Last Edit: August 29, 2011, 11:52:01 AM by aljo1985 »
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Offline razors edge

  • Jr. Member
  • **
  • Posts: 114
Re: Board color and icons
« Reply #3 on: August 25, 2011, 10:46:11 AM »
Nice mod, Now to create some icons for each of the forum sections. Thanks!


Offline oOo--STAR--oOo

  • Full Member
  • ***
  • Posts: 645
  • Perfectionist
    • Developing Uniquez
Re: Board color and icons
« Reply #4 on: August 29, 2011, 11:52:49 AM »
I cant find anywhere in admin where i use this?  i am using SMF 2.0 9it is not in miscalleneous either (mod installed ok)

You use this when you goto forum -> boards -> modify boards ->
Then when you either create or edit a board, you have 2 options for Color and Icons under board name.

Category.. Hmmm
I may look into adding that also.
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Offline jaisi

  • Full Member
  • ***
  • Posts: 518
Re: Board color and icons
« Reply #5 on: August 29, 2011, 12:52:36 PM »
thanks for providing nice but. but wow to get icon now??

Offline gldkelly

  • Newbie
  • *
  • Posts: 1
Re: Board color and icons
« Reply #6 on: August 30, 2011, 03:38:15 PM »
Hi aljo1985,

Is there anyway to make this Mod compatible with 1.1.14?

This is exactly what I need for my forum!  ;D

Offline oOo--STAR--oOo

  • Full Member
  • ***
  • Posts: 645
  • Perfectionist
    • Developing Uniquez
Re: Board color and icons
« Reply #7 on: September 04, 2011, 12:02:05 PM »
Hi aljo1985,

Is there anyway to make this Mod compatible with 1.1.14?

This is exactly what I need for my forum!  ;D

I suppose. If you send me the required scripts that need edits I can make them compatible for you.
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Offline oOo--STAR--oOo

  • Full Member
  • ***
  • Posts: 645
  • Perfectionist
    • Developing Uniquez
Re: Board color and icons
« Reply #8 on: September 04, 2011, 12:02:56 PM »
thanks for providing nice but. but wow to get icon now??

You just insert the link to the image..
EG www.example.com/image1.png
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Offline astroapps

  • Newbie
  • *
  • Posts: 7
Re: Board color and icons - can not run if using any theme...
« Reply #9 on: September 10, 2011, 10:23:55 PM »
hihi, thank you very much for your mod and very impressive. however, it is not working after i apply any theme.... any advise ? many thanks !

Offline oOo--STAR--oOo

  • Full Member
  • ***
  • Posts: 645
  • Perfectionist
    • Developing Uniquez
Re: Board color and icons
« Reply #10 on: September 23, 2011, 02:18:57 PM »
hihi, thank you very much for your mod and very impressive. however, it is not working after i apply any theme.... any advise ? many thanks !

You need to install themes before applying any modifications other wise the mods will not be-able todo the required edits to the templates for the themes.
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Offline crustybum

  • Jr. Member
  • **
  • Posts: 368
Re: Board color and icons
« Reply #11 on: December 09, 2011, 07:40:24 AM »
Does anyone know how i can make these icons bigger?

Thanks

Offline Grim Line

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
Re: Board color and icons
« Reply #12 on: December 16, 2011, 10:24:29 AM »
I've got a custom theme and i have succesfully added colour and an icon when it shows up in the "Manage boards and Categories" section in the ACP. However it doesn't show up in the forums. It's still the default.

I have added;

Code: [Select]
<a class="subject" href="', $board['href'], '" name="b', $board['id'], '"', !empty($board['color']) ? ' style="color: ' . $board['color'] . ';">' : '>', $board['name'];
if (!empty($board['icon']))
echo ' <img src="',  $board['icon'], '" style="width: 18px; height: 18px;" alt="" />';
echo '</a>';

To the custom theme aswell. Any advice please?

Offline crustybum

  • Jr. Member
  • **
  • Posts: 368
Re: Board color and icons
« Reply #13 on: December 19, 2011, 06:38:19 AM »
Does anyone know how i can make these icons bigger?

Thanks

Can anyone help on this ? desperatly need to make this in to a small banner...thanks!

Offline Maxtor

  • Jr. Member
  • **
  • Posts: 354
Re: Board color and icons
« Reply #14 on: January 09, 2012, 12:14:33 PM »
can you make "Recent Posts" coloured?

Offline DMR123

  • Full Member
  • ***
  • Posts: 487
    • Photography Forum
Re: Board color and icons
« Reply #15 on: December 02, 2012, 10:29:52 AM »
The image I use is auto resized.. How can I make it bigger or disable the resize so I can have any size I like?

cheers

Offline kamili34

  • Jr. Member
  • **
  • Posts: 232
  • Gender: Male
  • noob
    • pilarki.org
Re: Board color and icons
« Reply #16 on: February 05, 2014, 08:22:02 PM »
How should looks example of link to ftp image icon?

Offline Levinity

  • Semi-Newbie
  • *
  • Posts: 22
Re: Board color and icons
« Reply #17 on: October 07, 2014, 08:50:32 PM »
I've got a custom theme and i have succesfully added colour and an icon when it shows up in the "Manage boards and Categories" section in the ACP. However it doesn't show up in the forums. It's still the default.

I have added;

Code: [Select]
<a class="subject" href="', $board['href'], '" name="b', $board['id'], '"', !empty($board['color']) ? ' style="color: ' . $board['color'] . ';">' : '>', $board['name'];
if (!empty($board['icon']))
echo ' <img src="',  $board['icon'], '" style="width: 18px; height: 18px;" alt="" />';
echo '</a>';

To the custom theme aswell. Any advice please?
Same problem with me. Except I didn't put that code in -- or any code. I have a custom theme, and the color/icon only shows in the Admin Panel, not the actual forums. Help?

Offline H@M

  • Semi-Newbie
  • *
  • Posts: 21
Re: Board color and icons
« Reply #18 on: January 24, 2015, 10:42:37 AM »
I'm using Zone99 theme and it doesn't work with me any help please?

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,501
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Board color and icons
« Reply #19 on: January 24, 2015, 06:19:09 PM »
As the author of this mod hasn't been here in 7 months it's unlikely you'll get much help unless someone wants to look through it to see how it works. :(
Online Manual

Please do not PM me for support.