Edit bbcode?

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
User avatar
julesagogo
Registered User
Posts: 74
Joined: Fri Oct 01, 2004 3:10 pm
Location: Richmond, VA

Edit bbcode?

Post by julesagogo »

Sorry if this is answered elsewhere, searched for quite a while and nothing of value turned up.

I'd like to edit the URL bbcode in 2.0.22 to include an underline. How can I do this?

Thanks!
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Edit bbcode?

Post by stevemaury »

There already IS an underline BBCode. See the button with the u?

Code is:

Code: Select all

[u][/u]
EDIT:

Or do you want the url BBCode to automatically underline the link? Note that qualified URLs go hot even without the [url] tags, so most hot links won't be underlined anyway.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
julesagogo
Registered User
Posts: 74
Joined: Fri Oct 01, 2004 3:10 pm
Location: Richmond, VA

Re: Edit bbcode?

Post by julesagogo »

Hi SteveMaury,

Yes, I want the tag style to include an underline - sorry that wasn't clear the first time.

I'm not sure what you mean by "most hot links won't be underlined anyway." Qualified URLs without bbcode are obvious links and do get underlined (such as http://www.phpbb.com, no bbcode used).

The old and colorblind folks on my forum can't tell a link exists if the [url] tag is used, and it's a pain in the...neck to bbcode underline. :)

Thanks!
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Edit bbcode?

Post by Brf »

That would be here in your stylesheet:

Code: Select all

a.postlink:link	{ text-decoration: none; color : {T_BODY_LINK} }
Take out, or change that text-decoration.
User avatar
julesagogo
Registered User
Posts: 74
Joined: Fri Oct 01, 2004 3:10 pm
Location: Richmond, VA

yay! oh wait, oops...

Post by julesagogo »

I changed my subSilver.css to:

Code: Select all

/* The content of the posts (body of text) */
.postbody { font-size : 12px;}
a.postlink:link	{ text-decoration : underline; color : #006699 }
a.postlink:visited { text-decoration: underline; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}
But it's acting the same way...any ideas?

edit: deleted link
Last edited by julesagogo on Mon Dec 17, 2007 6:05 pm, edited 1 time in total.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Edit bbcode?

Post by Brf »

subsilver does not use subSilver.css, it uses the code in overall_header.tpl.
User avatar
julesagogo
Registered User
Posts: 74
Joined: Fri Oct 01, 2004 3:10 pm
Location: Richmond, VA

That tricky subSilver.

Post by julesagogo »

Thanks - that fixed it!
Locked

Return to “2.0.x Support Forum”