vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   New Posting Features - Showthread: Posted Hyperlink Colour (https://vborg.vbsupport.ru/showthread.php?t=171785)

princeedward 02-29-2008 10:00 PM

Showthread: Posted Hyperlink Colour
 

Showthread: Posted Hyperlink Colour
(All vB v3.6 Compatible )



Description:

Easy And Visible Posted Live Hyperlink Colour To Any Dark/Black Background Forum Showthread Pages:
(without affecting all the colour of the forum link's buttons)


Procedures:

  • Admin CP > Styles & Templates > Style Manager > Main CSS (in the dropdown menu) > Additional CSS Definitions (below)

  • Download Text File Below; Find The Code And Add To Your Additional CSS For The Theme (below):

  • Click Save

  • Pick Easy For Your Desired Color Here!



Edit Postbit Or Postbit Legacy:

Admin CP > Styles & Templates > Style Manager > ? ? > Postbit Templates > postbit or postbit_legacy (depending on which layout you are using)


Open:
postbit or postbit_legacy Template.


FIND:

Code:

<div id="post_message_$post[postid]">$post[message]</div>

REPLACE WITH:

Code:

<div id="post_message_$post[postid]" class="post">$post[message]</div>

CLICK SAVE!


Hope You Like It And Find This Useful To Your Website!
If You Use This Mod; Please Don't Forget To:
  • Click "Mark as Installed"
  • Leave Any Comment
  • Rate
  • Nominate



Thanks And Best Regards To All!

princeedward 03-01-2008 09:01 AM

RESERVED!

Baldilocks 03-04-2008 12:32 PM

Good job. Now if I could get one that worked for my lighter background skins. :)

princeedward 03-05-2008 02:19 AM

Quote:

Originally Posted by Baldilocks (Post 1456719)
Good job. Now if I could get one that worked for my lighter background skins. :)

thanks....hope it works good also to your forum...:p

yeku 05-10-2008 01:21 PM

Reserved

Baldilocks 05-27-2008 11:37 PM

I am really hoping this works on 3.7.0 !!

Baldilocks 05-28-2008 08:35 PM

Nevermind. :) It was an oversight. Now have it working on 3.7.0 :)

Thanks!!

Nevets2329 07-04-2008 04:53 PM

Any chance of the same for a near white background. I just want the posted hyperlinks a different colour to the rest of the post.

As it is now, the links are the same colour as the rest, and people miss the links.

Baldilocks 07-05-2008 07:12 AM

Works fine on my light/white backgrounds.

princeedward 07-05-2008 05:42 PM

Quote:

Originally Posted by Nevets2329 (Post 1566823)
Any chance of the same for a near white background. I just want the posted hyperlinks a different colour to the rest of the post.
As it is now, the links are the same colour as the rest, and people miss the links.

:rolleyes: hmmm...sorry don't get what you mean here...

princeedward 07-05-2008 05:43 PM

Quote:

Originally Posted by Baldilocks (Post 1567196)
Works fine on my light/white backgrounds.

thanks...and glad that it work fine to your site... ;)

Nevets2329 07-17-2008 07:03 AM

Nope, doesn't work. What have I done wrong?

}
.post a {
color:#008080[/COLOR];
background :none;
}
.post a:hover {
color: #2F4F4F[/COLOR];
background:none;
}

principino1984 09-16-2008 10:37 PM

thank you soooo much!

Baldilocks 09-18-2008 07:19 AM

Quote:

Originally Posted by Nevets2329 (Post 1577481)
Nope, doesn't work. What have I done wrong?

}
.post a {
color:#008080[/COLOR];
background :none;
}
.post a:hover {
color: #2F4F4F[/COLOR];
background:none;
}

Put that at the VERY beginning of your Extra Definitions instead of at the end. (That's how I got it working.) Also not that an extra } is needed as you can see in the screenshot below.

Also make sure you make the changes to the postbit and/or postbit_legacy templates.

http://i79.photobucket.com/albums/j1...73/example.jpg

Terry Burger 03-12-2009 10:47 PM

Trying to get the above working with no luck. Can someone identify the tags that correspond to URL's that appear in posts below?

/* Here you can change the look of the post text and links */

.vb_postbit
{
color: #333333;
font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
text-decoration: none;
}
.vb_postbit a:link
{
color: #333333;
font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border-bottom: 1px dotted #4E72A2;
text-decoration: none;
}
.vb_postbit a:visited
{
color: #333333;
font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border-bottom: 1px dotted #4E72A2;
text-decoration: none;
}
.vb_postbit a:hover, .vb_postbit a:active
{
color: #4E72A2;
font: 12px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border-bottom: 1px dotted #333333;
text-decoration: none;
}

/* ***** header pm and login box ***** */
.header_box_guest
{
background-color: #F6F6F6;
color: #000000;
padding:7px 7px 7px 7px;
border: 1px dotted #CFCFCF;
width: 300px;
}
.header_box
{
background-color: #FFFFCC;
color: #000000;
padding:7px 7px 7px 7px;
border: 1px dotted #CFCFCF;
width: 300px;
}

/* ***** postbit user info ***** */
.postbit_box
{
background-color: #edf3f9;
color: #000000;
padding:7px 7px 7px 7px;
border: 1px dotted #CFCFCF;
width: 292px;
}

/* ***** spacers and paddings ***** */

.cat_spacer {
padding:5px 0px 5px 0px;
}
.spacer {
padding:5px 0px 5px 0px;
}
.spacer_small {
padding:2px 0px 2px 0px;
}

/* ***** make announcements, stickies moderated, soft deleted posts and search result since last visit pretty ***** */
.announcement {
background-color: #d7e7f6;
color: #000000;
}
.sticky {
background-color: #edf3f9;
color: #000000;
}
.moderated {
background-color: #f9edee;
color: #000000;
}
.subscribed {
background-color: #edf9f2;
color: #000000;
}
.deleted {
background-color: #e5e8eb;
color: #283A5E;
}
.poll {
background-color: #e0ffdc;
}
.last_visit {
background-color: #edf3f9;
color: #000000;
}

/* ***** dotted hr ***** */
div.hr {
height: 1px;
background: url(images/bluesaint/misc/hr.gif) repeat scroll center;
}
div.hr hr {
display: none;
}

/* ***** make dropdown menu pretty ***** */

.vb_menu_control {
background: #E0E0E0 url(images/bluesaint/gradients/catbotbg.gif) repeat-x top left;
color: #666666;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 3px 6px 3px 6px;
white-space: nowrap;
}
.vb_menu_control a:link {
color: #666666;
text-decoration: none;
}
.vb_menu_control a:visited {
color: #666666;
text-decoration: none;
}
.vb_menu_control a:hover, .vb_menu_control a:active {
color: #666666;
text-decoration: underline;
}

Terry Burger 03-17-2009 10:46 PM

Anyone? :(

orangefive 11-25-2009 05:03 PM

Anyone got this working on 3.8.4 - had a go but no joy.

Secret Warez 12-18-2009 10:42 PM

Good mod.

sweptwingnut 08-07-2013 09:55 PM

I have tried this on 3.8.7 with no success.

Anyone else able to get it to work on 3.8.x and what did you have to do?


All times are GMT. The time now is 05:22 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.01132 seconds
  • Memory Usage 1,759KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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