Help creating MyCode.
#1
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!
Reply
#2
It's not possible through the MyBB MyCode editor as you can't insert variables...

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

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)