Quote:
Originally Posted by hornstar1337
This is really good, ill make it so this will happen to registered members, so it creates another incentive for premium members on my site.
however im hopping that something like this can be included in DownloadsII maybe if you get time you could take a look and work something out for us over there.
Thanks for this great release.
edit:
Request
Just wondering if you could do this but without the popup? Because im thinking pop up blockers are becomming more and more common and this may make it hard for some members to understand why they cant download it, then they will spam and say why they cant download it. But if that request cant work, then maybe some instructions next to the link like, a popup will open with the download link, iono, just a thought i just had now.
Thanks again.
|
Well, what you can do is find this in postbit_attachment:
Code:
<a href="javascript:history.go(0)" onClick="MM_openBrWindow('showfile.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]','','scrollbars=yes,resizable=yes,width=470,height=300')"><strong>Get File!</strong></a>
And replace it with this: (you can see where the wording is if you want to change it)
Code:
<a href="javascript:history.go(0)" onClick="MM_openBrWindow('showfile.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]','','scrollbars=yes,resizable=yes,width=470,height=300')"><strong>Get File!</strong>(requires popups enabled)</a>