Fullsize inline attachment / Attachment Mode BBCode
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] it currently has two modes: 1) completely hide all attachments: Code:
[attachmode]hidden[/attachmode] Code:
[attachmode]nothumb[/attachmode] Code:
[attachmode]nothumb[/attachmode] 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] History
Download
product-attachmode.xml (2.5 KB, 126 downloads) |
Similar Mods
Moderators Functions Deleting Thread Require Reason (inline Mode + Normal Mode) included | Modification Graveyard |