vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Users Choose Username Font/Color Posts (https://vborg.vbsupport.ru/showthread.php?t=93099)

john1744 08-04-2005 03:20 PM

Any updates?

jesus likes pie 08-06-2005 09:06 PM

this would be really good. Excellent idea but I wont use it since we resrve different/special colors for staff only.

I'll get the font color one though!

Bubble #5 08-18-2005 09:48 PM

Quote:

Originally Posted by gio~logist
So then i suppose you expect me to try and guess what color each admin of a forum has set each usergroup to so that then i can determind what to put int he drop down?

Of course not, but you could have a place where the admin could enter in the colors that are excluded, and the hack would then ignore those colors, or even make it easy for the admin to add the colors available themselves, and then just those colors would be available in the drop down list. As long as members can duplicate admin and mod colors the hack is useless, and defeats a basic vB feature.

Kirk Y 08-19-2005 02:12 AM

Quote:

Originally Posted by Bubble #5
Of course not, but you could have a place where the admin could enter in the colors that are excluded, and the hack would then ignore those colors, or even make it easy for the admin to add the colors available themselves, and then just those colors would be available in the drop down list. As long as members can duplicate admin and mod colors the hack is useless, and defeats a basic vB feature.

Just what I was thinking: if you could somehow specify a banned or black-list of color vars, then I'd totally install this hack.

john1744 08-19-2005 02:25 AM

Yeah that would be awesome, cause right now I have a user who is a ghost. IE: his username is the same as the background of the forum.

Bubble #5 08-19-2005 02:44 AM

Quote:

Originally Posted by john1744
right now I have a user who is a ghost. IE: his username is the same as the background of the forum.

Hehehe.... sorry, didn't mean to laugh, but that is funny (and part of the reason why I won't use this hack as it stands) :surprised:

fly 09-04-2005 08:12 PM

I use postbit_legacy and $post[musername] appears twice (unless I have it in there twice from some other hack...). I'll figure it out, but you may want to update the instructions...

Gio~Logist 09-05-2005 07:16 AM

[high]Exclude Certain Colors Add-On[/high]


Change
HTML Code:

<if condition="$post['fieldx'] != '' ">
<font style="color:$post[fieldx]">$post[musername]</font>
        <else />
$post[musername]
</if>

To

HTML Code:

<if condition="$post['fieldx'] != '' ">

<if condition="$post['fieldx'] == 'COLORCODE1' OR $post['fieldx'] == 'COLORCODE2' OR $post['fieldx'] == 'COLORCODE3' OR $post['fieldx'] == 'COLORCODE4'  ">

<else />
<font style="font-family:$post[fieldx]">$post[musername]</font>
</if>

        <else />
$post[musername]
</if>

Replace COLORCODE1, COLORCODE2, ETC. with the codes you want to excluce.

john1744 09-06-2005 06:24 AM

Simply awesome thanks tons gio~logist

NuclioN 10-10-2005 10:15 AM

How to use this just for the online colors on forumhome??


All times are GMT. The time now is 01:52 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.01197 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_html_printable
  • (3)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