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)

TimberFloorAu 05-24-2008 08:05 PM

It would be beneficial, when ppl say "never mind i fixed it"

To quote exactly what they did.

Ozzy

If this mod is applicable to 3.7 gold, can you please indicate. Looks like a great code.

Also, is there a mod, to just colorize members usernames in the forum home, online list?

Ozzy

stumparoooo 05-28-2008 01:51 AM

Quote:

Originally Posted by FLMom (Post 1510778)
Never mind....I figured it out on my own. Maybe you can elaborate more in the directions, looks like I wasn't the only one having trouble with size.

Either way, great hack! My members love it :D

How did you fix the size issue?

I cannot get it to work either. :(

iou1 06-18-2008 11:00 PM

This is what I currently have:

<!-- message -->
<div id="post_message_$post[postid]">
<!--Custom Font-->
<if condition="$post['field10'] OR $post['field11'] OR $post['field12'] OR $post['field13'] OR $post['field14'] OR $post['field15']">

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

<else />
$post[message]

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


Everything seems fine until I post and then nothing happens. Oh and I'm a total n00b, just a warning. ;)

Arrogant-One 07-08-2008 12:27 AM

<font face="Georgia">This sounds like a great little mod, but I am concerned about the extensive template changes.</font>

blind-eddie 07-10-2008 06:00 PM

Yes, this would be a very nice addon, but, with the changes going global, and changing all your old post to what you set in your usercp is not a good Idea at all. Thank you for sharing, but I have to click uninstall.

jjbushell 07-14-2008 12:40 AM

Hey, nice mod but I am having a problem.

I have all the options enabled in UCP but only 1 will actually show for some reason, here is the code I have

[phpcode]<!-- message -->
<div id="post_message_$post[postid]">
<!--Custom Font-->
<if condition="$post['field6'] OR $post['field7'] OR $post['field8'] OR $post['field9'] OR $post['field10'] OR $post['field11']">

<span style="font: $post[field6]px $post[field8]; color: $post[field7]; font-weight: $post[field9]; font-style: $post[field10]; text-decoration: $post[field17];">$post[message]</strong></span>

<else />
$post[message]

</if>
<!--/Custom Font-->
</div>
<!-- / message -->[/phpcode]

Thats the code for both postbit and postbit_legacy.

Thanks for any help mate.

littlegun 07-25-2008 07:30 PM

Hi, Thump up . This should be builtin in the Vb itself.

I pasted the code in the postbit as below, but still nothing changed when i change my font from the CP.
what you think might be the problem?

Thanks
Code:

<!-- message -->
                <div id="post_message_$post[postid]">
                <!--Custom Font-->
                <if condition="$post['field556'] OR $post['field557'] OR $post['field558'] OR $post['field559'] OR $post['field560'] OR $post['field561']">

                <span style="font: $post[field556]px $post[field557]; color: $post[field558]; font-weight: $post[field559]; font-style: $post[field560]; text-decoration: $post[field561];">$post[message]</strong></span>

                <else />
$post[message]

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


littlegun 07-25-2008 08:52 PM

Quote:

Originally Posted by blind-eddie (Post 1572103)
Yes, this would be a very nice addon, but, with the changes going global, and changing all your old post to what you set in your usercp is not a good Idea at all. Thank you for sharing, but I have to click uninstall.

me too...
sorry

SnapOff Racing 10-03-2008 03:50 PM

I've spent hours trying to get this to work. I got everything working except the font type. It just won't work for me and chooses the default font. What could be wrong?

Here's my code.

Code:

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

<span style="font: 15px font: $post[field6]; color: $post[field7]; font-weight: $post[field8]; font-style: $post[field9]; text-decoration: $post[field8];">$post[message]</strong></span>

<else />
$post[message]

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


ShawneyJ 10-13-2008 02:49 AM

Quote:

Originally Posted by ChU v2 (Post 1490813)
I've just downloaded the instructions and it says:

Code:

TEMPLATE EDIT:

FIND:
<!-- message -->
                <div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

REPLACE WITH:
                <!-- 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[field17];">$post[message]</strong></span>

<else />
$post[message]

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


the instructions kinda suck no offense


All times are GMT. The time now is 03:38 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.01159 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (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