vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Can't See Attachments Before Thanking a Post (https://vborg.vbsupport.ru/showthread.php?t=104845)

Abe1 01-08-2006 10:00 PM

Can't See Attachments Before Thanking a Post
 
Can't See Attachments Before Thanking a Post 1.2


About this hack:
This hack is an add on for Post Thank You Hack. This hack will block users from viewing or downloading attachments before they thank the post where they want to view or download the attachments.

Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 1
  • Time to install: 10 seconds max
Updates:

Version 1.0 (01/08/06):
  • Initial release of this hack

Version 1.1 (01/31/06):
Version 1.2 (03/27/06):
  • [FIX] Fixed bugs regaring if there are no permissions to use the thanks button.

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.
https://vborg.vbsupport.ru/external/2010/02/12.gif

Mastar 01-09-2006 02:45 AM

Will Try After upgrade!

vietfancy 01-09-2006 02:53 AM

Could you make it " Can't see anything in "code" tags before thanking a post.

D.Ilyin 01-09-2006 06:18 AM

Amazing! :) Thank's
clicked install

rb290 01-09-2006 08:20 AM

Kool.
what about creating one for giving Rep ?

Abe1 01-09-2006 11:00 AM

Quote:

Originally Posted by vietfancy
Could you make it " Can't see anything in "code" tags before thanking a post.

Maybe another hack soon that will do that.

Abe1 01-09-2006 11:01 AM

Quote:

Originally Posted by rb290
Kool.
what about creating one for giving Rep ?

Can you explain more?

Essam 01-09-2006 02:20 PM

its good idea

but i can see the Attachments from another page

try to do this :

http://---------------/profile.php?d...chments&u=xxxx

xxxx: add id # of the user .

you will see all users Attachments without posting .. !

Abe1 01-09-2006 02:55 PM

Quote:

Originally Posted by Essam
its good idea

but i can see the Attachments from another page

try to do this :

http://---------------/profile.php?d...chments&u=xxxx

xxxx: add id # of the user .

you will see all users Attachments without posting .. !

It's alot easier for a user to click 'thanks' then go to the user attachments. It's also posable for users to remove their thanks after so trying to block up that hole would be a waise of time almost.

beebi 01-09-2006 03:02 PM

<a href="https://vborg.vbsupport.ru/showthread.php?threadid=94539" target="_blank">https://vborg.vbsupport.ru/showt...threadid=94539</a>

beebi 01-09-2006 03:03 PM

<a href="http://www.vbhacks-germany.com/forum/showthread.php?t=2796" target="_blank">http://www.vbhacks-germany.com/forum...ead.php?t=2796</a>

Abe1 01-09-2006 03:05 PM

Quote:

Originally Posted by beebi

Your point?

beebi 01-09-2006 03:09 PM

same code
same idea

Abe1 01-09-2006 03:17 PM

hmmm... besides the 'eval' is there any other command simular?

I used prases and not a template.
I used $this->registry->userinfo['userid'] and not $vbulletin->userinfo[userid] (which i dont think works there).
I used !can_moderate($forumid) and not wht you use for finding a moderator.

Would you like me to go on?

Abe1 01-09-2006 03:19 PM

I see you just added 'same idea'.

Maybe....

But NO.

You can't do with your hack what you can do with mine.

So,

YOU NEED BOTH.

bashy 01-09-2006 06:45 PM

I am using both atm, the "cantseeattch before replying" is working ok, but as i said in your other thread Abe1 the standard users can still see the attachment without the thanks being clicked!

Bashy

dave777 01-10-2006 11:22 AM

Anyway to make this hack show 2 or 3 attachments thumbnails and then say something like "to see the rest of these attachments you will need to post in this thread."?

Abe1 01-10-2006 12:14 PM

Quote:

Originally Posted by dave777
Anyway to make this hack show 2 or 3 attachments thumbnails and then say something like "to see the rest of these attachments you will need to post in this thread."?

This hack is really not that sophisticated. I don?t really want to start added these extra features.

bashy 01-15-2006 07:46 PM

Hi Abe1

I have this wee issue with the thanks popup, can you resolve it for me please...see image

Thanks in advance

Abe1 01-15-2006 07:48 PM

Quote:

Originally Posted by bashy
Hi Abe1

I have this wee issue with the thanks popup, can you resolve it for me please...see image

Thanks in advance

Wrong thread but I'll try to work on it.

bashy 01-15-2006 07:53 PM

