![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||
Default Font/Size/Color in a Post.
![]() Developer Last Online: May 2016 ![]() ![]() ![]() This modification is in the archives.
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:
ADD BELOW:
2) Open Postbit Templates -> postbit (or postbit_legacy) FIND:
There may be DIV tags around it, leave those alone! REPLACE WITH:
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 ![]() Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
User Default Font/Color/Size hack | TalkHardRandy | vBulletin 2.x Beta Releases | 67 | 03 Apr 2005 13:29 |
Comments |
#2
|
||||
|
||||
Just noticed I didn't include many colors or fonts...will fix.
No members have liked this post.
|
#3
|
|||
|
|||
Edit, NM just realised
No members have liked this post.
Last edited by MrSDavidson; 01 Aug 2005 at 22:51. |
#4
|
|||
|
|||
is this the same as the personal font color in posts hack?
__________________
nothing left to say No members have liked this post.
|
#5
|
||||
|
||||
Hmm, this doesn't have permissions does it?
No members have liked this post.
|
#6
|
||||
|
||||
Originally Posted by bgtking
Just remove the size selector from the style template.
![]() No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by Brinnie
Yep. Had to. Good work Apple.
![]() No members have liked this post.
|
#8
|
||||
|
||||
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
No members have liked this post.
|
#9
|
||||
|
||||
Can you post the one where you use custom fields or is it just a template edit?
__________________
Wayne Luke Get started with your own social network. Purchase and download vBulletin today. No members have liked this post.
|
#10
|
||||
|
||||
Its 2 template changes. One to the postbit and one to the user options template...forget its name.
No members have liked this post.
|
#11
|
||||||||
|
||||||||
Here is the code for the full list of default fonts.
This code is minus the size option. Changed: <!--/APPLE DEFAULT FONT HAT--> To: <!--/APPLE DEFAULT FONT HACK--> since I saw no reason why a hack should wear a hat. :ermm: 1) Open Modify User Option Templates -> modifyoptions FIND:
Add below:
No members have liked this post.
Last edited by FD929; 18 Aug 2005 at 15:43. |
#12
|
|||
|
|||
I can get the font type and colour to change, but when I add additional font sizes, they don't seem to work?
No members have liked this post.
|
#13
|
||||
|
||||
donno? Post up your template and maby someone can help :-O
No members have liked this post.
|
#14
|
||||
|
||||
Can you add an option to ignore these settings? I want my users to be able to use this, but I hate it :P
No members have liked this post.
|
#15
|
||||
|
||||
when I try to load the xml file in the plugin manager, it gives me this:
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:14.