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.
I have a question, it works perfectly except 1 thing..
If your not a registered user, it shows everything except where the pics are its just the blank image place holder. Any way to make a default gif to put there or just not show it at all if not registered?
I dont want non-members to be able to view images.
So is there a way to make it load a non-member gif that I can make or just not show up at all to non members? I would prefer the image of my choice in its place, maybe an if statement or something?
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.
Quote:
Originally Posted by cbr929rrerion
anyone know how to add an if statement to have it show a predetermind image to non-members?