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

Reply
 
Thread Tools Display Modes
  #11  
Old 06-22-2009, 03:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's always best if you post what you did so we can help you fix it. You aren't going to learn as much if I just tell you exactly what to do.

Here is what I am talking about doing. I stated it in post 7 above:
HTML Code:
<td class="thead mycolor$forumid" >&nbsp;</td>
If you add that to the lines, you should then be able to go into your source code and see lines such as (Psychology Website Lounge):
HTML Code:
<td class="thead mycolor1" >&nbsp;</td>
and in the next section (Psychology Topics):
HTML Code:
<td class="thead mycolor5" >&nbsp;</td>
So looking at the source code shows you the classes you then need to define in your Main CSS - from above, you need to define .mycolor1 and .mycolor5
Reply With Quote
  #12  
Old 06-22-2009, 05:16 PM
j1mmy j1mmy is offline
 
Join Date: Feb 2006
Location: UK, England
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can see the lines such as Psychology Website Lounge etc in the source code. But that source code is based on the above template, forumbit_level1_nopost.

So in that template would I need to add that code 4 times (as there are 4 different forums?)

Also, how would I define this in the CSS? Would it be like

.mycolor1 {

color:#FFF

Also, above in your example, you haven't specified the forumid?

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

Any further suggestions?
Reply With Quote
  #13  
Old 06-23-2009, 04:17 AM
smartkidbk5 smartkidbk5 is offline
 
Join Date: May 2009
Location: NJ
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First Make Multiple Styles with different colors...then:

AdminCP>Forum Manager>Select Forum & Click Edit
Style Options: Select Style for the forum
Override Users' Style Choice: Yes
Reply With Quote
  #14  
Old 06-23-2009, 11:45 AM
j1mmy j1mmy is offline
 
Join Date: Feb 2006
Location: UK, England
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smartkidbk5 View Post
First Make Multiple Styles with different colors...then:

AdminCP>Forum Manager>Select Forum & Click Edit
Style Options: Select Style for the forum
Override Users' Style Choice: Yes
What I am trying to do is get the styles to display themselves all on the index page. Usually vB only allows one style to be shown on the home page, not multiple.
Reply With Quote
  #15  
Old 06-23-2009, 02:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by j1mmy View Post
I can see the lines such as Psychology Website Lounge etc in the source code. But that source code is based on the above template, forumbit_level1_nopost.

So in that template would I need to add that code 4 times (as there are 4 different forums?)

Also, how would I define this in the CSS? Would it be like

.mycolor1 {

color:#FFF

Also, above in your example, you haven't specified the forumid?

--------------- Added 22 Jun 2009 at 14:27 ---------------

Any further suggestions?
The forumid gets spit out with the code. That's why I told you to view your page source and get the colors that are spit out in it.

This may help with your css - http://www.w3schools.com/Css/pr_background-color.asp
Reply With Quote
  #16  
Old 06-24-2009, 12:01 PM
j1mmy j1mmy is offline
 
Join Date: Feb 2006
Location: UK, England
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well this is what the source is generating on my index, but no colors?

HTML Code:
<!-- BEGIN TEMPLATE: forumhome_forumbit_level1_nopost -->
<tbody>
	<tr>
		<td colspan="3"> 
                <!-- forcing space -->

                <img src="clear.gif" width="1" height="5" />
                </td>
        </tr>
</tbody>
<tbody>
	<tr>
		<td class="tcat" colspan="3">
			
			<a style="float:right" href="#top" onClick="return toggle_collapse('forumbit_1')"><img id="collapseimg_forumbit_1" src="images/fun/buttons/collapse_tcat.gif" alt="" border="0" /></a>
			
			<a href="forumdisplay.php?f=1">Psychology Website Lounge</a>

			
			
		</td>
	</tr>
</tbody>
<tbody>
	<tr align="center">
	  <td class="thead" >&nbsp;</td>
	  <td class="thead" width="100%" align="left">Forum</td>
	  <td class="thead" width="175">Last Post</td>
	  
	</tr>

</tbody>

<tbody id="collapseobj_forumbit_1" style="">
<!-- BEGIN TEMPLATE: forumhome_forumbit_level2_post -->
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 08:38 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.04571 seconds
  • Memory Usage 2,223KB
  • Queries Executed 11 (?)
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_html
  • (2)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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete