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)
-   -   [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=92410)

Bubble #5 12-02-2005 06:43 PM

Quote:

Originally Posted by Abe1
Say that again???

LOL :D

That was my first reaction too :nervous:

mfizzel 12-02-2005 11:06 PM

An amazing little add-on to this hack would be the ability to only show attached files to those who have thanked the post...any possibility of that? :D :D


*edit - actually I retract that request :)...there are files that have been download 5k+ times, the thanked #s would gett outta control

D.Ilyin 12-03-2005 05:54 AM

Quote:

Originally Posted by Abe1
Say that again???

sory.... what i must say?

Abe1 12-03-2005 10:29 PM

Quote:

Originally Posted by D.Ilyin
sory.... what i must say?

Repeate your question with more words. I didn't understand it.

akanevsky 12-04-2005 12:46 AM

I think he means that when mods/admins/smods view soft deleted threads, they can still post a "thanks" to posts. Which, in my opinion, is useless, cause why would one want to say thanks for a post in a deleted thread?

Abe1 12-04-2005 12:47 AM

Quote:

Originally Posted by Psionic Vision
I think he means that when mods/admins/smods view soft deleted threads, they can still post a "thanks" to posts. Which, in my opinion, is useless, cause why would one want to say thanks for a post in a deleted thread?

Got it. I will try to fix that.

akanevsky 12-04-2005 12:58 AM

Yea. :)
The way to select it from DB is (inside of a query):
IF(visible = 2, 1, 0) AS isdeleted
If $thread['isdeleted'] == 1, then the thread is soft deleted.
Just saying in case it helps :)

EDIT:
Actually, since you are hooking into the showthread itself, $thread['isdeleted'] is already there. Just use it.

masterross 12-04-2005 01:14 AM

hi,

sorry for the stupid question but where are the Hacks settings?
i cant gind them :(

thanks,
Ross

divided_by_fear 12-04-2005 01:19 AM

in vBulletin Options look for Post Thank You Hack in the drop down menu

Abe1 12-04-2005 03:13 AM

Version 2.6 (12/04/05):
  • [FIXED] Number outputs for numbers between 1,000 and 1,999
  • [FIXED] Showing of the thanks button on deleted threads pages.


All times are GMT. The time now is 02:32 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.01693 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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