vb.org Archive

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

da_judge 05-08-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 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

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

Once again thanks to Abe1 for original hack

Please note you must have Abe1 fantastic Thank You hack 7.7 installed for this to work.

Thanks da_judge



Version VB4 HERE



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

Quote:

Originally Posted by FinalFantasy (Post 2194454)
I love this one, hope you make it for v4 too :)

https://vborg.vbsupport.ru/showthrea...31#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

Quote:

Originally Posted by Ichigo88 (Post 2196819)
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

Quote:

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

Quote:

Originally Posted by Ichigo88 (Post 2201853)
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?


All times are GMT. The time now is 02:10 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.01116 seconds
  • Memory Usage 1,748KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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