PDA

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


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

hqlman
05-12-2011, 04:47 PM
Brilliant, was waiting for this :)

persianpros
05-16-2011, 06:44 PM
vb 4.1.3 not working ...

includes/class_postbit.php(340) : eval()'d code on line 4

da_judge
05-18-2011, 09:06 PM
vb 4.1.3 not working ...

includes/class_postbit.php(340) : eval()'d code on line 4

What do you do to see this :confused:

nacaruncr
05-19-2011, 02:31 AM
Does this work with the "Like" in vBSEO?
It'll so awesome :D

thanks :D

ry215
05-19-2011, 10:00 AM
It doesn't work.

persianpros
05-19-2011, 12:56 PM
What do you do to see this :confused:

i just installed your hack nothing more

da_judge
05-19-2011, 06:23 PM
Sorry guys this is my 1st plugin lol

It works for some but not others...

Must be a conflict

Dont forget you need latest (vB4) Abe1 Thank Post plugin installed..

Also i found another small bug im working on... please bear with me... trying to fix :)

ry215
05-20-2011, 02:22 AM
but did you get permission from Abe1 to use his code?

I have compared two XML, they're the same same.

da_judge
05-20-2011, 09:54 PM
but did you get permission from Abe1 to use his code?

I have compared two XML, they're the same same.

No they are not same.... as i said its a FIX of abe1 plugin.. NOT my work

First Let me point out this is not my ORIGINAL work

This is a fix / upgrade of Abe1 Cant Download attachments


If yours showing same... then you look at 2 x abe1

I added usergroup permissions... did abe1

Abe1 not been online for ages to ask

Last Activity: 09 Jun 2010

Tell ya what... I will delete it for you shall I

da_judge
05-20-2011, 09:56 PM
It doesn't work.

Because you are looking at original clearly :confused:

Is this how you work... jump on back of people who try to fix things shame on you

da_judge
05-20-2011, 09:59 PM
Does this work with the "Like" in vBSEO?
It'll so awesome :D

thanks :D

No sorry ;)

da_judge
05-26-2011, 08:37 PM
Fixed PM database error ;)

Danasy
05-27-2011, 02:26 AM
Fixed PM database error ;)
Installed...then uninstalled...and then installed back after this fix of PM reading problem.
Works fine on vb4.1.2. Thanks for your work.

persianpros
05-28-2011, 09:15 AM
now it's works for me ;)

vb 4.1.3

da_judge
06-01-2011, 08:44 PM
Thanks for input guys :)

benjones
06-09-2011, 11:12 PM
Does this work or can it be edited to simply stop guests clicking and seeing a full size image without (registering and) thanking?

da_judge
06-16-2011, 08:17 PM
Does this work or can it be edited to simply stop guests clicking and seeing a full size image without (registering and) thanking?

you mean see thumbs only yer

edit out this line should work

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


Hope that what u mean

Nirjonadda
01-21-2013, 05:07 PM
Its does not work on 4.1.10 , Please can you update ?

da_judge
01-22-2013, 02:09 PM
Its does not work on 4.1.10 , Please can you update ?

Must be a conflict with another plugin or u doing something wrong m8

now it's works for me ;)

vb 4.1.3


:)

m7sen
04-03-2014, 09:03 PM
thanks i want it for vb3

i will do there ^_^