vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Recent Thanks for [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=280109)

Hippy 03-21-2012 03:18 AM

only shows under notifications when your thanked like a pm ..

Hippy 03-21-2012 04:53 AM

1 Attachment(s)
Here's a little something for you perfectionists :D

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

Scandal 03-21-2012 12:57 PM

Quote:

Originally Posted by clutchthese (Post 2311603)
After installing this, the /recent_thanks.php doesn't display my header!!!

Here is a screenshot of what it looks like.

https://vborg.vbsupport.ru/external/2012/03/18.png

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:

Scandal 03-21-2012 08:19 PM

Beta period has been passed. Enjoy! :D
  • v2.6.2 - add: who's online location (thanks to Hippy), 1 css fix

Hippy 03-21-2012 09:34 PM

your Da Man Scandal
welcome

Scandal 03-28-2012 10:52 AM

vB3.8.x version of this hack, here. :)

fai99al99 03-31-2012 12:54 AM

great add thank you and for Furcal15

Hippy 03-31-2012 02:07 AM

Quote:

Originally Posted by Furcal15 (Post 2311450)
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>


Adam H 04-01-2012 09:42 AM

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.

Hippy 04-01-2012 10:48 AM

Quote:

Originally Posted by Adam H (Post 2315662)
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


All times are GMT. The time now is 02:25 PM.

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.01187 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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