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

yoksito 03-03-2008 07:35 PM

example for color of usernames:

go to: usergroups -> usergroups manager -> choce a title -> Username HTML Markup, in text box1: <span style='color:red' font:'bold'> and text box2 </span>

and done

TCE Killa 03-03-2008 09:44 PM

Quote:

Originally Posted by yoksito (Post 1456198)
example for color of usernames:

go to: usergroups -> usergroups manager -> choce a title -> Username HTML Markup, in text box1: <span style='color:red' font:'bold'> and text box2 </span>

and done

All that does is gives usergroups a colour. Doesn't let them choose their own color.

This is how you let them choose their own username color and font:

PHP Code:

 <class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">
    <if 
condition="$post['field14'] != '' ">
<
font style="font-family:$post[field28]; color:$post[field14];">$post[username]</font>
    <else />
<if 
condition="$post['field27']"><span style="font-weight: bold; $post[field27]">$post[username]</span><else />
$post[musername]
</if></if></
a

What I would like to know is, if it is possible like on the default selective font & color on posts, to have that for the username font and color. Instead of just a box, use a drop down list of fonts and colors.

Chachacha 03-04-2008 01:42 AM

Is there any way you can make this work in quotes?

leannet 03-04-2008 10:03 AM

Can I add a default size aswell, because all the posts are now showing up tiny.

leannet 03-04-2008 10:09 AM

Please dis-regard my last post I made my own code and it worked.

Chachacha 03-12-2008 05:04 AM

Quote:

Originally Posted by Chachacha (Post 1456408)
Is there any way you can make this work in quotes?

Judging by the lack of a reply, I'm guessing that the answer is NO.

Shaheen 03-12-2008 08:37 PM

thanks .. works Great waiting for font size update ;)

Baldilocks 03-14-2008 03:15 AM

Would be nice if you could choose the default color too...especially if you havea lot of skins.

mystic10 03-16-2008 07:29 PM

this is what i put in my postbit and postlegacy but still not working dont know why..can someone tell me what i am doing wrong
<!-- message -->
<font COLOR="$post[field16]" face="$post[field17]">

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

</font>

<!-- / message -->

jellybaby 03-20-2008 08:00 AM

Edit: I have this working now.


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