vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Can't Download Attchments Before Hitting Thanks (https://vborg.vbsupport.ru/showthread.php?t=263385)

da_judge 05-09-2011 10:00 PM

Can't Download Attchments Before Hitting Thanks
 
1 Attachment(s)
Can't Download Attchments Before Hitting Thanks


Mark as Installed Please


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


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

Quote:

Originally Posted by artman_hacker (Post 2196441)
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

Quote:

Originally Posted by da_judge (Post 2197326)
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

Quote:

Originally Posted by ry215 (Post 2197842)
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

Code:

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

Code:

Last Activity: 09 Jun 2010
Tell ya what... I will delete it for you shall I

da_judge 05-20-2011 09:56 PM

Quote:

Originally Posted by ry215 (Post 2197493)
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

Quote:

Originally Posted by nacaruncr (Post 2197411)
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

Quote:

Originally Posted by da_judge (Post 2200344)
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

Quote:

Originally Posted by benjones (Post 2205629)
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

Code:

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

Quote:

Originally Posted by Nirjonadda (Post 2398416)
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

Quote:

Originally Posted by artman_hacker (Post 2200811)
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 ^_^


All times are GMT. The time now is 03:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01159 seconds
  • Memory Usage 1,763KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete