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.
The forum of the forums
2 posters

    How to convert html to bbcode

    erchima
    erchima
    Forumember


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

    In progress How to convert html to bbcode

    Post by erchima October 1st 2014, 5:02 pm

    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?
    avatar
    Guest
    Guest


    In progress Re: How to convert html to bbcode

    Post by Guest October 1st 2014, 5:11 pm

    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
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    In progress Re: How to convert html to bbcode

    Post by Ange Tuteur October 1st 2014, 6:04 pm

    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
    erchima
    erchima
    Forumember


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

    In progress Re: How to convert html to bbcode

    Post by erchima October 2nd 2014, 11:43 am

    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?
    avatar
    Guest
    Guest


    In progress Re: How to convert html to bbcode

    Post by Guest October 2nd 2014, 1:33 pm

    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

      Current date/time is November 11th 2024, 6:08 pm