Version: 1.0.1, by JJR512
Developer Last Online: Jun 2006
Version: 3.5.0
Rating:
Released: 10-03-2005
Last Update: 10-03-2005
Installs: 24
Template Edits
No support by the author.
This is a very simple hack. In fact it's almost embarrassing to call it a hack.
In a nutshell, this gives your members the ability to select a font face in which all of their messages will appear. This includes not only new messages after they select the font, but also any of their old messages, too, because the font they select is applied to their messages in the postbit template at the time they are viewed.
Installing involves creating a new custom profile field and a modification to the postbit and/or postbit_legacy template(s).
NOTE: If anyone would like to show me how to auto-populate the font selection list with the currently installed fonts, I'd be glad for the tutorial. (As it is now, you have to copy the list of fonts from the style editor into the custom profile field, which works but is not elegant.)
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I haven't had the chance to actually install the version with the color selector, because I don't plan on using it myself. So I haven't really seen it in action. But I had assumed it was just another drop-down selector box, like the font name.
What, exactly, is it that you would like to see; how can it be made better?
I haven't had the chance to actually install the version with the color selector, because I don't plan on using it myself. So I haven't really seen it in action. But I had assumed it was just another drop-down selector box, like the font name.
What, exactly, is it that you would like to see; how can it be made better?
Well I am hoping to see it exactly like the way you've done for default font hack, with the drop-down list and all that kind of stuff.
this is what i did to get the color options. the file is attached.
*Note: this is an add on to the original mod. all i did was replicate the instructions from the original mod and modified where appropriate.
I added font size in the Profile Field also but I'm messing something up in the code to add to the postbit I'm probably missing an if or > when I tried to add the extra condition for the size. I'm sure if I try a few times I can get it but I was wondering if you can put in that 3rd condition?
I added font size in the Profile Field also but I'm messing something up in the code to add to the postbit I'm probably missing an if or > when I tried to add the extra condition for the size. I'm sure if I try a few times I can get it but I was wondering if you can put in that 3rd condition?
I got a question here. I've set up my custom fields for font face and size (not going to do color) and edited the postbit and postbit_legacy templates as described in post #37 (The Wise One). I noticed three things.
1. Not only do my new posts show up with my default font and size, but all of my previous posts do as well. Why? What if I don't WANT my old posts to have the new defaults applied?
2. If the default size, but NOT font is selected in my options, the post uses the board default with no change to size.
3. If I log out and view my new post with a default font and size applied, I see the board default, NOT the default, so I am the only one able to see my defaults. Why? Will guests and other members be able to see the formatted text or not?
1. The font is applied to a message when it is displayed, that's why you make changes to the postbit and postbit_legacy templates. This is by design. The only other way I could think of to use a default font would be to put the font tags inside the message that gets stored in the database, which because of the permanence of that, I didn't want to do.
2. I don't know about this, I haven't actually used the version with the size option myself.