Version: 1.2.1, by El_Muerte
Developer Last Online: Jan 2023
Version: 3.5.2
Rating:
Released: 12-21-2005
Last Update: 01-15-2006
Installs: 40
DB Changes Uses Plugins Template Edits
Re-useable Code Translations
No support by the author.
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:
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.
Added new option 'enable pager'. Width this you can disable the pager which can be a performance hit on large forums.
Added new option 'Browser width'. Which will set the fallback browser width to use for MSIE. MSIE doesn't properly size the scrollable area in the default template, this is a dirty workaround.
Changes since v1.1.0:
Templates are now grouped
Installer is a bit more safe (e.g. no serious error when the table already has a `gallery` field)
Attachment browser is now collapsable
Thread title can be trimmed to a certain length
Changes since v1.2.0:
Browser is not shown when the user has to permissions to view attachments
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Only MSIE has a fixed width, the reason for this is because MSIE is broken and doesn't properly size the table cell. So unless you can find a way to make MSIE behave properly it can't be fixed.
Yeah.. looks like crap with missing images if your a non-member..
Is there any way to limit it to the last 5 attachements..
I am going to disable this until someone can find a way to either 1) apply a default image for non-members to see or 2) hide it completely to non-members. Sorry but it just looks like crap to non-members and looks like its broke..
Unstalling as well unfortunately. The MSIE bug, plus the fact that the vertical scrollbar looks rediculous, along with what cbr929 mentioned about the non-members getting an ugly blurb of text outweigh the cool factor of it.
I really like this and I really want to use it, I found out how to limit it to show just 5 latest attachements and all that but the non-member still can only see an ungly missing image and it looks broken.
Can some one please write something that if they are not a registerd member or if the user group is not, #,#,#, then it will display an image such as nonmember.gif
Version 1.2.1 should hide the attachment browser when the user has no permission to view attachments in the selected forum. E.g. the same check as the attachment code uses.
Thank you.. The only thing I would change for a future upgrade is have it show a default gif, that way they know they are missing out on images unless they join.. help to entice membership...