Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Default,size,color for postbit_legacy Details »»
Default,size,color for postbit_legacy
Version: 1.00, by Mr.David Mr.David is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.x Rating:
Released: 03-20-2010 Last Update: Never Installs: 7
Template Edits
Translations  
No support by the author.

Hello, today I'll explain how to insert DEFAULT, SIZE, COLOR
We begin to create 2 fields User Profile
and set it this way:

Here you see the font color, after serving the font, and size.
Obviously we follow the usual steps and replace the colors with the characters and then the size for a 7, I write about what to put so as to save the work
Font Color
Code:
Black                      
Blue
Green
Red
Pink
Orange
Purple
DarkRed
Gray
Character Post
Code:
Arial
Arial Black
Arial Narrow
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Fixedsys
Franklin Gothic Medium
Garamond
Georgia
Impact
Lucida Console
Microsoft Sans Serif
Palatino Linotype
System
Tahoma
Times New Roman
Trebuchet MS
Verdana
Font Size
Code:
1
2
3
4
5
6
7
Well after we take the Field

Now we go in postbit_lecagy (Only if you use the Vision Vertical Profile)
or otherwise in postibit (Only if you use the horizontal view)
Wanted:
HTML Code:
{vb:raw post.message}
E Sostituiamolo con questo:
HTML Code:
<font color="{vb:raw post.fieldcolore}" face="{vb:raw post.fieldcarattere}" size="{vb:raw post.fielddimensioni}"> {vb:raw post.message}</font>
In the Field Color, Size, Face put what you have taken, we're done now enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-28-2010, 06:36 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COL NIL SATIS View Post
E Sostituiamolo con questo:

HTML Code:
<font color="{vb:raw post.fieldcolore}" face="{vb:raw post.fieldcarattere}" size="{vb:raw post.fielddimensioni}"> {vb:raw post.message}</font>In the Field Color, Size, Face put what you have taken, we're done now enjoy


Where does this code go ?????? i thought this was an English speaking forum???
He explains in the post that it goes in postbit legacy template. Just do a search to find the correct place to put the code.
Reply With Quote
  #13  
Old 03-29-2010, 12:30 AM
syrn's Avatar
syrn syrn is offline
 
Join Date: Mar 2010
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Destron View Post
Man it's not so difficult to change the code that he provided, and the information he gave is great. Installed and tagged for later too.
thanx for reply, i put the code postbit_legacy , but nothing happen !!
plz after put the code , what we do ?? sorry i am new
Reply With Quote
  #14  
Old 03-29-2010, 03:39 AM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having the same exact problem. I installed it as he said, as best I understood since I do not speak spanish.

I went to my UserCP and changed my settings for a new font and size and I see no results when I post a new post.

It is hard to understand exactly what this is supposed to do as it is in spanish. If this is supposed to change your default font, size and color in your posts, should we not be editing templates for the blog and cms as well?
Reply With Quote
  #15  
Old 03-29-2010, 05:20 AM
syrn's Avatar
syrn syrn is offline
 
Join Date: Mar 2010
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is the meaning of = E Sostituiamolo con questo: ???
Reply With Quote
  #16  
Old 03-30-2010, 02:47 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any answer to my problem?
Reply With Quote
  #17  
Old 03-31-2010, 03:30 AM
Maledetto Maledetto is offline
 
Join Date: Jan 2010
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by syrn View Post
what is the meaning of = E Sostituiamolo con questo: ???
"replace it with this"
Reply With Quote
  #18  
Old 04-08-2010, 02:27 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any answer to my question?
Reply With Quote
  #19  
Old 04-09-2016, 08:37 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works on 4.2.3 but it changes every post I have ever made on our forum. For example I go and change font color from black to red. Now every post of mine has now changed to red.

Is it possible to just have the change (font color, size) made to new posts?

Or does anyone know of another mod that would work where the changes would just work with new posts you make?
Reply With Quote
  #20  
Old 04-09-2016, 09:07 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kylek View Post
This works on 4.2.3 but it changes every post I have ever made on our forum. For example I go and change font color from black to red. Now every post of mine has now changed to red.

Is it possible to just have the change (font color, size) made to new posts?

Or does anyone know of another mod that would work where the changes would just work with new posts you make?
If you change your template, or add CSS, then it will affect all posts...in order to only affect new posts you would have to use a plugin to check the dateline of posts and only have code added if the dateline is greater than some value you specify.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 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.04757 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete