No, the problem is that the embed code generates a second string of numbers for the username. It'd be a bit much to ask people to find those numbers and add them in the tags.
As it is now, you only have to fill in the ID-tag of the post.
This is the embed code that needs to be 'BBCodified':
Code: Select all
<div class="tumblr-post" data-href="https://embed.tumblr.com/embed/post/gCh2-2LZ5pwestGdZI37jQ/112655251544" data-did="e92254e92e55533de5018f648ba71bedc6f59cdb"><a href="http://worldofglovefetish.tumblr.com/post/112655251544">http://worldofglovefetish.tumblr.com/post/112655251544</a></div><script async src="http://assets.tumblr.com/post.js"></script>
To turn that into BBCode, first I have to replace the ID with an identifier token:
Code: Select all
<div class="tumblr-post" data-href="https://embed.tumblr.com/embed/post/gCh2-2LZ5pwestGdZI37jQ/{IDENTIFIER}" data-did="e92254e92e55533de5018f648ba71bedc6f59cdb"><a href="http://worldofglovefetish.tumblr.com/post/{IDENTIFIER}">http://worldofglovefetish.tumblr.com/post/{IDENTIFIER}</a></div><script async src="http://assets.tumblr.com/post.js"></script>
The corresponding BBCode then looks like this:
I could add a token to make it so that you could also fill in the username. The html part would then look like this:
Code: Select all
<div class="tumblr-post" data-href="https://embed.tumblr.com/embed/post/gCh2-2LZ5pwestGdZI37jQ/{IDENTIFIER2}" data-did="e92254e92e55533de5018f648ba71bedc6f59cdb"><a href="http://{IDENTIFIER1}.tumblr.com/post/{IDENTIFIER2}">http://{IDENTIFIER1}.tumblr.com/post/{IDENTIFIER2}</a></div><script async src="http://assets.tumblr.com/post.js"></script>
With the BBCode looking like this:
Code: Select all
[tumblr={IDENTIFIER1}]{IDENTIFIER2}[/tumblr]
But that doesn't work, because apparently, there's information about the username in either this part of the code:
Code: Select all
https://embed.tumblr.com/embed/post/gCh2-2LZ5pwestGdZI37jQ/
Or this:
Code: Select all
data-did="e92254e92e55533de5018f648ba71bedc6f59cdb"
And there's no way to generate that with a BBCode. At least none that I know of. If you do know how to do that, I'd love to hear it.
Either way, thanks for offering your help!