Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Release] Change Post Color Details »»
[Release] Change Post Color
Version: 1.00, by SaintDog SaintDog is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-03-2002 Last Update: Never Installs: 1
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-24-2002, 11:31 AM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ...
Reply With Quote
  #3  
Old 06-29-2002, 10:41 PM
hellsatan's Avatar
hellsatan hellsatan is offline
 
Join Date: Jun 2002
Location: Northampton, England
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet

Satan
Reply With Quote
  #4  
Old 07-10-2002, 04:37 AM
imported_sctsnipe imported_sctsnipe is offline
 
Join Date: Jul 2002
Location: Coral Springs, FL
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...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?
Reply With Quote
  #5  
Old 07-10-2002, 04:44 AM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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].
Reply With Quote
  #6  
Old 07-10-2002, 05:16 AM
imported_sctsnipe imported_sctsnipe is offline
 
Join Date: Jul 2002
Location: Coral Springs, FL
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i checked that out. i have it right, mines 4, it says 4, still doesnt work
Reply With Quote
  #7  
Old 07-10-2002, 05:24 AM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 07-10-2002, 06:58 AM
imported_sctsnipe imported_sctsnipe is offline
 
Join Date: Jul 2002
Location: Coral Springs, FL
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to change the default, cause i dont want everyone to have black
Reply With Quote
  #9  
Old 08-02-2002, 10:37 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04676 seconds
  • Memory Usage 2,276KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete