vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Change link color only in post and/or cms articles (https://vborg.vbsupport.ru/showthread.php?t=259966)

AURFSCAN 03-23-2011 07:32 PM

Quote:

Originally Posted by iyama (Post 2176474)
I just find out that vb4 has already this option and more under stylevar>link ;)

link color-Undeline-aboveline-blink et cetera


forum wide yes...just for posts no

djbaxter 03-23-2011 10:23 PM

It also doesn't allow the option for bolding the link in the standard stylevar, which helps to highlight a link in certain styles.

wombycat 10-03-2011 05:20 AM

Quote:

Originally Posted by iyama (Post 2176474)
I just find out that vb4 has already this option and more under stylevar>link ;)

link color-Undeline-aboveline-blink et cetera

yeah that works in my forums but not on my cms. This mod worked perfectly on 4.1.6

BajaBoatOwners 10-27-2011 01:59 AM

I guess I'm not as knowledgeable about Vbulletin 4.0 as I thought. Where are you guys editing this? It won't let me edit where I thought I could.

FreakyG'sMom 01-16-2012 03:43 AM

Quote:

Originally Posted by BajaBoatOwners (Post 2261892)
I guess I'm not as knowledgeable about Vbulletin 4.0 as I thought. Where are you guys editing this? It won't let me edit where I thought I could.

Admin -> Cpanel -> Style Manager -> (pick skin template) -> Choose 'Edit Templates'

Find 'CSS Templates' in the list, double click it. Nested templates will appear underneath. Double click on 'Additional.CSS'

The editor will open up. Add the styles as suggested in the previous posts, then save.

For example:

Code:

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* THE FOLLOWING CONTROLS HOW A URL LINK LOOKS WITHIN A THREAD POSTING.                */
/* THE FIRST CONTROLS URL LINKS, THE SECOND URLS IN SIGNATURES                        */
/* THE FIRST TWO VARIABLES CONTROL HOW A LINK LOOKS BY DEFAULT. THE SECOND TWO  */
/* CONTROL HOW THOSE SAME TWO LINKS EACH LOOK WHEN HOVERED BY THE MOUSE POINTER */
/* Last Edited for Production on        01-15-12                                */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.postcontent a {
        color:#1E639D;
}
.signature a {
        color:#1E639D;
}
.postcontent a:hover {
color: red;
}
.signature a:hover {
color: red;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

You'll notice that I comment everything I add to the CSS. That way, I can reference my notes later, or others who edit afterwards can also follow.

Good luck :)

zeus_r6 01-18-2012 04:45 PM

Awesome! Used this mod to underline links in posts only as they aren't in my current style :)

xertox 01-19-2012 11:29 PM

Installed and rated. Nice work!

Killabee 01-22-2012 02:18 PM

thanks nice easy fix :)

Rabby 02-09-2012 09:19 AM

Thanks, installed and just working as expected :)
Rated!

CouponWCents 05-27-2012 11:43 PM

What about hyperlinks? This works great for whole links but not hyperlinks.


All times are GMT. The time now is 02:53 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.01012 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete