vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Allowing users to select default font / color in UserCP (https://vborg.vbsupport.ru/showthread.php?t=96357)

HHU 09-15-2005 09:46 PM

Allowing users to select default font / color in UserCP
 
Version: 3.07

Ok... what I'm trying to do is enable a drop down menu in the UserCP allowing individual users to select a default font and font color that their posts will be made in.

I have seen this on another board and I don't think it is too dificult to do I just am not the greatest in PHP Code.

If anybody is able to help that would be greatly appreciated.

Thanks

Forum - www.hiphop-universe.com

Chris M 09-15-2005 09:48 PM

You can do this via simple profile fields :)

Chris

HHU 09-15-2005 09:51 PM

CARE TO ELABORATE... IS IT REALLY A CASE OF JUST CREATING A STANDARD PROFILE FIELD, NAMING THE OPTIONS DIFFERENT COLORS / FONTS AND THATS THAT?

OR DO I NEED TO DO A STYLE / TEMPLATE EDIT?

BASING THAT OFF OF THIS THREAD HERE:

https://vborg.vbsupport.ru/showthrea...043#post774043

BUT I HAVE USHOP INSTALLED SO I DONT WANT TO DO THIS FOR USERNAMES SINCE THEY CAN BE PURCHASED.. JUST THE POSTING FONT

THANKS FOR THE QUICK REPLY CHRIS

Oops... sorry for the caps I guess the link turned anti-shouting off... at work so I do my typing in caps

Chris M 09-15-2005 10:05 PM

Using a drop-down box to control the colour would work - However you may wish to create a hack for this as using html such as:
HTML Code:

<font color="red">text</font>
is not technically valid code ;)

If you are not worried about HTML or XHTML validity then this method would be fine :)

Simpy having options such as:

Quote:

blue
red
green
yellow
orange
then using something like:
HTML Code:

<font color="$post[fieldX]">$post[message]</font>
(replacing X with the fieldid of the profile field) would work :)

Chris

Guest190829 09-15-2005 10:09 PM

I believe there is a hack/template mod that give instruction on how to do this. Try searching for it, and it may come up. If I find it I'll post it. :)

This could be what your looking for https://vborg.vbsupport.ru/showthrea...ighlight=fonts

Chris M 09-15-2005 10:13 PM

https://vborg.vbsupport.ru/showthrea...er+select+font

However it is a vB2 hack :(

Chris


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