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

Scandal 03-16-2012 08:35 AM

Quote:

Originally Posted by djbaxter (Post 2309876)
Using the 4.x version and vBulletin 4.1.1, with the settings as follows:



Notifications of a new Thanks do not occur. This feature, which was what I primarily wanted, only works if the "thanks page" option is enabled (which is okay but I don't particularly need it).

Don't know if this issue also affects the 3.x version.

It is very necessary to enable the page, because the notifications' counter (Notifications: x) sets to 0 only when the user visit this page! So, if there wasn't this issue, the notifications' counter would be increase without cease. Also, on notifications there is the link to that page when a user has new thanks.
The page is the the main thing of this hack.

Maybe I should set the title of "Set to YES if you want to enable the page" to "Enable the hack?". The page was the first idea of this hack, so after a lot of improvements I don't change the phrase. If I publish any new version, I'll change it, thanks!

Scandal 03-16-2012 02:00 PM

Quote:

Originally Posted by Scandal
Notice (bug): Also, if you have enable the "Allow poster to thank themself", the user will receive notification for him votes.

fixed on v2.3!! ;)

Scandal 03-21-2012 02:02 PM

The BETA period has been passed. Enjoy! :D

Crimdog 03-26-2012 01:48 AM

Nevermind, all is working as intended.

viper357 04-13-2012 12:25 PM

...

Zylantex 04-16-2012 01:23 PM

Thanks for a great mod.

wangyu1314 09-15-2012 02:37 AM

can't work in vb 3.6.8, cry.....

Kolektor 09-15-2012 05:18 AM

works well with 3.8.x

Mko 09-16-2012 03:51 PM

For any user who seems to have issues with the date that displays on the recent_thanks.php page, open recent_thanks.php.
Then go to line 100 and 101, and comment out (/* */) those two lines. Below, add:
Code:

$rt_date = vbdate("M j, Y - h:i A", $recent_thank_content_fetcharray['date']);
Then your date should display in this format:
https://vborg.vbsupport.ru/external/2012/09/24.png

Enjoy :)

RSC17 03-05-2013 04:53 PM

Where exactly do I put this in the template:

*3. (Optional if you enable the notifications) Add the link "http://www.yourforum.com/recent_thanks.php" where you want (for example to navbar).


All times are GMT. The time now is 05:44 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.01138 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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