Back to vBulletin 3.8 Add-ons

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

vB Version: 3.8.x Rating: (2 votes - 5.00 average) Installs: 17
Released: 09 May 2011 Last Update: 02 Feb 2015 Downloads: 112
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 vB 3.8, 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 NOTE !!! Now Auto Refreshes

Once again thanks to Abe1 for original hack

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

Thanks da_judge

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

Version VB4 HERE

Spoiler (click to open)


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
Attached Files
File Type: txt Install.txt (136 Bytes, 133 views)
File Type: xml product-da_judge_cant_attachements 4.0.xml (2.1 KB, 116 views)
File Type: txt autoupdate.txt (749 Bytes, 21 views)

Close


UPDATE!!!! Auto Refresh now works on this mod, See auto update txt file for more info

Download

File Type: %1$s Install.txt (136 Bytes, 95 downloads)
File Type: %1$s product-da_judge_cant_attachements 3_8.xml (2.1 KB, 84 downloads)
File Type: %1$s autoupdate.txt (749 Bytes, 32 downloads)

Supporters / CoAuthors

  • Abe1

vblts.ru supports vBulletin®, 2022-2024