vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   New Posting Features - Control User Post Font via Profile Options (https://vborg.vbsupport.ru/showthread.php?t=175282)

Alfa1 04-15-2008 11:43 AM

Quote:

Originally Posted by CrashfAB (Post 1490870)
Exatcly what I was looking for. I did the same thing as Alph1

So what exactly is the default font px size? I am pretty sure 15 is a tad too large.

I added 8 - 15. 15 is somewhat large for most fonts, but for some fonts it is good.

BTW: the list of fonts is not complete. Here is the complete list:
arial
arial black
arial narrow
Book antiqua
century gothis
comic sans ms
courier new
fixedsys
franklin gothic medium
garamond
georgia
impact
helvetica
impact
lucida console
lucida sans unicode
microsoft sans serif
palatino linotype
system
tahoma
times new roman
trebuchet ms
verdana

CrashfAB 04-15-2008 07:48 PM

Also--when a user has there font customly set--and somebody repliess to it--in the quote it reverts back to the standard font

ChU v2 04-16-2008 06:35 PM

Quote:

Originally Posted by CrashfAB (Post 1491518)
Also--when a user has there font customly set--and somebody repliess to it--in the quote it reverts back to the standard font

Within the quote box? I could look into that. It shouldn't be too hard, maybe just another template edit.

Alfa1 04-17-2008 07:53 PM

All my posts have turned into the font and colours that I have set in my profile. Should this be?

CrashfAB 04-17-2008 08:02 PM

Quote:

Originally Posted by Alfa1 (Post 1493242)
All my posts have turned into the font and colours that I have set in my profile. Should this be?


yup--its a global setting so to speak..

za3bour 04-20-2008 11:41 AM

this is driving me crazy , all went fine (font,color,bold,italic,..etc) except font size it is not changing can you tell me what's wrong ?

here is teh code

<if condition="$post['field9'] OR $post['field11'] OR $post['field10'] OR $post['field12'] OR $post['field13'] OR $post['field14']">

<span style="font face: $post[field9]; size: $post[field11]; color: $post[field10]; font-weight: $post[field12]; font-style: $post[field13]; text-decoration: $post[field14];">$post[message]</strong></span></font>

za3bour 04-20-2008 11:53 AM

I did change px to size because this didn't work either :S

ChU v2 04-20-2008 08:37 PM

Quote:

Originally Posted by za3bour (Post 1495112)
I did change px to size because this didn't work either :S

It looks like you've edited my original code and made something of your own. Try mine. The first field IS the font px size.

za3bour 04-21-2008 05:34 AM

This is the original I did try this one , every thing worked except the Font Size, So what is wrong here ? my field for font size is 11

Quote:

<!-- message -->
<div id="post_message_$post[postid]">
<!--Custom Font-->
<if condition="$post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX']">

<span style="font: $post[fieldXX]px $post[fieldXX]; color: $post[fieldXX]; font-weight: $post[fieldXX]; font-style: $post[fieldXX]; text-decoration: $post[fieldXX];">$post[message]</strong></span>

<else />
$post[message]

</if>
<!--/Custom Font-->
</div>
<!-- / message -->

za3bour 04-21-2008 05:46 AM

it did work :D man i thought the first field was for font type and the second is for size

now it works just perfect . what a great hack :cool: if you could please change it in Quote as well that would be great.

Thanks again


All times are GMT. The time now is 02:56 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.01148 seconds
  • Memory Usage 1,739KB
  • 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
  • (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