Page 1 of 1

Need to pick peoples brain's

Posted: Fri May 04, 2018 11:19 pm
by walney-reptiles
Right so on my forum in a topic i would like to put an Iframe for the discord widget see the iframe code below this is for member Registered on the forum to gain access to my discord channel

Code: Select all

<iframe src="https://discordapp.com/widget?id=273207636818919425&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>
I have been reading about custom bbcode but i can not get my head around it, if someone could help me that would be great.

Re: Need to pick peoples brain's

Posted: Sat May 05, 2018 12:40 am
by </Solidjeuh>
Just create a BBCode

BBCode usage

Code: Select all

[discordapp][/discordapp]
HTML replacement

Code: Select all

<iframe src="https://discordapp.com/widget?id=273207636818919425&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>
Or if you need different widged ID's:

BBCode usage

Code: Select all

[discordapp]{SIMPLETEXT}[/discordapp]
HTML replacement

Code: Select all

<iframe src="https://discordapp.com/widget?id={SIMPLETEXT}&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>
Then it will work like: [discordapp]273207636818919425[/discordapp]

Re: Need to pick peoples brain's

Posted: Sat May 05, 2018 11:11 am
by walney-reptiles
Thank you very much, i feel stupid!

i didnt realise that it dosnt work in preview window but once it got submitted it worked