Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2016, 12:14 AM
brobert123 brobert123 is offline
 
Join Date: Nov 2014
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help locating settings for ministats box in user profile

I added a new style using the black style generator theme. The ministats box on the user profile page shows white text on white background and I can't find the settings to change background color. Can someone point me to the setting?

It looks like this now:



If I highlight the text box you can see the text is there:



I see the settings if I inspect element and if I change the settings it does change, just can't find the setting in the admincp or styles section in the admincp.



Reply With Quote
  #2  
Old 03-15-2016, 01:28 PM
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Location: www.webmastersun.com
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to provide an URL so that everyone can help you change which you want

Also note things need to be editted on screenshots are better.
Reply With Quote
  #3  
Old 03-15-2016, 02:56 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some times it is better to give a url.
Any way, find: in template "userprofile.css"
PHP Code:
dl.stats dt#sidebar_container dl.stats, #sidebar_container .blockbody.userprof_content, #sidebar_container 
there is more code after but never mind,

underneath you will see this code
PHP Code:
color: {vb:raw content_text_color}; 
change with
PHP Code:
colorblack
or what else color you want.

There is another way, but this should be ok.
Reply With Quote
  #4  
Old 03-15-2016, 03:14 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No don't do the change that way. Change the stylevar content_text_color to be whatever color you want. It's always better not to edit templates if at all possible.
Reply With Quote
Благодарность от:
In Omnibus
  #5  
Old 03-15-2016, 06:00 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
There is another way, but this should be ok.
Sorry but its not ok, at all.

Its a stylevar, and as such should have its stylevar value changed.

Changing it directly to a hard coded value is Im afraid, bad advice.
Reply With Quote
Благодарность от:
In Omnibus
  #6  
Old 03-15-2016, 06:08 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes you are right about this, the only problem is that this specific change to stylevar does not exist in all skins. Hope in his will find it.
Reply With Quote
  #7  
Old 03-15-2016, 06:29 PM
brobert123 brobert123 is offline
 
Join Date: Nov 2014
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the responses guys.... that's the problem, I can't locate the style variable in the CP. Stupid I know but I've looked everywhere.

Reply With Quote
  #8  
Old 03-15-2016, 06:53 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change the color attribute of the postbit_color stylevar. The profile pages are a bit weird because it allows css customization by the user.
Reply With Quote
Благодарность от:
MarkFL
  #9  
Old 03-15-2016, 07:14 PM
brobert123 brobert123 is offline
 
Join Date: Nov 2014
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No joy... changed it to black and the ministats window didn't change, still white text on white background.



Whatever it is, it's in here.... I suck at this stuff as it is but I'm racking my brain looking for this.





Reply With Quote
  #10  
Old 03-15-2016, 08:38 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try in css template, put this code at the end
PHP Code:
 /***** Change color in user profile sidebar *****/
dl.stats dt#sidebar_container dl.stats, #sidebar_container, #sidebar_container .userprof_content .time {
color:#ECEC3B;

I think this will make the change you want make a test.
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 12:36 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.06321 seconds
  • Memory Usage 2,267KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete