Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x 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.6.2, by Scandal Scandal is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 03-14-2012 Last Update: 03-20-2012 Installs: 289
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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 vB4
  • vBulletin 4.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).
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.

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


How to upgrade from vB3 version:
This hack developed from zero for vB4, so if you upgrade your forum from vB3 to vB4 with the vB3 version of this hack on it, you must uninstall first this older version and to do a clean install of this hack (product install and new file upload).

Changelog:
  • v2.5 - First release for vB4
  • v2.6 - updated file, linkable usernames, admincp phrase changed, 1 bug fix
  • V2.6.2 - add: who's online location (thanks to Hippy), 1 css fix

Tested on: vBulletin 4.1.11 - Post Thank You Hack 7.83

-> Don't forget to click INSTALL!

Download Now

File Type: zip Recent_Thanks_v2.6.2_vB4.zip (139.4 KB, 2642 views)

Screenshots

File Type: jpg screen_notifications.JPG (11.9 KB, 0 views)
File Type: jpg screen_page.JPG (117.7 KB, 0 views)
File Type: jpg screen_usercp.JPG (9.9 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.
9 благодарности(ей) от:
AURFSCAN, djbaxter, dlewisr, elsa23, eTiKeT?, gerryvz, john7911, Popa Andrei, Teascu Dorin

Comments
  #132  
Old 12-06-2013, 05:02 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is on the right side of your abnincp under post thanks.
Did you optimize through your board or phpmyadmin?

If the board do it from phpmyadmin.
Reply With Quote
  #133  
Old 12-06-2013, 05:24 PM
jimnyc jimnyc is offline
 
Join Date: Aug 2003
Location: New York
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
Is on the right side of your abnincp under post thanks.
Did you optimize through your board or phpmyadmin?

If the board do it from phpmyadmin.
When I did it it was through PHPmyadmin. I am currently on the last recounter 'rebuild' right now. Hopefully that will help speed things up a tad. Weird that this would be the one thing affected during the move (that I'm aware of).

Thanks again!
Reply With Quote
  #134  
Old 12-06-2013, 05:44 PM
jimnyc jimnyc is offline
 
Join Date: Aug 2003
Location: New York
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As it's going through the last counter - Update Post Thanks Post Amount - which I think is about 670k posts... It got to about 130k and really bogged down there, I got an email report that the SQL server has gone away, and then it picked back up and is very smooth since. Does it make sense that it would get to a certain portion of the counter and die down, and then get through it? Would that potentially point to an issue in that 'counted' area, or maybe now that it's doing its recounting it may have fixed what was wrong in the database?

Just rambling until it's done! I just love the thanks hack and the recent thanks, hoping not to lose either of them!
Reply With Quote
  #135  
Old 12-06-2013, 05:55 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it stumbled on something that wasn't right it will load sql.
It could of been a moved or deleted post or thread. Never know.
All you know atm is something isn't right
Hope it will correct any issue.
Trouble shooting after a move is time consuming.

Hood luck
Reply With Quote
  #136  
Old 12-06-2013, 11:52 PM
jimnyc jimnyc is offline
 
Join Date: Aug 2003
Location: New York
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
If it stumbled on something that wasn't right it will load sql.
It could of been a moved or deleted post or thread. Never know.
All you know atm is something isn't right
Hope it will correct any issue.
Trouble shooting after a move is time consuming.

Hood luck
I did all of the above earlier today and things seemed a little smoother for awhile. Now it's back to just hanging when I click on recent thanks, or taking an awfully long time, and getting sporadic emails with recent_thanks as the script and that the mysql server has gone away. But again, it's not the server, as everything else loads quickly and flawlessly.

Is my only option going to be to remove the post thanks 7.83? I've reuploaded and overwrote all files and reinstalled the xml, but I'm hoping to not have to uninstall and lose what took so long to accumulate.

Thanks!
Reply With Quote
  #137  
Old 12-06-2013, 11:55 PM
jimnyc jimnyc is offline
 
Join Date: Aug 2003
Location: New York
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to add, which is odd, but this seems to happen each time now... Once the issue starts, then it gets worse, then it worsens until the SQL server hangs and I get the error. Often, after that, it miraculously starts working for awhile again, and flawlessly, until it starts again. But through it all, nothing else is affected. And what I mean by that is every automated email I get is in reference to recent_thanks, and nothing else ever hangs up when clicked on.
Reply With Quote
  #138  
Old 12-07-2013, 11:39 AM
jimnyc jimnyc is offline
 
Join Date: Aug 2003
Location: New York
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm in a little bit of distress mode now! LOL

I decided this morning to uninstall the post thanks 7.83 hack and start over. But when I click on uninstall, it just sits there forever. Something must be screwy in the database. Tried like 10x and can't uninstall. But now, opening ANY thread on the board (where a thanks must have been made), the thread won't open and I get a SQL error as noted below. Anyway to fix this and uninstall the post thanks and recent thanks hack manually?

Thanks!
Reply With Quote
  #139  
Old 12-07-2013, 11:58 AM
jimnyc jimnyc is offline
 
Join Date: Aug 2003
Location: New York
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For future readers in a similar situation, at least I figured out my uninstall problem. I first went into "plugin manager" and deactivated all "post thank you" references. Then I uninstalled the "recent thanks" hack first. Then it let me uninstall the post thanks hack finally. I don't know if removing the other hack allowed me to uninstall the other, or if it was deactivating plugins, or just sheer luck.

I completelt reinstalled everything from scratch again, just like I did from the get go. Hopefully that will put and end to my issue!

:crossing finger smiley:

Thanks!
Reply With Quote
  #140  
Old 02-16-2014, 06:33 PM
viliksar1's Avatar
viliksar1 viliksar1 is offline
 
Join Date: Feb 2013
Location: Gagauzia
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.2.2 does not work on how to make it work?
Reply With Quote
  #141  
Old 02-16-2014, 07:41 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by viliksar1 View Post
4.2.2 does not work on how to make it work?
Maybe posting any error logs or something to show us its not working for you as its hard to guess
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 08:31 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.05114 seconds
  • Memory Usage 2,353KB
  • Queries Executed 26 (?)
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
  • (3)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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_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