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)

Abe1 12-11-2005 11:32 PM

Quote:

Originally Posted by Bubble #5
Can we get to the code through the ACP in anyway?

Sure.

ACP -> Plugin System -> Plugin Manager -> postbit_display_start hook location

siriuxs 12-12-2005 06:55 AM

Quote:

Originally Posted by Bubble #5
Did you double check your template installs?

Did you upload the button to the correct place on the server?

Yes, I do all...:'(

Abe1 12-12-2005 12:13 PM

Quote:

Originally Posted by siriuxs
Yes, I do all...:'(

Are you looking at your own post? You can't thank yourself so you have to look at someone elses post to see if it's there.

siriuxs 12-12-2005 12:19 PM

Quote:

Originally Posted by Abe1
Are you looking at your own post? You can't thank yourself so you have to look at someone elses post to see if it's there.

Ahhhhhhh..... ok...Tank...;)

webspider 12-12-2005 07:39 PM

I love this hack as do my users but I was thinking today that it would be great is the VB promotion system could use the thanks data for auto promotions. Right now it will count posts, reputation,and check date.

VaaKo 12-18-2005 02:41 PM

can you integrate this hack with the hide hack?

Abe1 12-18-2005 03:09 PM

Quote:

Originally Posted by Don Corleone
can you integrate this hack with the hide hack?

Can you give me a link?

pipin 12-18-2005 08:23 PM

thanx abe for this one.

just 2 points.

you should phrase the "Thanked Post" for the reputation in showthread_start

Code:

$db->query("                INSERT INTO ". TABLE_PREFIX ."reputation               
(postid, userid, reputation, whoadded, reason, dateline)               
VALUES ('$postid', '$postinfo[userid]', '$vboptions[post_thanks_reputation]', '$bbuserinfo[userid]', 'Thanked Post', " . TIMENOW . ")                ");

and is it right that removing the thanks wont remove the given reputation?

Abe1 12-18-2005 09:10 PM

Quote:

Originally Posted by pipin
thanx abe for this one.

just 2 points.

you should phrase the "Thanked Post" for the reputation in showthread_start

Code:

$db->query("                INSERT INTO ". TABLE_PREFIX ."reputation               
(postid, userid, reputation, whoadded, reason, dateline)               
VALUES ('$postid', '$postinfo[userid]', '$vboptions[post_thanks_reputation]', '$bbuserinfo[userid]', 'Thanked Post', " . TIMENOW . ")                ");

and is it right that removing the thanks wont remove the given reputation?

I fixed the pharse. It will be realised in my update comming out in the next day or two.

The replutation should be deleted. Right now I just tested it and fixed up a drop and know it works. Let me know once I release the update.

Abe1 12-18-2005 09:29 PM

Version 2.7 (12/18/05):
  • [ADDED] Made the Thanks button a template
  • [ADDED] Made a template group for this hacks templates
  • [FIXED] One template edit. Find correction in zip file.
  • [CHANGED] Made a pop-up now when you click Thanks instead of refreshing the page.
  • [FIXED] Made the line when you give reputation points for thanks, a phrase.
  • [ADDED] Paypal link so you can make a donation for this hack.


All times are GMT. The time now is 04:06 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.01549 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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