vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Personal Font/Color in Posts (https://vborg.vbsupport.ru/showthread.php?t=93127)

Snake 07-14-2006 11:26 AM

Thanks!

Jeordie015 07-18-2006 10:52 PM

Is there a way to keep it from showing what color you're using in the user profile?

Morrighan256 07-20-2006 10:20 AM

I don't know if anyone has mentioned this yet, but you can also make the font option a pull-down menu. Keep in mind I know almost nothing, but instead of this:

Quote:

Step 2
Go to User Profile Fields >> Add New User Profile Field

Choose A "Single-Line Text Box"

Title: "Your Font In Posts"

Description: This is the font in which will appear in your posts. (Ex: Tahoma)

Display Size: 15

Max length of allowed user input: 20
I did:

Quote:

Step 2
Go to User Profile Fields >> Add New User Profile Field

Choose A "Single-Selection Menu"

Title: Your font in posts

Description: Select the font you would like to set as default for your posts.

Options:

Arial
Arial Black
Arial Narrow
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Franklin Gothic Medium
Garamond
Georgia
Impact
Lucida Console
Lucida Sans Unicode
Microsoft Sans Serif
Palatino Linotype
System
Tahoma
Times New Roman
Trebuchet MS
Verdana

Set default: Yes, but No First Blank Option

Field Required: No

Field editable by user: Yes
It's easier, because (from my understanding) they don't have to try to guess what fonts are available. They just click the pull-down and select. Everything else is the same.

It's working in my forum, anyway. ;)

Bubble #5 07-20-2006 08:31 PM

Quote:

Originally Posted by Morrighan256
It's easier, because they don't have to try to guess what fonts are available.

Great improvement Morrighan256 :)

Bubble #5 07-20-2006 11:07 PM

Quote:

Originally Posted by thorzzzten
for font-family + color + size following code is working

Not for 3.6 it's not :( Size part is what doesn't work.

Cithiz 08-13-2006 08:06 PM

this is working on 3.5.4?

Cybertims 08-14-2006 07:49 AM

Quote:

Originally Posted by Morrighan256
I don't know if anyone has mentioned this yet, but you can also make the font option a pull-down menu. Keep in mind I know almost nothing, but instead of this:



I did:



It's easier, because (from my understanding) they don't have to try to guess what fonts are available. They just click the pull-down and select. Everything else is the same.

It's working in my forum, anyway. ;)

Any chance of a drop down for the colours too?

Cheers.

forzablues 08-16-2006 06:10 PM

<div id="post_message_$post[postid]"><if condition="$post['field9'] != '' OR $post['field10'] != ''">

<font style="font-family:$post[field10]; color:$post[field9];">$post[message]</font>

hmm not working for me.

Font colour = field 9
Font = field10

if i done it wrong can u correct it for me please

cOuNtErFiET 08-16-2006 10:25 PM

anyway to get this applied to the vbShout some members have been complaining that they want the font color they pick to stay instead of having to re-pick the color when they refresh or click on another forum and all of that...im sure just have to edit the vbshout code to call the if statement right? Below is what im thinkning...

Code:

<if condition="$post['fieldx'] != '' OR $post['fieldx'] != ''">
<font style="font-family:$post[fieldx]; color:$post[fieldx];">POST_SHOUTBOX_MESSAGE</font>
<else />
POST_SHOUTBOX_MESSAGE
</if>


Cithiz 08-18-2006 10:03 AM

this hack most important for me!
this hack use together 3.5.4, and then give me your add commands code please


All times are GMT. The time now is 11:52 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
  • Page Generation 0.01105 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete