Ok, this probably has been asked for before, but I couldn't find it. Some of my users (on one of my sites) have asked to be able to select a text color by default for all of their posts. I would like to see as option in the profile for them to select this option. Either a mod or as feature in SMF would be great. I don't have the skills to code this myself (yet).
What about boards with more than one theme, what may look ok on one theme may be unreadable on another, and if you redesign your site at some stage and change the background colour, the old posts may not be readable.
Quote from: Ben_S on March 31, 2004, 02:09:26 PM
What about boards with more than one theme, what may look ok on one theme may be unreadable on another, and if you redesign your site at some stage and change the background colour, the old posts may not be readable.
I would hope that it would be an selectable option, but I must admit I hadn't thought about that part of it.
Could be a theme-per-theme option...
-[Unknown]
That would be cool
Well, if you read my tutorial on how to create custom profile fields (http://unknown.network32.net/tutorial.smf_custom-profile), that will show you how to do the basics of it.
Then all you have to do is something like this in the postbox sub template under the Post template, find:
if ($context['show_bbc'])
Add just above that:
if ($message == '')
$message = '[color=' . $options['post_default_color'] . ']<br /><br />[/color]';
This way, even if you upgraded, it would keep working - as long as you make things changes to a new theme - not default.
-[Unknown]
Thank you for your help and I will read the tutorial.