![]() |
It should be right next to your "Edit" button. You may want to recheck your template modifications.
|
No, we're not talking about where the button goes, we're talking about the code that feeds this:
HTML Code:
$post_thanks_button HTML Code:
<center><if condition="$show['quickreply'] AND !$show['threadedmode']"><a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a></if> |
Quote:
|
[high]* Tulsa drops a reminder in Abe's ear, "groan button". ;)[/high]
|
Quote:
|
i had to unistall it and now when i got to reinstall its not showing the template mods i need to do. i'm usuing 3.5.1 havent upgraded as of yet
|
Quote:
|
Hi, I want installed the hack, but i don't see a button tank...:S Why?
|
Quote:
|
Quote:
Did you upload the button to the correct place on the server? |
Quote:
ACP -> Plugin System -> Plugin Manager -> postbit_display_start hook location |
Quote:
|
Quote:
|
Quote:
|
I love this hack as do my users but I was thinking today that it would be great is the VB promotion system could use the thanks data for auto promotions. Right now it will count posts, reputation,and check date.
|
can you integrate this hack with the hide hack?
|
Quote:
|
thanx abe for this one.
just 2 points. you should phrase the "Thanked Post" for the reputation in showthread_start Code:
$db->query(" INSERT INTO ". TABLE_PREFIX ."reputation |
Quote:
The replutation should be deleted. Right now I just tested it and fixed up a drop and know it works. Let me know once I release the update. |
Version 2.7 (12/18/05):
|
Quote:
Code:
https://vborg.vbsupport.ru/showthread.php?t=99918&highlight=hide this is a link to a working hide regards and thanks for this great hack |
Quote:
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
i responded to Don corleone.......who asked about integrating th thank yu hack with hide hack....... it would either be with the lockdown hack.....(reply to view the link) or the hide hack (register to view)...... but instead of (register to view link) in the hide hack....or instead of (reply to view the link) in lockdown hack.......i think he refeered to press thankyou button to see the link..... again my apologies ....... kind regards |
Quote:
|
yap sure i forgot where i saw that but a little search in my favourite ....i found it...
this is an example of integrated for vb 3.0.9 Code:
http://www.vbhackers.com/forum/showthread.php?t=2187&highlight=Lockdown+hack Code:
http://www.vbhackers.com/forum/showthread.php?t=2096&highlight=Lockdown+hack |
Hey, nice hack there you made Abe1. /me clicked installed.
I made a modification to optimize the querying part of the hack as follow: In plugin Post Thank You Hack at postbit_display_start, I'd changed: PHP Code:
PHP Code:
You can include the mod if you want. Thanks for great hack! ;) |
Quote:
|
Quote:
Database error in vBulletin 3.5.2: Invalid SQL: SELECT post_thanks.* FROM vb_post_thanks, vb_post WHERE post.postid = post_thanks.postid AND post.threadid = '43120'; MySQL Error : Unknown table 'post_thanks' Error Number : 1051 |
materros - Replace this line in that same plugin (Post Thank You Hack at postbit_display_start hook location)
PHP Code:
PHP Code:
PHP Code:
|
thanks for the update
after applied a little bit different error: :) Database error in vBulletin 3.5.2: Invalid SQL: SELECT vb_post_thanks.* FROM vb_post_thanks, vb_post WHERE post.postid = post_thanks.postid AND post.threadid = '44699' ORDER BY vb_post_thanks.username ASC; MySQL Error : Unknown table 'post' in where clause Error Number : 1109 Date : Thursday, December 22nd 2005 @ 09:10:17 PM |
i forgot to tell that i have table prefix - "vb_"
BR, Ross |
Quote:
PHP Code:
|
sorry guys...
again prob: Database error in vBulletin 3.5.2: Invalid SQL: SELECT vb_post_thanks.* FROM vb_post_thanks, vb_post WHERE vb_post.postid = post_thanks.postid AND vb_post.threadid = '44699' ORDER BY vb_post_thanks.username ASC; MySQL Error : Unknown table 'post_thanks' in where clause Error Number : 1109 |
i've handled it :))
thanks to Abe1 ! i've added everywhere - " . TABLE_PREFIX . " and here is the final strings: $post_thanks_cashe = $db->query("SELECT " . TABLE_PREFIX . "post_thanks.* FROM " . TABLE_PREFIX . "post_thanks, " . TABLE_PREFIX . "post WHERE " . TABLE_PREFIX . "post.postid = " . TABLE_PREFIX . "post_thanks.postid AND " . TABLE_PREFIX . "post.threadid = '$post[threadid]' ORDER BY " . TABLE_PREFIX . "post_thanks.username ASC"); |
Quote:
PHP Code:
|
works great thanks for this hack :p
i have one suggestion it's possible to bump a thread when a member use the thanks button like a basic answer ? hum i hope you understand sorry for my bad english |
All times are GMT. The time now is 01:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|