Back to vBulletin 4.x Add-ons

Can't Download Attchments Before Hitting Thanks
Mod Version: 4.01, by da_judge

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 15
Released: 10 May 2011 Last Update: 02 Feb 2015 Downloads: 160
Not Supported DB Changes Uses Plugins Auto-Template Re-usable Code Translations  

Can't Download Attchments Before Hitting Thanks


First Let me point out this is not my ORIGINAL work

This is a fix / upgrade of Abe1 Cant Download attachments

I been reading people wanting an updated version

This works well in vB3.8 and vB4 i have also added usergroup permissions

Staff (Moderators etc) it already dont apply to.

To edit user groups you DONT want this to apply to

Edit attached product and search for

Code:
is_member_of($vbulletin->userinfo,
after the , add usergroups you want to disable this from. Mine looks like this

Code:
is_member_of($vbulletin->userinfo, 9,10,13

Also if you want to disable for images edit out these lines in same product

Code:
eval('$this->post[\'imageattachmentlinks\'] = construct_phrase("$vbphrase[cant_see_attachements_before_thanksing_a_post]");');
eval('$this->post[\'thumbnailattachments\'] = construct_phrase("$vbphrase[cant_see_attachements_before_thanksing_a_post]");');
eval('$this->post[\'imageattachments\'] = construct_phrase("$vbphrase[cant_see_attachements_before_thanksing_a_post]");');


Hope it works ok for you,

Please not this does not work with Ajax

Once again thanks to Abe1 for original hack

Please note you must have Abe1 fantastic Thank You hack 7.82 installed for this to work

http://www.vbulletin.org/forum/vborg_miscactions.php?do=nominate&threadid=263385&type=1

Thanks da_judge

UPDATE : Auto update now added

Download

File Type: %1$s Install.txt (136 Bytes, 133 downloads)
File Type: %1$s product-da_judge_cant_attachements 4.0.xml (2.1 KB, 116 downloads)
File Type: %1$s autoupdate.txt (749 Bytes, 21 downloads)

Similar Mods

Add-On Releases Can't Download Attchments Before Hitting Thanks vBulletin 3.8 Add-ons

vblts.ru supports vBulletin®, 2022-2024