dopetalk
Technology => SMF Forum Code Modifications => Topic started by: Chip on March 06, 2018, 09:46:08 AM
-
using dougie's Custom BBCodes Manager
Tag name: mixcloud
Tag Description for Button: mixcloud
Tag type: Unparsed Commas Content
The HTML used for the tag:
{content}
<br>
<hr>
<iframe width="100%" height="120" src="{option1}/widget/iframe/?hide_cover=1&feed=%2F{option2}%2F{option3}%2F" frameborder="0" ></iframe>
use it like this:
[mixcloud=https://www.mixcloud.com, djjamestobin, dj-james-tobin-house-music-22022018][/mixcloud]
Note the attached gif !
-
Bugs
[mixcloud=https://www.mixcloud.com, djjamestobin, dj-james-tobin-house-music-22022018][/mixcloud]
House Music
I picked up 2 minor bugs:
1. the keyword {content} is a constant, should not be there for unparsed_commas
2. i had to comment out the following following 2 lines that were causing the "missing column in DB error message" that is triggered when you try to save the BBCode.
3. NekoSensei added the 2 lines below a few posts back and it makes no sense to me yet it worked.
'css' => 'text',
isset($data['css']) ? addslashes($data['css']) : '',
-
*bump*
Post Merged: April 21, 2021, 01:30:05 AM
House Music