This is the thread Cant see attachments untill you hit the thanks button aint it?

:o if not im bad thats twice ive used the wrong thread for you :squareeyed:

My apologies and thanks in advance for looking into it

Replicators 01-22-2006 12:12 PM

Does this add-on apply for admins/mods/and super mods too?

If so then it's not working for me as i can still see the attachments before thanking the post.

bashy 01-22-2006 12:14 PM

It dont apply to admin, well not on mine anyway :)
Not sure about the other staff :)

Make a standard registered user account and check it then!

Abe1 01-23-2006 10:02 PM

This hack does not block mods/smos/admin.

IrPr 01-27-2006 10:39 PM

Quote:

Originally Posted by Abe1
This hack does not block mods/smos/admin.

Goodk Jon Abe! Installed
but what about PM Attachments? is it possible to bypass this mod in private script?

puertoblack2003 01-28-2006 04:13 AM

great hack but for some reason can't get it to work to block that any idea will be great and yes i have the up to date post tahnk you :ermm:

Abe1 01-28-2006 09:51 PM

Quote:

Originally Posted by Moosa
Goodk Jon Abe! Installed
but what about PM Attachments? is it possible to bypass this mod in private script?

please explain.

Abe1 01-28-2006 09:51 PM

Quote:

Originally Posted by nievesidenshop
great hack but for some reason can't get it to work to block that any idea will be great and yes i have the up to date post tahnk you :ermm:

It does not block admins. Try looking as a regular user.

Mastar 01-29-2006 02:14 AM

Can you make this so that admin can add a particular usergroup to exclude from having to click thank you? I have some paying member that I don't want to do anything to download the attachments.

But still want the none paying members to have to click the thank you button.

Abe1 01-29-2006 02:46 AM

Quote:

Originally Posted by Mastar
Can you make this so that admin can add a particular usergroup to exclude from having to click thank you? I have some paying member that I don't want to do anything to downly the attachments.

But still want the none paying members to have to click the thank you button.

When I have some time. I didn't want to make this such a major hack.

IrPr 01-29-2006 10:14 AM

Quote:

Originally Posted by Abe1
please explain.

ok mate
im using PM Attachments Modification and Post Thank You and this Add-on on my board
but when some1 attachs some files the recepient cant download attchment

Quote:

You can't view or download attachments from this post before you thank it.
how to disable this message in Private Message area ?

WebsiteDonation 01-31-2006 05:26 AM

Quote:

Originally Posted by IrPr
ok mate
im using PM Attachments Modification and Post Thank You and this Add-on on my board
but when some1 attachs some files the recepient cant download attchment


how to disable this message in Private Message area ?

I understand this problem. Funny stuff =)) It's an important bug.

IrPr 01-31-2006 09:28 AM

Quote:

Originally Posted by WebsiteDonation
I understand this problem. Funny stuff =)) It's an important bug.

but im sure that Abe will fix this problem ;)

Abe1 01-31-2006 12:31 PM

Version 1.1 (01/31/06):

Abe1 01-31-2006 12:36 PM

Quote:

Originally Posted by IrPr
but im sure that Abe will fix this problem ;)

You were right :)

IrPr 01-31-2006 12:41 PM

Quote:

Originally Posted by Abe1
You were right :)

Thaaaaaaaanks! :)
hope u keep on ur works ;)

Tuan Ly 02-06-2006 10:50 AM

Hello Abe1,

I think the [fix] from v1.0 to v1.1 should be

Code:

check the THIS_SCRIPT != private
better than

Code:

check the THIS_SCRIPT == showpost or THIS_SCRIPT == showthread
because you can avoid many bugs unnecessarily. Am I wrong ? ;)

Tuan-Ly.

Abe1 02-06-2006 12:05 PM

Quote:

Originally Posted by Tuan Ly
Am I wrong ? ;)

I would say yes.

If I just eliminate private, then if any other hack comes along that uses attachements i'll have to come out with a new update. Just writing check if showthread or showpost eliminates all future probelms. It's confining the hack to only where I want it to work.

Mastar 02-06-2006 12:09 PM

How about a can't see links before thank you

Abe1 02-06-2006 12:11 PM

Quote:

Originally Posted by Mastar
How about a can't see links before thank you

Is there a hack that currently does simular? What is the link?


All times are GMT. The time now is 01:21 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.02601 seconds
  • Memory Usage 1,823KB
  • 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
  • (2)bbcode_code_printable
  • (18)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
  • (40)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