vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Help locating settings for ministats box in user profile (https://vborg.vbsupport.ru/showthread.php?t=322115)

brobert123 03-15-2016 12:14 AM

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:

https://vborg.vbsupport.ru/external/2016/03/14.png

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

https://vborg.vbsupport.ru/external/2016/03/15.png

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.

https://vborg.vbsupport.ru/external/2016/03/16.png

https://vborg.vbsupport.ru/external/2016/03/17.png

webmastersun 03-15-2016 01:28 PM

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.

Stratis 03-15-2016 02:56 PM

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.

squidsk 03-15-2016 03:14 PM

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.

Paul M 03-15-2016 06:00 PM

Quote:

Originally Posted by Stratis (Post 2567273)
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.

Stratis 03-15-2016 06:08 PM

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.

brobert123 03-15-2016 06:29 PM

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.

https://vborg.vbsupport.ru/external/2016/03/13.png

squidsk 03-15-2016 06:53 PM

Change the color attribute of the postbit_color stylevar. The profile pages are a bit weird because it allows css customization by the user.

brobert123 03-15-2016 07:14 PM

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

https://vborg.vbsupport.ru/external/2016/03/10.png

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

https://vborg.vbsupport.ru/external/2016/03/11.png



https://vborg.vbsupport.ru/external/2016/03/12.png

Stratis 03-15-2016 08:38 PM

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.

squidsk 03-15-2016 08:40 PM

Code:

                'content_text_color' => self::$stylevars['postbit_color']['color'],
                'content_link_color' => self::$stylevars['link_color']['color'],
                'content_background_color' => self::$stylevars['postbit_lite_background']['color'],
                'content_background_image' => self::$stylevars['postbit_lite_background']['image'],
                'content_background_repeat' => self::cleanRepeat(self::$stylevars['postbit_lite_background']['repeat']),
                'content_border' => self::$stylevars['postbit_lite_background']['color'],

Sorry, I posted the wrong stylevar to change. I can't follow text from left to right. I've updated my last post and highlighted the relevant part of the code in profilecustomize.php. You really want to change the color attribute of the postbit_color stylevar.

--------------- Added [DATE]1458078162[/DATE] at [TIME]1458078162[/TIME] ---------------

Quote:

Originally Posted by Stratis (Post 2567319)
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.

Why do you keep insisting on having bad changes made. The value is a stylevar, it should be changed as a stylevar. Do not edit templates unless absolutely necessary.

napy8gen 03-20-2016 03:08 AM

vb4 style generator - black styles may not complete here and there, the small icons are not created for black styles.

You can try my free black styles
http://www.sultantheme.com/2012/01/0...tyles/?did=169


All times are GMT. The time now is 07:13 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.01138 seconds
  • Memory Usage 1,753KB
  • 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_code_printable
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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