Quote:
Originally Posted by Dyntheos
I wish to be able to have links using the [ url ] tag underlined in the postbit.
However for the "alt1" css feilds in the admincp I have links with "none" as the formatting. This is because I don't want to see lines under every forum link on the forum home.
Basically I only want links underlined in the postbit. Is there a way to modify the [ url ] tag to include an underline? The admin cp only shows custom BBcodes that can be modified not the default ones.
|
Thanks for the hint, Dyntheos. I wanted to do the same thing but didn't think of modifying the default URL behavior. There may be an easier way, but this worked for me:
open
/includes/functions_bbcodeparse.php
Find:
PHP Code:
// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
Replace with:
PHP Code:
// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_blank\"><span style=\"text-decoration:underline\">$text</span></a>";