Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Recent Thanks for [AJAX] Post Thank You Hack Details »»
Recent Thanks for [AJAX] Post Thank You Hack
Version: 2.3, by Scandal Scandal is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 03-10-2012 Last Update: 03-15-2012 Installs: 78
Supported Uses Plugins Auto-Templates
Additional Files  

vB4 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=280109

Info:
  • This mod works with the hack "[AJAX] Post Thank You Hack" as an addon and a) provides a page with the latest X (default: 25) "Thank You" the user has received b) notify the user via vbulletin notification menu (on navbar)
  • Very useful for users who want to keep up with the "Thank You" votes on their posts.
System Requirements:
  • [AJAX] Post Thank You Hack - for vB3
  • vBulletin 3.8.x
Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 1
  • Time to install: 1 minute max
How to install:
  1. Upload the file "recent_thanks.php" to your forum directory.
  2. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
  3. (Optional if you enable the notifications) Add the link "http://www.yourforum.com/recent_thanks.php" where you want (for example to navbar).
How to upgrade:
  1. Upload the new file recent_thanks.php
  2. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] with set of "Allow Overwrite" to YES

Notice (not a bug): The system doesn't decrease the notifications' count for new "Thank you" when the admin push the "Remove all" of a post (rare but ok). So the user will notified but he will not see the removed votes on the page.

Changelog:
  • v1.0 - first release
  • v1.1 - updated file, new: AdminCP environment/options, new: phrases
  • v1.2 - updated file, new: notification system
  • v2.0 - updated file, 2 bug fixes, add usercp option to allow users to turn off the notifications
  • v2.2 - updated file, improved appearance of the page, 1 bug fix
  • v2.3 - updated file, linkable usernames, admincp phrase changed, 1 bug fix
Tested on: vBulletin 3.8.7 - Post Thank You Hack 7.7

-> Don't forget to click INSTALL!

Download Now

File Type: zip Recent_Thanks_v2.3_vB3.zip (219.6 KB, 830 views)

Screenshots

File Type: jpg screen_notif.JPG (23.5 KB, 0 views)
File Type: jpg screen_usercp.jpg (13.0 KB, 0 views)
File Type: jpg screen_page.jpg (116.8 KB, 0 views)
File Type: jpg screen_admincp.jpg (38.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
11 благодарности(ей) от:
atmaca, BlackxRam, caoducanh9x, career, Concha, Kolektor, lange, Ov3rrun, sadiq6210, TTayfun, viper357

Comments
  #22  
Old 03-15-2012, 08:00 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
I have set the default value of this field to YES for all members. Very queer.
Has anyone this problem?
No, In my forum (vb4), the default value of this field is YES. :up:

BTW, I tried to convert it to vb4 because I like it and want to use it live as soon as possible, I changed some codes in php file and in the template to finish with this:

https://vborg.vbsupport.ru/attachmen...1&d=1331798140


That errors is relating to (eval) in two lines:

PHP Code:
eval('$recent_thank_bits .= "' fetch_template('recent_thank_bit') . '";'); 

&

eval(
'print_output("' fetch_template('recent_thanks') . '");'); 
I tried to update it based on this thread:
https://vborg.vbsupport.ru/showthread.php?t=228078

But failed !
so I decided to wait until you update it to vb4
Attached Images
File Type: jpg th3.jpg (132.8 KB, 0 views)
Reply With Quote
  #23  
Old 03-15-2012, 08:07 AM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sadiq6210 View Post
But failed !
so I decided to wait until you update it to vb4
Yes, it is not so simple to convert a product to vB4!
Must be changes to the php file and to templates (variables, css etc).
Don't be so impatient I promise I'll try to publish a vb4 version of this hack in a few days, just I want to be sure with vB3 version before starts to develope it.
Reply With Quote
  #24  
Old 03-15-2012, 08:11 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I will be here until you open new thread in vb4 forum
Reply With Quote
Благодарность от:
Scandal
  #25  
Old 03-15-2012, 06:51 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB4 Version here: https://vborg.vbsupport.ru/showthread.php?t=280109 :up:
Reply With Quote
  #26  
Old 03-15-2012, 07:22 PM
Lacryma Lacryma is offline
 
Join Date: Nov 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, I have a Problem, When I see the notification, all the Style is gone, and I see a blank page with the link, look:
Attached Images
File Type: jpg bug.jpg (99.6 KB, 0 views)
Reply With Quote
  #27  
Old 03-15-2012, 07:37 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lacryma View Post
Hello, I have a Problem, When I see the notification, all the Style is gone, and I see a blank page with the link, look:
Your vBulletin version?
Reply With Quote
  #28  
Old 03-15-2012, 07:41 PM
Lacryma Lacryma is offline
 
Join Date: Nov 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Powered by : vBulletin® Versión 3.8.6
Reply With Quote
  #29  
Old 03-15-2012, 07:50 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lacryma View Post
Powered by : vBulletin? Versi?n 3.8.6
I make a change on the file recent_thanks.php, re-download the Recent_Thanks_v2.2_vB3.zip and use the new one recent_thanks.php

Let me know if it fixed
Reply With Quote
  #30  
Old 03-15-2012, 07:59 PM
Lacryma Lacryma is offline
 
Join Date: Nov 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work Perfect !

Thanksssssss
Reply With Quote
Благодарность от:
Scandal
  #31  
Old 03-15-2012, 09:42 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using the 4.x version and vBulletin 4.1.1, with the settings as follows:

Quote:
Set to YES if you want to enable the page. = No
Enable notification system? = Yes
If enabled, user will recieve a notification (on vbulletin notification menu) each time a post has new "thanks" votes.
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04717 seconds
  • Memory Usage 2,368KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete