![]() |
Attachment Browser
This plugin adds an attachment browser to selected forums. The attachment browsers shows all the thumbnails of attached images in all posts in the current from.
Installation Install the product xml and edit the FORUMDISPLAY template. Add the following code whereever you like: Code:
<if condition="$show['attachments']"> In order to enable the thumbnail browser for a forum you will have to set "Show attachment browser" to yes in the forum manager (AdminCP). System changes This plugin adds two templates: attbrs_attachment : the main block of the attachment browser attbrs_attachment_bit : the thumbnail part for each attachment and two phrases: ab_image_larger_version_x_y_z : a copy of 'image_larger_version_x_y_z', the original was not available in the scope it was needed ab_title : the title used in the browser It also modifies the forum table, it will add a new field called 'gallery'. The field is created during installation and removed on uninstall. This plugin has one setting in it's own category which controls the maximum number of thumbnails to show per page. Live demo http://el-muerte.student.utwente.nl/...splay.php?f=23 Change log Changes since v1.0.1:
Changes since v1.1.0:
Changes since v1.2.0:
|
Doh, forgot to properly link the username, it's fixed now in 1.0.1
|
lookin good, though I don't need ;)
|
Ok, there's a little issue with MSIE, as usual it doesn't handle dimensions correctly. So there's no scrollbar, instead it's displayed in full, streching the page a lot.
A quick fix is to edit the 'attbrs_attachment' template and change the div in the 2nd row to: Code:
<div style="overflow: auto; width: auto !important; width: 800px; margin: auto;"> |
Really very interesting. I'll wait until the MSIE thing is "fixed" ;) Really a very good idea!
|
Thanks, but:
Table 'xxxx.attachment' doesn't exist Looking for the correct Prefix? Where to change it? |
Quote:
|
Looks rather interesting :)
Chris |
Nice one, El_Muerte! Can't wait to install.
*Clicks install and awaits final version* |
OK.. I have to admit but can you or someone make it do thumbnails that are like 150 X 150 or so.. I have my thumbs set large so it dont work too well, is there a way to add a way to set thumb size ?
If we can get the images smaller I will enable it in a heartbeat... |
All times are GMT. The time now is 02:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|