vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Release] Change Post Color (https://vborg.vbsupport.ru/showthread.php?t=83555)

SaintDog 06-03-2002 10:00 PM

[Release] Change Post Color
 
Author: Xanthine

Description: This will teach you how to allow your users to change the post color they use in their posts. If a user wishes to choose to use their own color, they must choose a 6 character hex code (ie: FFFFFF would be white, 000000 would be black - the # is automatic) afterwhich, their post colors will be the chosen color.

corsacrazy 06-24-2002 11:31 AM

Note: if you have already created a custom field then the colour field will be another number other than $post[field5] it will be 6 if you have created one custom field 7 if you have created 2 custom fields and so on ...

hellsatan 06-29-2002 10:41 PM

Sweet:)

Satan

imported_sctsnipe 07-10-2002 04:37 AM

...im having problems with it, all the text comes out black. im using the excat settings as in the text file. but not working...know why?

SaintDog 07-10-2002 04:44 AM

Did you use $post[field5] or did you use your own settings? The variable set in the tutorial is not global (meaning $post[field5] will not work for everyone, it could be $post[field6] or something other).

To check things, go to the custom profile fields section and hover over the "edit" link, the number on the end should be replaced with the "5" in $post[field5].

imported_sctsnipe 07-10-2002 05:16 AM

ok i checked that out. i have it right, mines 4, it says 4, still doesnt work

SaintDog 07-10-2002 05:24 AM

Things work just fine for me (tested on my test board), have you edited your profile yet? You will need to edit your profile and enter a 6 digit HEX code (otherwise black will be used).

User CP > Edit Profile > Post Color

imported_sctsnipe 07-10-2002 06:58 AM

is it possible to change the default, cause i dont want everyone to have black

assassingod 08-02-2002 10:37 AM

Quote:

Originally posted by sctsnipe
is it possible to change the default, cause i dont want everyone to have black

Same here, I havent found a way around it yet:rolleyes:


All times are GMT. The time now is 06:21 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.01404 seconds
  • Memory Usage 1,720KB
  • 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
  • (9)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