![]() |
Quote:
It's easy to add registered users (or any other group you like) just add the usergroup to this array in the postbit_attachment. So it would look like this: Code:
<if condition="in_array($bbuserinfo['usergroupid'], array(1, 2, 3))"> |
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. |
Quote:
Thx, ericgtr! |
Quote:
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> 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> |
Okay thanks, that should help for now, ill see how it goes on the site over the next week, but what do you think is the chance of having the timer standard for certain usergroups? without a popup?
|
edit: installed it, I also have vbseo installed, so I disabled attachment re writing, dont know how to stop rewriting of those 2 other files tho, but ive put in a thread over at vbseo for that part, if it is.
When i click on an attachment it reloads the page instead of popping up the attachment. do you think that is a problem with vbseo or a something else? |
what is the point of this hack? what good does it really do, besides pissing people off?
|
What, if I wanted this feature behind a thumbnail image, say a gif file?
Now it works only with non-images, right? Thanks, very good work. Daniel |
Quote:
Quote:
Quote:
|
Quote:
|
All times are GMT. The time now is 05:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|