MyBB Community Forums

Full Version: Need some help with a custom MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Alright so I am trying to create a custom MyCode where users can implement a DatPiff playlist. This is what I have

Regular Expression
(\[datpiff\]|(<a href=\")?(http://)?(www.)?datpiff.com/pop-mixtape-player.php\?id=)(.{8}?)((.*?)\" target=\"_blank\">)?((.*?)\[/datpiff\]|(.*?)</a>)

Replacement
<embed src="http://www.datpiff.com/embed/mixtape/${8}" quality="high" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="385" allowScriptAccess="always" allowScripting="on"><br>

However , when this is implemented , the player will pop up but it will say : "Error retrieving mixtape data"

Got the code from this tutorial