inherit
233047
0
Apr 19, 2019 3:34:41 GMT -8
Chrissiest Chris
179
June 2016
rehpotsirhc
|
Post by Chrissiest Chris on Jul 6, 2016 10:02:46 GMT -8
Is it possible to make each board have a different icon for thread, locked, announcement etc?
|
|
inherit
233047
0
Apr 19, 2019 3:34:41 GMT -8
Chrissiest Chris
179
June 2016
rehpotsirhc
|
Post by Chrissiest Chris on Jul 9, 2016 12:24:27 GMT -8
Well?
If it's not possible please tell me so I don't waste my time.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 10, 2016 12:05:53 GMT -8
You can try inserting something similar to the following into the header of each board or category for which you wish to display alternate icons: <style type="text/css"> /* ==hide the standard icons for this board== */ .container .item.thread .icon img { width:1px; height:1px; } /* ==define new icons just for this board== */ /* sticky locked */ .container .item.thread.locked.sticky .icon::after { content: url(//images.proboards.com/f/icons/thread-locked-sticky.png); } /* locked announcement*/ .container .item.thread.locked.announcement .icon::after { content: url(//images.proboards.com/f/icons/thread-locked-announcement.png); } /* sticky */ .container .item.thread.sticky .icon::after { content: url(//images.proboards.com/f/icons/thread-sticky.png); } /* locked */ .container .item.thread.locked .icon::after { content: url(//images.proboards.com/f/icons/thread-locked.png); } /* announcement */ .container .item.thread.announcement .icon::after { content: url(//images.proboards.com/f/icons/thread-announcement.png); } /* thread */ .container .item.thread .icon::after { content: url(//images.proboards.com/f/icons/thread.png); } </style> You would of course change the image urls to the urls of the images you wish to use. One caveat with this however, is it will not affect the legend at the bottom of the board since that lacks sufficient classes to correctly identify replaceable elements, but you can easily hide that container with CSS and create your own in the board or category footer. The other option would be to expand on the code presented in this thread which would then be able to deal with legends, your choice... ETA: Here is a plugin: Judge a Thread by Its Icon
|
|
inherit
233047
0
Apr 19, 2019 3:34:41 GMT -8
Chrissiest Chris
179
June 2016
rehpotsirhc
|
Post by Chrissiest Chris on Jul 20, 2016 4:02:51 GMT -8
That plugin was a life saver. Thanks.
Locked announcement doesn't seem to be working though
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 20, 2016 6:56:30 GMT -8
That plugin was a life saver. Thanks. Locked announcement doesn't seem to be working though I only accounted for locked-announcement not the locked-announcement-sticky combination as you have it in the "American Dad!" board but I'm not sure when I'll get a chance to address that since I'll be pretty much unavailable for the rest of the week. Hopefully when I am settled in my new place I'll get internet access fairly quickly.
|
|
inherit
233047
0
Apr 19, 2019 3:34:41 GMT -8
Chrissiest Chris
179
June 2016
rehpotsirhc
|
Post by Chrissiest Chris on Jul 20, 2016 9:04:08 GMT -8
Alright. There's no rush. I'm grateful enough you actually made this.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 20, 2016 18:51:23 GMT -8
try this quick fix, if no joy then what I said earlier regarding short on time still applies
|
|
inherit
233047
0
Apr 19, 2019 3:34:41 GMT -8
Chrissiest Chris
179
June 2016
rehpotsirhc
|
Post by Chrissiest Chris on Jul 21, 2016 6:52:26 GMT -8
Didn't work. But I'm patient. Like I said no rush.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 21, 2016 13:22:03 GMT -8
Probably not obvious but did you go into plugin settings and change the image you have assigned to the "locked announcement" to instead say "sticky locked announcement"(new)? In other words what you have now would work if there was no sticky on the announcement which seems redundant to me but since it is allowed then the newly added sticky locked announcement should handle that case.
|
|
inherit
233047
0
Apr 19, 2019 3:34:41 GMT -8
Chrissiest Chris
179
June 2016
rehpotsirhc
|
Post by Chrissiest Chris on Jul 22, 2016 2:44:04 GMT -8
Ohh I didn't realize. I assumed locked announcement and locked sticky announcement was the same. It's working now, thanks.
|
|