Addition of custom BBC code

Started by dbrown, October 12, 2006, 01:50:37 PM

Previous topic - Next topic

dbrown

SMF Version: SMF 1.1 RC3
I'd like to add some custom BBC code to my installation that will allow me to add the rel="" attribute to the
[iurl]
function.

Something like:
[iurl="http://somewebsite.com/" rel="somevalue"]CLICKME[/iurl]

I am pretty sure this is done in Subs.php, I just need a little direction. Thanks.
Please do not PM me with support questions.  You will get better and faster responses by contacting someone who has a clue. Thank you.

Oldiesmann

Yes, that's the file you'll want to edit. Specifically, the parse_bbc function (there are lots of comments there to explain how things work).
Michael Eshom
Christian Metal Fans

dbrown

Please do not PM me with support questions.  You will get better and faster responses by contacting someone who has a clue. Thank you.

Advertisement: