da_judge
05-09-2011, 10:00 PM
Can't Download Attchments Before Hitting Thanks
Mark as Installed Please (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=263385)
First Let me point out this is not my ORIGINAL work
This is a fix / upgrade of Abe1 (https://vborg.vbsupport.ru/member.php?u=49809) Cant Download attachments (https://vborg.vbsupport.ru/showthread.php?t=104845)
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
is_member_of($vbulletin->userinfo,
after the , add usergroups you want to disable this from. Mine looks like this
is_member_of($vbulletin->userinfo, 9,10,13
Also if you want to disable for images edit out these lines in same product
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 (https://vborg.vbsupport.ru/member.php?u=49809) for original hack
Please note you must have Abe1 (https://vborg.vbsupport.ru/member.php?u=49809) fantastic Thank You (https://vborg.vbsupport.ru/showthread.php?t=231666) hack 7.82 installed for this to work
Please Nominate For MOTM (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=263385&type=1)
Thanks da_judge
UPDATE : Auto update now added ;)
Mark as Installed Please (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=263385)
First Let me point out this is not my ORIGINAL work
This is a fix / upgrade of Abe1 (https://vborg.vbsupport.ru/member.php?u=49809) Cant Download attachments (https://vborg.vbsupport.ru/showthread.php?t=104845)
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
is_member_of($vbulletin->userinfo,
after the , add usergroups you want to disable this from. Mine looks like this
is_member_of($vbulletin->userinfo, 9,10,13
Also if you want to disable for images edit out these lines in same product
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 (https://vborg.vbsupport.ru/member.php?u=49809) for original hack
Please note you must have Abe1 (https://vborg.vbsupport.ru/member.php?u=49809) fantastic Thank You (https://vborg.vbsupport.ru/showthread.php?t=231666) hack 7.82 installed for this to work
Please Nominate For MOTM (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=263385&type=1)
Thanks da_judge
UPDATE : Auto update now added ;)