vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   looking to allow users to change thier own title color (https://vborg.vbsupport.ru/showthread.php?t=40577)

michealo 07-03-2002 12:06 AM

looking to allow users to change thier own title color
 
i did several searches and didnt see anyhing related to this

thru control panel, my users can change thier user title to thier hearts content, but thier raving to be able to change the color

i used to do it myself with HTML in the control panel, but its a pain in the behind to keep doing it constantly

does a hack exist for this?

thank you for any assistance

michealo 07-03-2002 11:55 AM

34 views and zero replies?

anyways, i figured it out with some help from an old post that had a reply from a member named Mist

Quote:

make a custom profile field which can only be 7 character long for the input...

Call it Custom Title Color

In that field they can type the hex of the color they want the title to be...

then find out what profile field it is (can't remember how to do it but its not hard)

then in ure postbit template find this bit:

$post[usertitle]

then change that to:

<font color="$post[fieldx]">$post[usertitle]</font>

instead of the "x" in "fieldx" insert the number of the profile field..

i have not tested this but it should work... however it will only work on ure postbit templates...
you can find the field number by clicking on modify while in profile area then looking at address bar at top of browser . mine was (action=edit&profilefieldid=5)

everything else is self-explanetory
thanks Mist

Dean C 07-03-2002 04:01 PM

huh ? lol - what have i done?

michealo 07-03-2002 04:17 PM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=38347" target="_blank">https://vborg.vbsupport.ru/showt...threadid=38347</a>

you somewhat answered my question months before i asked it


All times are GMT. The time now is 07:09 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.01032 seconds
  • Memory Usage 1,714KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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