Back to vBulletin 4.x Add-ons

Fullsize inline attachment / Attachment Mode BBCode
Mod Version: 1.1, by tdev1

vB Version: 4.1.2 Rating: (1 vote - 5.00 average) Installs: 18
Released: 16 Mar 2011 Last Update: 16 Mar 2011 Downloads: 125
Not Supported Uses Plugins Re-usable Code  

What is this
This product allows you to:
- display attachments inline in the post in full size with the [attachfull] BBCode
- hide attached files within a blog post for example with the [attachmode] BBCode

attachfull is unrelated to attachmode, you can use one, both or neither of them in one post together

Usage of attachfull
works the same way as http://www.vbulletin.org/forum/misc.php?do=bbcode#attach but displays the image in its full size and removes it from the attachment list at the post's bottom.

Example usage of attachfull
1. attach a file to a post
2. embed the full sized image within the post:
Code:
[attachfull]<ATTACHMENTID>[/attachfull]
Usage of attachmode
it currently has two modes:
1) completely hide all attachments:
Code:
[attachmode]hidden[/attachmode]
2) remove the thumbnails of all attachments:
Code:
[attachmode]nothumb[/attachmode]
Example usage of attachmode
Code:
[attachmode]nothumb[/attachmode]
Installation
simply import the attached file as new product:
AdminCP > Plugin System > Manage Products > [Add/Import Product]

What it does
the [attachmode] and [attachfull] tags are added to the valid BBCode list. When BBCode is parsed, it modifies the posts attachments on the fly depending on the tags.

Compatibility
- just plugins, no DB usage, no permanent changes to any data

Demo
look at this blog post: http://www.rigsofrods.com/entries/72-Japan-Tsunami
this line is used to display the image:
Code:
[attachfull]189341[/attachfull]
the image is attached to this post, but not displayed as attachment

History
  • 1.1 - added 'attachfull' which allows full-sized inline display of attachments
  • 1.0 - first version released

Download

File Type: %1$s product-attachmode.xml (2.5 KB, 126 downloads)

Similar Mods

Moderators Functions Deleting Thread Require Reason (inline Mode + Normal Mode) included Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024