PDA

View Full Version : Add-On Releases - Can't Download Attchments Before Hitting Thanks


da_judge
05-08-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=263343)

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 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

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 NOTE !!! Now Auto Refreshes

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=165673) hack 7.7 installed for this to work.

Thanks da_judge


Please Nominate For MOTM (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=263343&type=1)

Version VB4 HERE (https://vborg.vbsupport.ru/showthread.php?p=2193831#post2193831)


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

VBIran
05-09-2011, 11:36 AM
Can u rebuild this for vbulletin version 4 ?

Da-Vinci
05-09-2011, 01:47 PM
Yes can we have a VB4 version please.

da_judge
05-09-2011, 05:54 PM
I will try sort it over next week or so ok

;)

EDIT !!! OK i Just tested this version on vB4.... Tested ok and uploaded

Cheers

ShawneyJ
05-09-2011, 11:47 PM
tagged thanks ;)

FinalFantasy
05-11-2011, 02:58 PM
I love this one, hope you make it for v4 too :)

da_judge
05-11-2011, 06:29 PM
I love this one, hope you make it for v4 too :)

https://vborg.vbsupport.ru/showthread.php?p=2193831#post2193831

:D

Ichigo88
05-17-2011, 05:15 PM
Several errors caused by:

- error on database
Error occurs in PM. After you install this modification becomes impossible to open any PM. Message: Database error occurs.

- to the pressure button thanks, nothing happens, only after restart open same page you can see the attachment, which is duplication of work, it's not a good site, it must be immediately visible files

These are great disadvantages, I had to do unistal

da_judge
05-18-2011, 09:05 PM
Several errors caused by:

- error on database
Error occurs in PM. After you install this modification becomes impossible to open any PM. Message: Database error occurs.

- to the pressure button thanks, nothing happens, only after restart open same page you can see the attachment, which is duplication of work, it's not a good site, it must be immediately visible files

These are great disadvantages, I had to do unistal

I see error with PM, will fix asap

But i never claimed it was ajax... so all you need to do is press f5... like Abe1 original :erm:

da_judge
05-26-2011, 08:33 PM
PM Error fixed ;)

Ichigo88
05-30-2011, 09:54 PM
PM Error fixed ;)

Thank you very much. The error was corrected and now works very well. With the key "F5" function but it would be good, and nicer if it was automatic.

da_judge
06-01-2011, 08:42 PM
I will have a look at getting ajax to work.....

Cant promise though

Ajax would be class :)

da_judge
04-09-2012, 11:23 PM
Thank you very much. The error was corrected and now works very well. With the key "F5" function but it would be good, and nicer if it was automatic.


Thats now working... check out attachments ;)

m7sen
04-03-2014, 10:20 PM
thanks

can i do like this for links ?

and can u do it for
https://vborg.vbsupport.ru/showthread.php?t=242734

kartik786
09-17-2014, 05:00 PM
can we change it from "before hitting thanks" to "before tweeting" or liking the thread?