Jump to content

IPB4 rest api


HomerSimpson

Recommended Posts

1 hour ago, MADMAN32395 said:

Documentation is in the acp for the rest api. 

 

And using spoiler and image are actually built into the editor, bbcode is thing of past . spoilers icon looks like an eye and image IIRC is a image icon (I think by default next to attach I think)

i am asking for spoilers because 1.) i hate the new editor 2.) posting topics via the api

 


currently using this template for posting via api

(very bad from my point of view)

<p style="text-align:center;">
                        <b>Video :</b> {0}</p>
                        <p style="text-align:center;">
                                <strong>Cover:</strong>
                        </p>
                        <p style="text-align:center;">
                        </p>
            <blockquote class="ipsStyle_spoiler" data-ipsspoiler="">
            <div class="ipsSpoiler_header">
            <span>Spoiler</span>
            </div>
            <div class="ipsSpoiler_contents">
            <p>
            <img class="ipsImage" src="{1}" alt="http://PRIVATE"></p>
            </div>
            </blockquote>

            <p style="text-align:center;">
            <br><strong>Preview:</strong>
            </p>
            <p style="text-align:center;">
            </p>
            <blockquote class="ipsStyle_spoiler" data-ipsspoiler="">
            <div class="ipsSpoiler_header">
            <span>Spoiler</span>
            </div>
            <div class="ipsSpoiler_contents">
            <p>
            <img alt="http://PRIVATE/" class="ipsImage" src="{2}"></p>
            </div>
            </blockquote>
            <p style="text-align:center;">
            </p>
            <p style="text-align:center;">
            <strong>Download:</strong>
            </p>

            <p style="text-align:center;">
            [hide]
            </p>
            <p style="text-align:center;">
            <a href="PRIVATE" rel="external nofollow">PRIVATE</a>
            </p>
            <p style="text-align:center;">
            [/hide]
            </p>
            <div contenteditable="false">
            </div>

 

Link to comment
Share on other sites

  • 6 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...