MyBB Community Forums

Full Version: Help creating MyCode.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1) is there any way I can create a [me] tag? (not /me, I don't want any formatting, nor to start a new line )

2) I have made an anchor system in MyCode, here are the codes:
Anchor
\[anc=(.*?)\](.*?)\[/anc\]
<a name="anc-$1">$2</a>

GoToAnchor
\[go=(.*?)\](.*?)\[/go\]
<a href="#anc-$1">$2</a>

I put the "anc-" portions in to make sure people didn't interfere with my HTML anchors Toungue

But is there any way I could make it recognize the person posting it, and therefore say "anc-{USER ID}-$1 ? That way people couldn't mess up each other's anchors either.

Thanks in advance!
It's not possible through the MyBB MyCode editor as you can't insert variables...

You'd need to make a plugin for this.
ok.

thanks