News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Breaking links to remove the scroll

Started by daly_1980, April 13, 2006, 11:01:50 AM

Previous topic - Next topic

daly_1980

I've posted that topic before:
http://www.simplemachines.org/community/index.php?topic=81625.0
I don't know if any section is suitable, but I searched for an answer, no response  :(

Can I modify some code to get that solved?

B Patterson

Have you tried editing it so that the tags are:
[url=THAT LONG URL HERE]Click Me![/url]
Or is that not an option?

daly_1980

Yes that option is cool but for few links  :D
Sometimes, members copy about 50 links in 1 post, it's hard for them to do that!

B Patterson

You could always change the bbcode tag....


array(
    
'tag' => 'url',
    
'type' => 'unparsed_content',
    
'content' => '<a href="$1" target="_blank">Click Here</a>',
    
'validate' => create_function('&$tag, &$data, $disabled''$data = strtr($data, array(\'<br />\' => \'\'));'),
),

Advertisement: