News:

Join the Facebook Fan Page.

Main Menu

[offtopic]BOX[/offtopic]

Started by Ar3k, November 06, 2004, 09:39:48 AM

Previous topic - Next topic

Daniel15

Quote from: [Unknown] on November 06, 2004, 06:00:33 PM
http://www.simplemachines.org/community/index.php?topic=12138.0

'~\[offtopic\](.+?)\[/offtopic\]~i' => '<div style="margin: 1px; padding: 1px; background-color: #eeeeee; color: black; border: 1px solid black;">$1</div>',

-[Unknown]
For SMF 1.1, find:

array(
'tag' => 'nobbc',
'type' => 'unparsed_content',
'content' => '$1',
),

Add after:

// Modified for [offtopic] tag - http://www.simplemachines.org/community/index.php?topic=19452.0
array(
'tag' => 'offtopic',
'before' => '<div style="margin: 1px; padding: 1px; background-color: #eeeeee; color: black; border: 1px solid black;">',
'after' => '</div>',
),
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Advertisement: