Upload & Host Images on your forum using Add.Pics for Free

Upload & Host Images on your forum using Add.Pics for Free 1.0.8

No permission to download
How to manually install the code?

Open PAGE_CONTAINER template

Add this code above </head>
HTML:
    <xf:if is="in_array({$template}, ['forum_post_thread', 'forum_view'])">
    <script async src="https://add.pics/sdk/pup.js?_v=3180"
            data-url="https://add.pics/upload"
            vendor="xenforo"
            data-sibling="button.button--icon--write"
            data-sibling-pos="after"
            data-auto-insert="bbcode-embed-full">
    </script>
   
    <xf:elseif is="$template == 'conversation_add'" />
    <script async src="https://add.pics/sdk/pup.js?_v=3180"
            data-url="https://add.pics/upload"
            vendor="xenforo"
            data-sibling="button.button--icon--conversation"
            data-sibling-pos="after"
            data-auto-insert="bbcode-embed-full">
    </script>   
 
    <xf:elseif is="$template == 'post_edit'" />
    <script async src="https://add.pics/sdk/pup.js?_v=3180"
            data-url="https://add.pics/upload"
            vendor="xenforo"
            data-sibling="button.button--icon--save"
            data-sibling-pos="after"
            data-auto-insert="bbcode-embed-full">
    </script>
   
    <xf:else />
    <script async src="https://add.pics/sdk/pup.js?_v=3180"
            data-url="https://add.pics/upload"
            vendor="xenforo"
            data-sibling="button.button--icon--reply"
            data-sibling-pos="after"
            data-auto-insert="bbcode-embed-full">
    </script>
    </xf:if>
Top