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)

cajunboy2208 04-27-2007 02:52 AM

Someone want to help to get this in 3.6?
I am stuck at
Display Size: 11

There is no display size in 3.6

deezelpope 04-28-2007 03:08 PM

Installed and looking great on 3.6.4! Had to edit post bit and legacy both.

cajunboy2208 04-30-2007 01:57 AM

Quote:

Originally Posted by cajunboy2208 (Post 1236229)
Someone want to help to get this in 3.6?
I am stuck at
Display Size: 11

There is no display size in 3.6

Anyone?

deezelpope 04-30-2007 08:48 AM

Don't worry about that...just pretend it isn't even there.:)

cajunboy2208 04-30-2007 12:24 PM

Thank you deezel

deezelpope 04-30-2007 09:08 PM

You're welcome, Cajunboy! Got it working?

cajunboy2208 05-03-2007 09:57 PM

Got it installed finally. Works like a charm. Thanks much!

deezelpope 05-03-2007 10:02 PM

Excellent! Happy to hear it!! :)

grc 07-30-2007 02:02 AM

I've spent some time today getting this mod to work on 3.6.8 -- including the addition of font size too.

First, add a Personal Font Size field to the User Profile Fields. Make the options
Use Forum Default
medium
large


Or you can size by points
9pt
10pt
11pt
12pt




Then, in the postbit template the replacement for:
Quote:

<div id="post_message_$post[postid]">$post[message]</div>
Is

Quote:

<if condition="$post['fieldx'] != '' OR $post['fieldx] != '' OR $post['fieldx'] != ''">

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

<else />
<div id="post_message_$post[postid]">$post[message]</div>
</if>
Again, the "fieldx" instances need to be replaced with the three field numbers from the User Profile Field Manager. The first three can be in any order. The second three need to match the proper field numbers for font, color, and size.

Hope this helps someone.

Chachacha 08-03-2007 07:47 PM

Now when someone quotes your post, the color doesn't show up, anyone know how to make it work in quotes as well?


All times are GMT. The time now is 04:21 PM.

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.01245 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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