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)
-   -   Default Posting Font (https://vborg.vbsupport.ru/showthread.php?t=97544)

SnapOff Racing 09-04-2006 09:06 AM

how could you make the default font bold? would this be difficult?

The Librarian 01-17-2007 07:48 PM

Hello,

I've installed this mod and the color addon found here:
https://vborg.vbsupport.ru/showpost....2&postcount=23

Both work beautifully, but I find the fonts difficult to read sometimes. Some fonts just need to be bigger. So I wanted to add the font size choice found here:

https://vborg.vbsupport.ru/showthread.php?t=133225

I followed the directions to add the field to the UserCP Options. It's a Single Line Text Box with a default value of 12.

But the code looks VERY different, so I decided to try to modify it to match the coding on the first mods.

Here's what I came up with:

ORIGINAL POSTBIT LEGACY TEMPLATE CODE (with font and color added):

Code:

<div id="post_message_$post[postid]"><if condition="$post[field13]"><font face="$post[field13]"<if condition="$post[field14]"> color="$post[field14]"</if>>$post[message]</font><else />$post[message]</if></div>

NEW POSTBIT LEGACY TEMPLATE CODE (with size field added):

Code:

            <div id="post_message_$post[postid]"><if condition="$post[field13]"><font face="$post[field13]"<if condition="$post[field14]"> color="$post[field14]"<if condition="$post[field17]"> font size="$post[field17]"</if>>$post[message]</font><else />$post[message]</if></div>
*But* everytime I try to save it, I get the following error message:

Quote:

The following error occurred when attempting to evaluate this template:

The conditional on line 78 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
I've checked it and I can't find my error... but I'm not a programmer. This is all Greek to me. Can somebody tell me what I need to change to make this work?

Thanks!

cartooner 10-21-2007 06:01 PM

I've had this hack on all my versions I installed 3.6.8 on one of my forums and can't get it to work. The selections show up in the User Options. But when I go to post no changes.

Is this not compatable with Version 3.6.8??

it works with 3.6.7.....

The Librarian 10-22-2007 04:00 PM

Quote:

Originally Posted by cartooner (Post 1365263)
I've had this hack on all my versions I installed 3.6.8 on one of my forums and can't get it to work. The selections show up in the User Options. But when I go to post no changes.

Is this not compatable with Version 3.6.8??

it works with 3.6.7.....

It's working fine for me and I'm using 3.6.8 with the newest upgrade patch.

~~~~~UPDATE TO OP NOTE~~~~~~~~~~~~
I'd forgotten about this thread until I saw this reply. Just to add some closure let me point any interested parties to THIS THREAD where you'll find the resolution to the difficulties I posted here.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


All times are GMT. The time now is 11:37 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.01227 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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