vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=122944)

afterglow 02-01-2007 06:38 AM

I probably just found a bug incompatibility of this hack with vb_ad_management_v2[1].1_for_vB3.6x. I installed this hack on a test forum and everything was perfect till i installed vb_ad. When you choose the option to display a banner at the botttom of the first post in a thread and you decided to thank the first poster, the list of users with thanks show up at the bottom of the banner ad, not above it. I've spent many hours trying to find a template glitz in both hacks but can't find it for the life of me. When the ad is disabled, the thanks hack works fine but the moment you display the ad, the thanks show itself at the bottom of the ad. Does anybody have this problem too?

Could someone provide a fix for this?

regards,
afterglow

SCRIPT3R 02-01-2007 05:37 PM

suggestions for future release... Ability to search posts/threads in which Thanks was given (user-specific).
.

w1z4rd 02-02-2007 01:21 AM

Does anyone have this working with GARS at all?

Abe1 02-02-2007 01:47 AM

Quote:

Originally Posted by GearTripper (Post 1172320)
suggestions for future release... Ability to search posts/threads in which Thanks was given (user-specific).
.

look in a users profile

tanyeri24 02-03-2007 01:47 PM

How this double-thx is possible? (see attached)

Please could u explain it, thanks.

SCRIPT3R 02-03-2007 06:25 PM

Quote:

Originally Posted by GearTripper (Post 1172320)
suggestions for future release... Ability to search posts/threads in which Thanks was given (user-specific).

Quote:

Originally Posted by Abe1 (Post 1172662)
look in a users profile

what i mean in this which was posted by a user on one of my forums...

Quote:

I was wondereing if there is a chance to see all the threads I have used the Thanks button?
from what i understand, this is not yet possible. i know from within the User's profile, you are able to find all posts in which a user has received thanks, but you cannot find all posts in which a user has given thanks?

Love30T.com 02-03-2007 06:52 PM

hi dear :)
tank u for your hack
it's really great !! ;)

Quantnet 02-03-2007 09:01 PM

Quote:

Originally Posted by GearTripper (Post 1173816)
from what i understand, this is not yet possible. i know from within the User's profile, you are able to find all posts in which a user has received thanks, but you cannot find all posts in which a user has given thanks?

That's correct. We can only see posts the user received thanks, not the posts that user thanks someone else.

I'm interested in the second feature as well.

Abe1 02-04-2007 06:28 AM

Quote:

Originally Posted by tanyeri24 (Post 1173662)
How this double-thx is possible? (see attached)

Please could u explain it, thanks.

Not sure myself. I've seen this on my forum also. Not sure where the error is. If you look at the table in MySQL, you will see post are posted the same exact second. Not sure how that happens though.

ddr 02-04-2007 01:57 PM

I've solved problem discussed above.
please see thank.txt, rename it into thank.js and put into clientscript directory.

modifications of my templates are:
template post_thanks_box:
Code:

<span id="post_thanks_box_$post[postid]">$post_thanks_box</span>
post_thanks_button
Code:

<a href="#" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give_('$post[postid]'); return false;"</if> style="display:$display_image" rel="nofollow"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" /></a>
post_thanks_postbit_legacy
Code:

<hr>
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px" align="left">
<strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
$liste_user
<if condition="$bbuserinfo[usergroupid] == 6"><br />
<a href="showthread.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_remove_all_('$post[postid]'); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
</if>
<if condition="$post_thanks_user > 0 && $vboptions[post_thanks_delete_own] == 1"><br />
<a href="showthread.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_remove_user_('$post[postid]'); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
</if>
</div>

in SHOWTHREAD template i've included thank.js
other templates not modified =)


All times are GMT. The time now is 09:57 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.02925 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)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
  • (5)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