Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Can't Download Attchments Before Hitting Thanks Details »»
Can't Download Attchments Before Hitting Thanks
Version: 4.01, by da_judge da_judge is offline
Developer Last Online: Oct 2019 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.x.x Rating:
Released: 05-09-2011 Last Update: 01-31-2015 Installs: 15
DB Changes Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

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

Download Now

File Type: txt Install.txt (136 Bytes, 131 views)
File Type: xml product-da_judge_cant_attachements 4.0.xml (2.1 KB, 114 views)
File Type: txt autoupdate.txt (749 Bytes, 19 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
m7sen

Comments
  #22  
Old 04-03-2014, 09:03 PM
m7sen m7sen is offline
 
Join Date: Mar 2014
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks i want it for vb3

i will do there ^_^
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03918 seconds
  • Memory Usage 2,232KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)post_thanks_box
  • (1)post_thanks_box_bit
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (3)postbit_attachment
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete