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 06-19-2010, 04:57 PM
ArchAngelz ArchAngelz is offline
 
Join Date: May 2010
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Colours of Links

Hi there,

I'm trying to change the colour of links appearing within forum posts and articles to be changed to blue and underlined.

However, when I change StyleVar link_color or link_textDecoration, it affects every single thing that is a link, including forum listings, thread listings, user names etc.

Is there a StyleVar to change such that it only affects links appearing within forum posts and articles?

In this thread, someone has helped with forum posts, but there's no solutions for articles yet. If someone could help that would be great;

http://www.vbulletin.com/forum/showt...64#post1984364
Reply With Quote
  #2  
Old 06-19-2010, 05:48 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I can help you thanks to Lynne on the color but I can't on making them auto underline. Put this is you additional.css template:

Code:
/* change link color in article and preview */
.vbcms_content .postcontainer a {color:blue;}
/* change link color in posts */
.postcontent a {color:blue;}
I have this at the end of the template but I don't think it matters?
Reply With Quote
  #3  
Old 06-20-2010, 01:59 AM
ArchAngelz ArchAngelz is offline
 
Join Date: May 2010
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, your code helped me figure out the equivalent statement for the cms, namely .vbcms_content .postcontaner. Combined with the earlier answer, I fixed the issue.

If you want your links underlined, add the following into your additional css statements: text-decoration: underline
Reply With Quote
  #4  
Old 06-20-2010, 02:19 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add that under .postcontent a {color:blue;}

Right?
Reply With Quote
  #5  
Old 06-20-2010, 06:20 AM
ArchAngelz ArchAngelz is offline
 
Join Date: May 2010
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For your case, you can try:

/* change link color in article and preview */
.vbcms_content .postcontainer a {color:blue;text-decoration: underline;}
/* change link color in posts */
.postcontent a {color:blue;text-decoration: underline;}

By the way, can I ask how you become a "Designer" in vbulletin.org?
Reply With Quote
  #6  
Old 06-20-2010, 02:21 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No I was asking since it seemed you knew the answer and this would be a great addition to the current. Thanks for the info as well. FYI I didn't know you were a designer
Reply With Quote
  #7  
Old 06-20-2010, 02:39 PM
ArchAngelz ArchAngelz is offline
 
Join Date: May 2010
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup we worked together to come up with the answer; you had the vbcms parameter and I had the underlined fix; so together we helped each other get what we want.

As for the designer bit, I was hoping to get started on something since I saw the progress ranks graphic wasn't supported anymore so I thought I can try it out since I was already helping and answering requests on the original thread.

Not quite sure how to start though; since you are already a Designer, could you share how you did it?

Quote:
Originally Posted by Charlie98902 View Post
No I was asking since it seemed you knew the answer and this would be a great addition to the current. Thanks for the info as well. FYI I didn't know you were a designer
Reply With Quote
  #8  
Old 06-20-2010, 02:52 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again as that did the trick. Did I say "Not quite sure how to start though; since you are already a Designer, could you share how you did it?"? I didn't see it here and don't really recall saying such
Reply With Quote
  #9  
Old 06-20-2010, 03:35 PM
ArchAngelz ArchAngelz is offline
 
Join Date: May 2010
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I meant was I have noted that you have the tag "Designer" under your user id, and I presume that is because you have shared certain graphic mods or the like.



I'm not quite sure how the designer/coder/contributor system works here and was asking you for some help as I see that you are already a Designer as evident from your user title; hence I presume that you must know how the system works.

If I am wrong and you have no idea how you got a user title of Designer, then let me know.

Quote:
Originally Posted by Charlie98902 View Post
Thanks again as that did the trick. Did I say "Not quite sure how to start though; since you are already a Designer, could you share how you did it?"? I didn't see it here and don't really recall saying such
Reply With Quote
  #10  
Old 06-20-2010, 04:39 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh sorry I threw in a mod for 3.x and 4.x but not sure how I got it to be honest. Paul M or Lynne may be able to answer that though. Maybe post count?
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 11:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08276 seconds
  • Memory Usage 2,252KB
  • 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
  • (1)bbcode_code
  • (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
  • (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_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