dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on March 06, 2018, 09:46:08 AM

Title: Custom BBCode Manager: mixcloud
Post 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:
Code: [Select]
{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 !
Title: Re: Custom BBCode Manager: mixcloud
Post by: Chip on May 12, 2018, 04:59:55 PM
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.

Code: [Select]
'css' => 'text',
isset($data['css']) ? addslashes($data['css']) : '',
Title: Re: Custom BBCode Manager: mixcloud
Post by: Chip on April 20, 2021, 08:40:21 PM
*bump*

Post Merged: April 21, 2021, 01:30:05 AM
House Music

SimplePortal 2.3.6 © 2008-2014, SimplePortal