Topic: [Extension] Image Assistant (quadric_image_assistant)
Problem
Standard pun_attachment connect files on the end of the post.
Fancy extensions use external servers to handle image uploads.
Hcs extension upload image and connect to a post and drop when not in post.
I want a simple but effective image uploader for PunBB which stores images and let them use whenever you need but i couldn't find an appropriate extension. So i wrote such thing myself:
This extension allows user to upload images or use already uploaded image when writing a post and put it into a message as img or url tag. Images may be used many times in many posts or wherever you want. Images are never deleted automaticly.
Features:
1) Upload images when writing post (plupload)
2) Insert as img or url
3) Images are connected to user so they can be used in many posts
4) Browse already uploaded images
5) Delete images
6) Image preview (fancybox)
7) Polish and English translation
8) Admin configuration
Dependencies:
1) pun_jquery
2) pun_bbcode
Demo:
RCT Forum
(For the effect. If you want to upload image you have to be authenticated)
Download:
Quadric Image Assistant 1.0.0 RC1
Quadric Image Assistant 1.0.1
Quadric Image Assistant 1.0.2
Quadric Image Assistant 1.1.0 (not compatible with 1.0.x) (How to upgrade?)
Quadric Image Assistant 1.1.1
Quadric Image Assistant 1.1.2
Quadric Image Assistant 1.1.3
Quadric Image Assistant 1.1.4
Quadric Image Assistant 1.1.5
Notice:
It uses fancybox (2.0.4) and plupload (1.5.1.1)
Changelog:
15 Feb 2012, v1.1.5
- Core:
. Compatibility for PunBB 1.4.2
12 Jan 2012, v1.1.4
- Core
. Fixed transaction commit for sqlite
. Fixed delete security - basename on file
12 Jan 2012, v1.1.3
- Core
. Fixed bug for root fixed misc.php functions controller
- Plupload:
. Upgrade to 1.5.2
. Fixes in upload.php from old examples
10 Jan 2012, v1.1.2
- Core:
. Fixed bug truncating /t in full string (found by fu86)
04 Jan 2012, v1.1.1
- Core:
. Fixed dir permission to use 0775
04 Jan 2012, v1.1.0
- Core:
. Code optimizations (reuse some code from pun_attachment)
. Upload code improvement (faster upload)
. Changed upload dir from ext_path to root_path (shorter path)
. Database backend
. Image browser use database to show user images
. Fixed image browser max height
. 0.8 Opacity action icons
- Plupload
. Changed html5 be before flash. Html5 is better (but msie use flash engine)
. Fixed button not being hovered (still not hovered when flash engine)
31 Dec 2011, v1.0.2
- Admin:
. Fixed breadcrumbs
30 Dec 2011, v1.0.1
- Core:
. Code cleanup
. Fixed button align
. Fixed fancybox links request (see them as a group)
- Plupload:
. Update to 1.5.1.1
26 Dec 2011, v1.0.0 RC1
- Core:
. First Release
This is my first such big extension for PunBB so please if you try it and find some bugs or suggestions feel free to tell me and i'll try as soon as possible to fix it. Please consider this extensions as RC1 version.
This extension use some parts from HCS image uploader extension
Warning: This extension depends on pun_attachment also but i may create create independant version