The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to convert html to bbcode

2 posters

Go down

In progress How to convert html to bbcode

Post by erchima Wed 1 Oct - 18:02

hello
how to convert this html code
Code:
<a href="www"><button class="download">Download</button>
and
Code:
<iframe src="www"></iframe>
convert to bb code?
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

In progress Re: How to convert html to bbcode

Post by Guest Wed 1 Oct - 18:11

Hello erchima,
For the first one, you can use this.
Code:
[url=www]Download[/url]

As for the 2nd one, you cannot change that from HTML to BBcode, that won't work.

Hope this helps answer your question(s).

-Jad
avatar
Guest
Guest


Back to top Go down

In progress Re: How to convert html to bbcode

Post by Ange Tuteur Wed 1 Oct - 19:04

Hello erchima,

Not every HTML tag has a bbcode variant. It depends on the tags allowed by Forumotion. The bbcodes on submission are parsed server side, after submission in the messages they render as HTML tags. The buttons you see in the editor are the bbcodes that you can use. Wink
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: How to convert html to bbcode

Post by erchima Thu 2 Oct - 12:43

Jadster wrote:Hello erchima,
For the first one, you can use this.
Code:
[url=www]Download[/url]

As for the 2nd one, you cannot change that from HTML to BBcode, that won't work.

Hope this helps answer your question(s).

-Jad
Hello this is not button but only text

Ange Tuteur wrote:Hello erchima,

Not every HTML tag has a bbcode variant. It depends on the tags allowed by Forumotion. The bbcodes on submission are parsed server side, after submission in the messages they render as HTML tags. The buttons you see in the editor are the bbcodes that you can use. Wink
then could not convert?
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

In progress Re: How to convert html to bbcode

Post by Guest Thu 2 Oct - 14:33

Hello Again Erchima,
The BBCode I provided is only for the text but as Ange stated above, some HTML codes cannot be converted to BBCodes. The button you want and all that sort of stuff would have to be through HTML. As well as iFrame because that doesn't have a BBCode for it at all.

Sorry for the inconvenience but I hope this answers your question(s).

-Jad
avatar
Guest
Guest


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum