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

tnedator 11-12-2008 04:24 PM

Quote:

Originally Posted by Abe1 (Post 1663940)
I'm sorry, but i dont see how that mysql has nothing to do with the post thanks hack.

It was the "thanks" in "reportthanks" phrase which made me think it was related to the post thanks hack. As it is, it turns out that regardless of what the SQL statement was related to, it was an underlying problem with the VPS hardware node.

Sorry about that. Thanks for the great program. :up:

tester559 11-12-2008 08:10 PM

Ok, I have now got this to work.... sort off :)

In the default vB 3.7.1 skin, all features work, and it shows "thanked x in x posts", but in my custom skin, this wording does not appear under the username/stats on the left hand side in the postbit. All other features appear OK.

Do I need to add anything to my custom skin to make this appear? if so what do I need to add?

Thanks

Stuart

Fangs404 11-12-2008 10:59 PM

Quote:

Originally Posted by ShiZoPhreN (Post 1661675)
Hello Abe1, nice Hack and Thanks

Feature Request: Bump threads when any1 click "thanks" and this with exclude forumids or an option to disable/enable in forumids .. thats where nice.. :)

Thanks in Advance

Quote:

Originally Posted by Fangs404 (Post 1644660)
If anyone's curious, I figured this out myself using the Bump Threads mod. It's very simply to make hitting thanks bump the thread.

First, open post_thanks.php. Find this line:

PHP Code:

if ($_REQUEST['do'] == 'post_thanks_add'

Inside that if block, find this line:

PHP Code:

if ($using_ajax

Right above that line, add this small chunk of code:

PHP Code:

$threadman =& datamanager_init('Thread'$vbulletinERRTYPE_ARRAY'threadpost');
$threadman->set_existing($threadinfo);
$threadman->set('lastpost'TIMENOW);
$threadman->save(); 

The thread will now be bumped to the top upon hitting thanks. :)

A note to the mod writer: this is a handy feature, and it'd be trivial to add an option in the admin panel to enable/disable the bumping of threads upon hitting thanks. Love the plugin. :)

[edit]
By the way, I'm on a 3.7.3 PL1 install for what it's worth.

That what you're looking for?

DieselMinded 11-13-2008 12:42 AM

Does this version work for 3.7.4 ?

coolnikin 11-13-2008 03:22 PM

Quote:

Originally Posted by DiesellMinded (Post 1664577)
Does this version work for 3.7.4 ?

would also like to know the same :rolleyes:

adamskiii 11-13-2008 07:04 PM

Thank you for this wonderful mod :D. I have installed this on 3.7.4 version and works great. The only problem I have is when I set the Use Legacy (Vertical) Postbit Template option to yes the mod does not show up on the side but the thanks button is there. Any way to fix this so that the mod also shows up in the Vertical Position?

thanks

tester559 11-14-2008 07:51 PM

Quote:

Originally Posted by adamskiii (Post 1665091)
Thank you for this wonderful mod :D. I have installed this on 3.7.4 version and works great. The only problem I have is when I set the Use Legacy (Vertical) Postbit Template option to yes the mod does not show up on the side but the thanks button is there. Any way to fix this so that the mod also shows up in the Vertical Position?

thanks

Same problem...

Veer 11-15-2008 02:52 AM

Quote:

Originally Posted by Pehchaan (Post 1657737)
Hello Abe,

I have moved my cPanel server to another host, everything is working fine except the navigation settings link of Post Thank You Hack and some other hacks like that, when i click on "Post Thanks Settings" its getting blank.

I've re uploaded all files and product, but no result, can you guide me how to resolve this problem?

thanks.

Quote:

Originally Posted by Abe1 (Post 1663924)
Do you see the settings in the regular vb setting area?

Yes, I can see that in regular vb setting.

juanpablo 11-15-2008 05:18 PM

I would like to know the query or how can I delete all thanks (given and recived)... I like to restore all to 0. Thanks!

Talk-Pets 11-16-2008 07:39 AM

Quote:

Originally Posted by DiesellMinded (Post 1664577)
Does this version work for 3.7.4 ?

Quote:

Originally Posted by coolnikin (Post 1664948)
would also like to know the same :rolleyes:

Same here :)


All times are GMT. The time now is 04:46 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.03315 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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