vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Default,size,color for postbit_legacy (https://vborg.vbsupport.ru/showthread.php?t=238770)

Mr.David 03-20-2010 10:00 PM

Default,size,color for postbit_legacy
 
1 Attachment(s)
Hello, today I'll explain how to insert DEFAULT, SIZE, COLOR
We begin to create 2 fields User Profile
and set it this way:
https://vborg.vbsupport.ru/external/2010/03/24.jpg
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
https://vborg.vbsupport.ru/external/2010/03/25.jpg
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 :D

Juggernaut 03-21-2010 06:57 PM

This looks like what I'm looking for :D

Juggernaut 03-21-2010 07:31 PM

Just what I needed :D

zonaenlinea 03-21-2010 08:04 PM

Thank prefect

Dr.osamA 03-24-2010 01:04 AM

thanxxx

installed

Casmos 03-24-2010 11:38 PM

It would be nice if it was in english so we all can share...

SpaceStar 03-25-2010 10:27 PM

Installed and works fine - but not a good way of explaining. It SHOULD be in ENGLISH!!!!!

COL NIL SATIS 03-26-2010 07:26 PM

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???

syrn 03-28-2010 05:45 AM

can some 1 enplane please , ??

Juggernaut 03-28-2010 06:34 AM

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. :D

Juggernaut 03-28-2010 06:36 AM

Quote:

Originally Posted by COL NIL SATIS (Post 2010743)
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. :D

syrn 03-29-2010 12:30 AM

Quote:

Originally Posted by Destron (Post 2011457)
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. :D

thanx for reply, i put the code postbit_legacy , but nothing happen !!
plz after put the code , what we do ?? sorry i am new

justasiam 03-29-2010 03:39 AM

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?

syrn 03-29-2010 05:20 AM

what is the meaning of = E Sostituiamolo con questo: ???

justasiam 03-30-2010 02:47 PM

Is there any answer to my problem?

Maledetto 03-31-2010 03:30 AM

Quote:

Originally Posted by syrn (Post 2012060)
what is the meaning of = E Sostituiamolo con questo: ???

"replace it with this"

justasiam 04-08-2010 02:27 PM

Is there any answer to my question?

kylek 04-09-2016 08:37 PM

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?

MarkFL 04-09-2016 09:07 PM

Quote:

Originally Posted by kylek (Post 2568711)
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.


All times are GMT. The time now is 04:54 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.01108 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete