Jump to the post that solved this thread.
Not Solved creating a custom mycode for an anchor tag
#2
Not Solved
Hi there. From what I understand you would like to add a tag to your MyBB Forum that allows you to make in post links. I noticed you didn't add a div for it to link to. To fix this please use the following values for your MyCode.

Regex:
\[anchor=(.*?)\](.*?)\[/anchor\]

Replacement:
<div id="$1"><a href="#$1">$2</a></div>

Afterwards it'll drop down whatever the linked anchor text is. Please let us know if you have any further questions Smile
Software Engineer specializing in C# Program Development
Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: creating a custom mycode for an anchor tag - by Lunorian - 2016-12-02, 02:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)