PDA

View Full Version : Mini Mods - [DBTech] Download Button In Attachments v1 (vB4)


DragonByte Tech
06-06-2013, 10:00 PM
Why use, Download Button In Attachments?

No special reason, it just adds a button for users to click on to download attachments in posts. It also adds the button to download attachments in PM's if you have vBSuper PM's Pro.

-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.

We appreciate the support!
-------------------------------------------------------------------------------------------

Priority support & Product Demos available at: http://www.dragonbyte-tech.com/forum.php

-------------------------------------------------------------------------------------------

Translations available @ our website (http://www.dragonbyte-tech.com/f91/)
Support for translations handled by the translator in its respective threads only.

-------------------------------------------------------------------------------------------

Feature List
Option to enable the mod.
Option to display the version number.
Option to enter your Affiliate ID.
Option to select which usergroups can see the button.

-------------------------------------------------------------------------------------------

This mod displays a copyright notification in the footer of pages showthread, show post, and private:
1 Link to DragonByte Technologies homepage.
1 Link to Product Description page of this modification.

m3rl1n
11-30-2013, 11:53 AM
Right thread

Awesome addition. Is there away to deploy this elsewhere for example under thread title on forum display?

ozzy47
11-30-2013, 11:56 AM
I do not believe that is possible, as there can be multiple attachments in a thread, and having it on there, there is no way to know what attachment to download.

m3rl1n
11-30-2013, 11:59 AM
only got one attachment allowed would that help? Thanks for the reply

I had tried this but failed mainly because i didn't know right place to put it.

<a class="downloadbutton_attachments" href="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}"<vb:if condition="$show['newwindow']"> target="_blank"</vb:if>>Download</a>