tdev1
03-15-2011, 10:00 PM
What is this
This product allows you to:
- display attachments inline in the post in full size with the 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 the original [attach] (https://vborg.vbsupport.ru/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:
[attachfull]<ATTACHMENTID>
Usage of attachmode
it currently has two modes:
1) completely hide all attachments:
hidden
2) remove the thumbnails of all attachments:
nothumb
Example usage of attachmode
nothumb
Installation
simply import the attached file as new product:
AdminCP > Plugin System > Manage Products > [Add/Import Product]
What it does
the [attachmode] and 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:
[attachfull]189341
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
This product allows you to:
- display attachments inline in the post in full size with the 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 the original [attach] (https://vborg.vbsupport.ru/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:
[attachfull]<ATTACHMENTID>
Usage of attachmode
it currently has two modes:
1) completely hide all attachments:
hidden
2) remove the thumbnails of all attachments:
nothumb
Example usage of attachmode
nothumb
Installation
simply import the attached file as new product:
AdminCP > Plugin System > Manage Products > [Add/Import Product]
What it does
the [attachmode] and 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:
[attachfull]189341
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