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
  #22  
Old 03-21-2012, 03:18 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

only shows under notifications when your thanked like a pm ..
Reply With Quote
  #23  
Old 03-21-2012, 04:53 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's a little something for you perfectionists

I can't stand to see unknown location in the who's online...

how about you ??

here is a little plugin I tossed together for you guys

Scandal feel free to add it to your next release..
Also your efforts are very much appreciated .. First for not letting Abe1's mod fiddle away...:up: And this Release of a Great Addon For Abe1's Post Thanks Mod

ok
go to your admincp then Plugins & Products - Download / upload plugins > go all the way to the bottom you'll see "Import Plugin Definitions XML File" click browse file find the product.xml on your pc and then click import.. DONE!

here is a screen shot of what it looks like... feel free to change the wording around
enjoy
Hippy
Attached Images
File Type: jpg recent_thanks-wol.jpg (20.6 KB, 0 views)
Attached Files
File Type: zip product-recent_thanks_wol.zip (571 Bytes, 55 views)
Reply With Quote
6 благодарности(ей) от:
Delfi_r, djbaxter, DS MrSinister, Emeralda, sadiq6210, Scandal
  #24  
Old 03-21-2012, 12:57 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 clutchthese View Post
After installing this, the /recent_thanks.php doesn't display my header!!!

Here is a screenshot of what it looks like.

I talk with clutchthese via PM and the problem solved. The solution:
Quote:
Open the template recent_thanks and find find the line:
Code:
{vb:raw headinclude}
add below:
Code:
{vb:raw headinclude_bottom}
:up:
Reply With Quote
2 благодарности(ей) от:
clutchthese, Hippy
  #25  
Old 03-21-2012, 08:19 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beta period has been passed. Enjoy!
  • v2.6.2 - add: who's online location (thanks to Hippy), 1 css fix
Reply With Quote
  #26  
Old 03-21-2012, 09:34 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your Da Man Scandal
welcome
Reply With Quote
  #27  
Old 03-28-2012, 10:52 AM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB3.8.x version of this hack, here.
Reply With Quote
  #28  
Old 03-31-2012, 12:54 AM
fai99al99 fai99al99 is offline
 
Join Date: Sep 2011
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great add thank you and for Furcal15
Reply With Quote
  #29  
Old 03-31-2012, 02:07 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Furcal15 View Post
I did some modification to this....If anyone is interested....In the user info panel, it shows "Thanked XX times in XXX post", well that phrase is now a link and it takes you to http://yoursite.com/recent_thanks.php

See demo here: http://baseballnation.net/showthread...ll=1#post57431

Edit Templates > Post_Thanks_Postbit_Info and replace EVERYTHING will the following code:

Code:
<vb:if condition="$post['userid']">
    <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="/recent_thanks.php">{vb:rawphrase post_thanks_time_post}</a></dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</a></dd>
    <vb:else />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</a></dd>
    </vb:if>
</vb:if>
revised it a little . added alt= for mouse over
Code:
<vb:if condition="$post['userid']">
    <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="/recent_thanks.php" alt="" title="View Your Recent Thanks">{vb:rawphrase post_thanks_time_post}</a></dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php" alt="" title="View Your Recent Thanks">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</a></dd>
    <vb:else />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php" alt="" title="View Your Recent Thanks">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</a></dd>
    </vb:if>
</vb:if>
Reply With Quote
  #30  
Old 04-01-2012, 09:42 AM
Adam H Adam H is offline
 
Join Date: Apr 2008
Location: UK
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like it and good to see the better Post thanks hack being worked on still, However i wish coders would take a little more time and put classes on their tables and divs so that everyone can style the mod how they like with out having to edit the mod templates them selves and everything can be done with CSS.
Reply With Quote
  #31  
Old 04-01-2012, 10:48 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adam H View Post
Like it and good to see the better Post thanks hack being worked on still, However i wish coders would take a little more time and put classes on their tables and divs so that everyone can style the mod how they like with out having to edit the mod templates them selves and everything can be done with CSS.
there is enough work just feeking it working like it should
please if you made improvements
pot them so we can add them..
poke the link in my sig to see what was done to date
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 07:56 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.05938 seconds
  • Memory Usage 2,379KB
  • 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
  • (4)bbcode_code
  • (4)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
  • (17)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