vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Letting Users Change Colour of Custom Titles (https://vborg.vbsupport.ru/showthread.php?t=38347)

White Chocobo 05-07-2002 03:40 AM

Letting Users Change Colour of Custom Titles
 
Is this possible? Cause HTML doesn't work with it. And you can't use UBB codes to change it either. Is there a way? Cause editing it through my Admin CP is a pain in the ass.

Dean C 05-07-2002 06:16 PM

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 har)

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

l8er

michealo 07-02-2002 09:33 PM

im also very interested in this
created the custom profile field, but got lost after that

any idea?

**
ooops, found this thread during a search to change color of user titles and didnt realize how old it was :)

Overlord 07-03-2002 01:38 PM

If anyone is wondering. To find out your profile field number, click on Profile Fields, then the one you want, right click it and click Properties. The adress shown should have the number at the end of it.

This method is the same one you use for the glowing username hack, should work no problems.


All times are GMT. The time now is 12:31 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.01036 seconds
  • Memory Usage 1,708KB
  • 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)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