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


All times are GMT. The time now is 09:15 AM.

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.01121 seconds
  • Memory Usage 1,736KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete