![]() |
Default Font/Size/Color in a Post.
Default Font/Color/Size in a Post
This hack will allow your users to set there default font that will appear in there posts from the User CP. Yes, I know this can be done with custome user feilds, but I dont like those because they change on every persons site...this just makes more sence. (Remember that this is a Product! Use the product manager!) This releace does not have the plugin required to get the defaults for a user back out of the database so that users dont have to reset there defaults every time they visit the options page. If you want to write this part, be my guest. (Because I realy dont know how.) Details 1 Product XML 2 Template Edits History 1.0.1 Fixed some stuff and redesigned 1 template edit. 1.0.0 Initial Version Note: Tested on RC1 only! Template Edits: 1) Open Modify User Option Templates -> modifyoptions FIND: PHP Code:
PHP Code:
2) Open Postbit Templates -> postbit (or postbit_legacy) FIND: PHP Code:
REPLACE WITH: PHP Code:
If you know any better way of doing what I am doing (like possibly pulling the font, size, and color options from the same place the editor pulls them) please tell me. I admit to being a n00b :) |
Just noticed I didn't include many colors or fonts...will fix.
|
Edit, NM just realised
|
is this the same as the personal font color in posts hack?
|
Hmm, this doesn't have permissions does it?
|
Quote:
|
Quote:
|
Thanks. I dont even use this hack anymore. I went back to using Custome User Fields and just relocated the "others" hook into a "Color Options" table. Works fine for me :-P
|
Can you post the one where you use custom fields or is it just a template edit?
|
Its 2 template changes. One to the postbit and one to the user options template...forget its name.
|
All times are GMT. The time now is 12:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|