vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Help with moderated posts styles (https://vborg.vbsupport.ru/showthread.php?t=212045)

wyc1552 04-24-2009 01:20 AM

Help with moderated posts styles
 
I came onto this project to help do some work with a new vbulletin forum, so I don't know too much about their past and what they might have done behind the scenes.

I'm trying to fix the background color of threads that need to be moderated. I see in the style section it has a section for it under inline moderation element highlight. But I have that set to yellow and they show up dark blue. In fact the only reason Im supposed to change is because by default its a pale yellow, but someone its blue.

Can anyone point me to where I might find what's causing it to be blue, basically what is overriding the template? Thanks!!

napy8gen 04-24-2009 02:39 AM

yes thats the pale yellow standard color in Inline Moderation Element Highlight.
Try to revert see what happen? is the style a child to a parent style?

Lynne 04-24-2009 02:40 AM

If you use firefox, get the firebug addon and you may select the box and see what css classes are affecting that box and which one is giving it that color. Otherwise, look in the page source and see what class it is and see what other classes are 'cascading' into it.

wyc1552 04-24-2009 03:45 AM

so the style applied is alt2. Except alt2 is used everywhere. So im thinking i either have to write an if condition for for alt2, if its alt2 and has an id starting with post_ then its a moderated thread? But i dont think i have that much freedom.

So my 2nd guess is that alt2 is being applied in a template, but im not sure how to find what template is telling it to have alt2

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

i found the alt2s that were causing the issue and changed them to a diff class. So i was able to make that class whatever I wanted now.


All times are GMT. The time now is 04:59 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.00931 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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