vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Automatic Post Coloring (https://vborg.vbsupport.ru/showthread.php?t=32104)

Ed FvC 11-09-2001 11:49 PM

Quote:

Originally posted by Reeve of shinra
You can actually change it to font face very easilly by repeating the same steps and changing the surrounding tags in the hack part. You will see what I mean....
Yeah, but I'm lazy. ;) I just figured it'd be good for the next version (if you plan on updating). Thanks again for a nice hack.

Palmer ofShinra 11-10-2001 10:44 AM

Well, i'm glad to see people like this... it sat here for several days with no one relpying or installing it...

Yeah, it's pretty simpistic, but it's nice and people like it.

One of our members had fun annoying everyone... our table colors are #222222 and #333333

He used this and set it to #222222 so you could barely read what he wrote... or not at all!

For font... it's just the same. Just change all occurances of the word color to font...

It should be easy if you read the code.

The Realist 11-10-2001 11:35 AM

Works great on version 2.2.0 as well.

:)

Dalius 03-01-2002 09:59 PM

2.2.2 version please!

Austin Dea 03-01-2002 10:39 PM

erm....is it just me or does this hack seem way too involved....all i did was:

-added the profile field 'Color'

And in the postbit template, I replaced this
Code:

<p><normalfont>$post[message]</normalfont></p>
with
Code:

<p><normalfont><FONT COLOR="$post[field5]">$post[message]</font></normalfont></p>
of course, the [field5] should be changed to whatever that field # is..

Did I miss something, does this hack do something different?


and this should work on any version....i don't see any reason why not...

OldManWillow 03-02-2002 12:47 PM

AD your hack worked for me just fine thanks!

Austin Dea 03-03-2002 12:55 AM

w00t...:P

Zedd 04-05-2002 02:51 AM

that was easy! thanks

inetd 05-04-2002 05:56 AM

Palmer ofShinra, please add color bar for color choice. ;) It's be very cool!

Example here

Unknown553 05-04-2002 06:50 PM

Quote:

Originally posted by Austin Dea
erm....is it just me or does this hack seem way too involved....all i did was:

-added the profile field 'Color'

And in the postbit template, I replaced this
Code:

<p><normalfont>$post[message]</normalfont></p>
with
Code:

<p><normalfont><FONT COLOR="$post[field5]">$post[message]</normalfont></p>
of course, the [field5] should be changed to whatever that field # is..

Did I miss something, does this hack do something different?


and this should work on any version....i don't see any reason why not...

Even that is too involed....you can just use
Code:

<p><normalfont color="$post[field5]">$post[message]</normalfont></p>
No need for two <font> tags.


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