vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   URL BBCODE edit. (https://vborg.vbsupport.ru/showthread.php?t=202311)

JMEWLS` 01-19-2009 06:52 AM

URL BBCODE edit.
 
I want to edit it, so that I can change the color of urls when threads are made. Right now all urls are black unless hovered. So it's hard to view url's in threads. How do I edit it?

Dismounted 01-19-2009 07:41 AM

You can change them using CSS. You can access the CSS declarations of a style in the Admin CP (Styles & Templates > Style Manager > Edit StyleVars).

JMEWLS` 01-19-2009 07:56 AM

I don't see them in the style vars?

Dismounted 01-19-2009 08:17 AM

Sorry, I meant Main CSS.

Styles & Templates > Style Manager > Main CSS

JMEWLS` 01-19-2009 08:46 AM

Where in the main css can I edit the BBcode? I must be blind I went over it a few times before posting this.

SEOvB 01-19-2009 09:14 AM

Are you just wanting to edit the links colors inside posts, or every where so they aren't black?

JMEWLS` 01-19-2009 09:21 AM

Quote:

Originally Posted by FRDS (Post 1717669)
Are you just wanting to edit the links colors inside posts, or every where so they aren't black?

Just edit the links colors inside posts. Not all the links, I think dismounted misinterpreted me.

SEOvB 01-19-2009 09:56 AM

open postbit or postbit_legacy and find

Code:

<div id="post_message_$post[postid]">$post[message]</div>
Replace with
Code:

<div id="post_message_$post[postid]" class="plinks">$post[message]</div>
Then in Main CSS -> Additional CSS -> add something like
Code:

.plinks a:link { color: red; }
.plinks a:visited { color: red; }
.plinks a:hover { color: blue; }


JMEWLS` 01-19-2009 11:35 AM

perfect, thanks champ.


All times are GMT. The time now is 12:59 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.00943 seconds
  • Memory Usage 1,725KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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