I disabled all attachments on board because the only thing my members upload are images. So instead of using my space on my server, I decided to let members use tinypic without ever leaving the post page! When users click the button that says "upload image" a popup shows with an upload form. Then gives them the bbcode to insert the image in their message.
Step 1: Download the attached html file at the bottom of this post.
Step 2: Upload that html file to a folder of your choice on your server (I use my root. Example: mysite.com/tinypic.html)
Step 3: Download the attached image button at the bottom of this post.
Step 4: Upload the image button to whatever image folder on your site that you want.
Open
/Themes/YourTheme/Post.template.phpFind:
echo '
</td>
</tr>';
}
// Now start printing all of the smileys.
if (!empty($context['smileys']['postform']))Add before:
echo ' <a onclick="window.open(\'URL FOR YOUR TINYPIC HTML FILE HERE\',\'POPUP\',\'width=280,height=540,scrollbars=0\');return false;" href="#"><img src="URL FOR THE IMAGE BUTTON HERE" border="0"></a>';Don't forget to update the above code with your own URL's for tinypic.html and for your image button! It should create a nice popup on the post page, and your users never have to leave your site to host an image.
Screenshots:


