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)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666)

NarutoFTW 06-28-2011 06:12 PM

Can someone help me wrap the 'find all thanked post by user' link to this code?
<vb:if condition="$post['userid']">
<dt>Received Thanks</dt> <dd>{vb:raw post.post_thanks_thanked_times_formatted}</dd>
</vb:if>
Edit/Delete Message

DS MrSinister 06-28-2011 07:34 PM

Quote:

Originally Posted by NarutoFTW (Post 2214186)
Can someone help me wrap the 'find all thanked post by user' link to this code?
<vb:if condition="$post['userid']">
<dt>Received Thanks</dt> <dd>{vb:raw post.post_thanks_thanked_times_formatted}</dd>
</vb:if>
Edit/Delete Message

this link should help you out..

https://vborg.vbsupport.ru/showpost....postcount=1561

kevin.kool 06-29-2011 02:16 PM

It's would be nice if we can move the thanked box (showing who has thanked the post) into the postbit, i mean above the signature.

leftanalog 06-29-2011 03:08 PM

Ive been looking through the templates, but am unsure what I need to add/change to get the Post thank you hack to work with the"Lightweight" style.

If someone could please help.
Thanks a ton.

neelmani 06-29-2011 05:57 PM

I was trying to install this mod on VB 4.1.4 and it says that it is incompatible with this version.

Does anybody knows where to get a working version with 4.1.4. I really need this mod for my forum

sadiq6210 06-29-2011 06:22 PM

Quote:

Originally Posted by neelmani (Post 2214665)
I was trying to install this mod on VB 4.1.4 and it says that it is incompatible with this version.

Does anybody knows where to get a working version with 4.1.4. I really need this mod for my forum

Open the xml file

Find
Code:

                <dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />
Replace it with

Code:

                <dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.9.9" />

:)

n00bl3t 06-30-2011 11:44 PM

Quote:

Originally Posted by sadiq6210 (Post 2214678)
Open the xml file

Find
Code:

                <dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />
Replace it with

Code:

                <dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.9.9" />

:)

Would be neat if you said which xml file.

I opened up both of the given xml files in this mod and none of those lines were there...

sadiq6210 07-01-2011 07:55 AM

Quote:

Originally Posted by n00bl3t (Post 2215262)
Would be neat if you said which xml file.

I opened up both of the given xml files in this mod and none of those lines were there...

I mean the product which you need to upload it from admincp

((product-post_thanks.xml))

Jackson Soo 07-01-2011 02:05 PM

Quote:

Originally Posted by sadiq6210 (Post 2215366)
I mean the product which you need to upload it from admincp

((product-post_thanks.xml))

This works! Have been trying to solve it for vbulletin 4.1.4 and so glad to see this! You've been a great help indeed.

Any idea how to remove the "date of thanks"? I just want it to show the name of users who have Thanked the post, without the date. Possible? Any help would be greatly appreciated.

sadiq6210 07-01-2011 04:12 PM

Quote:

Originally Posted by Jackson Soo (Post 2215464)
This works! Have been trying to solve it for vbulletin 4.1.4 and so glad to see this! You've been a great help indeed.

Any idea how to remove the "date of thanks"? I just want it to show the name of users who have Thanked the post, without the date. Possible? Any help would be greatly appreciated.

You are welcome :)

Open Template (post_thanks_box_bit) and replace it all with this:


Code:

<a href="member.php?{vb:raw session.sessionurl}u={vb:raw thank.userid}" rel="nofollow">{vb:raw thank.username}</a>{vb:raw virg}


All times are GMT. The time now is 10:40 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.06045 seconds
  • Memory Usage 1,752KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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