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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2010, 11:18 PM
MrHorror MrHorror is offline
 
Join Date: Nov 2010
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Thread links vs index links

Is there any way to keep the links on the index page one particular hex code color, and make the links of threads ONLY, a different hex code color?
Reply With Quote
  #2  
Old 12-29-2010, 11:20 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure, you can write some css to do that. Look in the page source and get the class for what you want to change, and just write some CSS to change the color for that class.
Reply With Quote
  #3  
Old 12-31-2010, 12:49 AM
MrHorror MrHorror is offline
 
Join Date: Nov 2010
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks but I'm gonna need a bit more information on how to do this. Like which thread template should I edit, and what css should I add there?
Reply With Quote
  #4  
Old 12-31-2010, 01:00 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrHorror View Post
Thanks but I'm gonna need a bit more information on how to do this. Like which thread template should I edit, and what css should I add there?
First you need to do as Lynne suggested and look at the source code of the page. Find the classes of the links you want to change. You can figure out which templates they are by enabling Admin CP ? vBulletin Options ? vBulletin Options ? General Settings ? Add Template Name in HTML Comments. Then each template will be marked at where they start and end.

If you don't know much about CSS, you'll need to research that on your own. It's not terribly hard to learn, but it's more involved then can be described here and it's going to be up to you how you want it to look.
Reply With Quote
  #5  
Old 12-31-2010, 03:17 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you need more help, you need to provide a lot more detail - like a link to the page you want to change things, an image showing what you want to change, and tell us exactly how you want to change it. If you give us a general question, you are going to get a very general answer. If you are most specific, you will get a more specific answer.
Reply With Quote
  #6  
Old 12-31-2010, 04:23 AM
MrHorror MrHorror is offline
 
Join Date: Nov 2010
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay let me try and be more specific.


Here's a link to the dvd forum on my board...http://hmandsforums.oliwy.net/forums...splay.php?f=28


Now if you leave this forum, and go onto the index page you'll see I have my links colored #cc0000 hex code. All of them are this color. What I wanna do is change the color of links for each board. So for example...when someone enters the forums landing page, they'll see all the links to each forum in #cc0000 (dark red) hex code color, as it is currently. But when they enter a board, the links to each thread would be colored #ff3300 (red). That's all I wanna do. I want all of the thread links on my board a different color from the forum links on the landing page.

Kind of like you guys have all of your links on this board blue currently? But if you were to choose to have ONLY the links to each board on your landing page blue. But once someone leaves the landing page and would enter the vb3 forum for example, the thread links there would be yellow, red, green, or whatever.
Reply With Quote
  #7  
Old 12-31-2010, 04:35 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A simpler solution would be to just create a child style to your current style. Change the color for links on the child style. Then set whatever boards you want to have those link colors as a the default style for those subforums in the Forum Manager.
Reply With Quote
  #8  
Old 12-31-2010, 06:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps something like:
HTML Code:
#threadslist a {color: pink;}
Unfortunately, vb3 has no class assigned to just the thread titles, so if you only want to do them, you'll have to add a class to the link and then define the class.
Reply With Quote
  #9  
Old 12-31-2010, 06:43 PM
MrHorror MrHorror is offline
 
Join Date: Nov 2010
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Perhaps something like:
HTML Code:
#threadslist a {color: pink;}
Unfortunately, vb3 has no class assigned to just the thread titles, so if you only want to do them, you'll have to add a class to the link and then define the class.
How would I add a class to the link and where would I go to find the class of threads specifically?

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

Quote:
Originally Posted by Digital Jedi View Post
A simpler solution would be to just create a child style to your current style. Change the color for links on the child style. Then set whatever boards you want to have those link colors as a the default style for those subforums in the Forum Manager.
I tried that, worked but my sidebar doesn't appear with the child style for some reason.
Reply With Quote
  #10  
Old 12-31-2010, 07:25 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrHorror View Post
How would I add a class to the link and where would I go to find the class of threads specifically?
You would look at the source code of your page and look at a link. Like I said, for CSS, you'll need to do some research into how CSS works. Then you'll immediately know where to look and how to implement it using vBulletin's extra CSS options.

Quote:
I tried that, worked but my sidebar doesn't appear with the child style for some reason.
Is your side bar a modification or a template edit?
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 01:18 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.05137 seconds
  • Memory Usage 2,257KB
  • 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
  • (2)bbcode_html
  • (5)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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_postinfo_query
  • fetch_postinfo
  • 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