View Full Version : Show Thread Enhancements - [AJAX] Post Thank You Hack
Pages :
1
2
3
4
5
6
[
7]
8
9
Hi,
The important question: will this version also reset the counters in case of upgrading from any older version ?
It shouldn't, but if it does, you can use the recounters.
ramta
07-31-2007, 04:51 AM
excelente hack gracias amigo
req2d
07-31-2007, 10:03 AM
Hi Abe1, have been using this for a while and thank you for it.
I currently have a custom setup where I'm only taking one value from the whole code for my postbit, i.e. :
https://vborg.vbsupport.ru/
I noticed the template edits in the update for 3 6 8 don't make use of this code for each element, can I still keep the old one? Many thanks :)
Hi Abe1, have been using this for a while and thank you for it.
I currently have a custom setup where I'm only taking one value from the whole code for my postbit, i.e. :
http://img222.imageshack.us/img222/6355/custompostbitgy2.jpg
I noticed the template edits in the update for 3 6 8 don't make use of this code for each element, can I still keep the old one? Many thanks :)
You can blank out templates you dont want.
dtommy79
07-31-2007, 11:42 AM
Hi,
How can I put the thanks datas (Thanks: 1
Thanked 1 Time in 1 Post) in the posts under the Location, Join date, posts etc.?
dtommy79
07-31-2007, 07:02 PM
Anyone?
Hornstar
08-01-2007, 01:01 AM
Upgraded without a problem, will now test out the admincp features more, hopefully they are working now.
twilighthush
08-01-2007, 08:46 PM
Okay, I'm trying to edit my post_thanks_postbit_legacy template so I can apply <div class="info"> around "Thanks: 0 / Thanked 0 Times in 0 Posts" ... but I can't seem to figure it out. I've tried a lot of different things. Currently, this is what it looks like:
<div class="info" style="padding:0px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td class="alt2" width="162">
<if condition="$post['post_thanks_amount'] == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
<else /><strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if>
<if condition="$bbuserinfo['usergroupid'] == 6"><br />
<a href="post_thanks.php?do=post_thanks_remove_all&p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
</if>
<if condition="$post['show_thanks_remove_option']"><br />
<a href="post_thanks.php?do=post_thanks_remove_user&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
</if>
</td>
<td class="alt1">
<div>$post[post_thanks_bit]</div>
</td>
</tr>
</table>
</div>
-- still nonfunctional. Please advise?
chiwexa
08-01-2007, 09:12 PM
Hey, i don't have got a border around it. Pls can anyone help me?
Usually it should by like this:
https://vborg.vbsupport.ru/attachment.php?attachmentid=64315&d=1179188414
SCRIPT3R
08-01-2007, 10:07 PM
Okay, I'm trying to edit my post_thanks_postbit_legacy template so I can apply <div class="info"> around "Thanks: 0 / Thanked 0 Times in 0 Posts" ... but I can't seem to figure it out. I've tried a lot of different things. Currently, this is what it looks like:
<div class="info" style="padding:0px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td class="alt2" width="162">
<if condition="$post['post_thanks_amount'] == 1"><strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
<else /><strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong></if>
<if condition="$bbuserinfo['usergroupid'] == 6"><br />
<a href="post_thanks.php?do=post_thanks_remove_all&p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
</if>
<if condition="$post['show_thanks_remove_option']"><br />
<a href="post_thanks.php?do=post_thanks_remove_user&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
</if>
</td>
<td class="alt1">
<div>$post[post_thanks_bit]</div>
</td>
</tr>
</table>
</div>
-- still nonfunctional. Please advise?
is this what you're trying to accomplish?
dtommy79
08-01-2007, 10:53 PM
hi,
How can I put the 'Thanks:' and 'Thanked x times in x Posts' under the Join date and post numbers? Like here on the picture:
https://vborg.vbsupport.ru/attachment.php?attachmentid=35082&d=1128225962
twilighthush
08-01-2007, 11:00 PM
No, that isn't.
In the postbit_legacy: http://www.jrockrevolution.com/forum < There are Div boxes around each field of information. I ideally want divs around the Thank you bit.
Mag1c
08-02-2007, 03:05 AM
the thanks button does not even show on my site?! whats the deal.. i installed everything correctly.. some help please
rodneytamblyn
08-02-2007, 03:14 AM
Hi Mag1c,
If you have ever previously installed this mod you may have manually edited the templates, you need to update these edits, as newer versions have changed the template edits.
Be sure to **carefully** check the "Template Edits for Custom Styles.txt" against your site.
~ Rodney
Mag1c
08-02-2007, 03:21 AM
i havent ever really installed something... must of been my uploader.. im a complete newb to this.. can u guide me?
i installed v 3 6 8
i have vb 3.6.8
Mag1c
08-02-2007, 03:40 AM
ok i found the custom style thing.. now i go to styles.. my style..."air" then i look for the template.. i get in the template.. i found the code
now what do i do with the "place after"
Mag1c
08-02-2007, 03:54 AM
i just did all the template edits.. and my thanks button still wont show up!
Mag1c
08-02-2007, 04:00 AM
sorry for wasting your time! thanks i figured it out myself!
great mod.. haha
hi,
How can I put the 'Thanks:' and 'Thanked x times in x Posts' under the Join date and post numbers? Like here on the picture:
https://vborg.vbsupport.ru/attachment.php?attachmentid=35082&d=1128225962
What version of vb do you have?
dtommy79
08-02-2007, 06:43 AM
What version of vb do you have?
Hi,
I have vb 3.6.8
Hi,
I have vb 3.6.8
Did you install the latest version?
dtommy79
08-02-2007, 11:15 AM
Did you install the latest version?
Yes
mauro1947
08-02-2007, 01:48 PM
I have exactly the same problem....:(
In my vB 3.6.8 the Thanks button is not shown...
Mag1c
08-02-2007, 03:12 PM
number 1 problem
abe if you select my air skin and go to the top of the page... for some reason a box with advanced search shows up and find all thanks posts... can you help!
number 2
it doesnt show the thanks under someones post if they got thanked.. and its selected in the settings.. help!
My site (http://legacygfx.com/forum/index.php) so you can see what im talking about
SCRIPT3R
08-02-2007, 03:18 PM
number 1 problem
abe if you select my air skin and go to the top of the page... for some reason a box with advanced search shows up and find all thanks posts... can you help!
number 2
it doesnt show the thanks under someones post if they got thanked.. and its selected in the settings.. help!
My site (http://legacygfx.com/forum/index.php) so you can see what im talking about
you need to read/apply the Template Edits for Custom Styles.txt.
Mag1c
08-02-2007, 03:32 PM
i did apply those template edits... so i dont know what went wrong..
twilighthush
08-02-2007, 09:53 PM
Still need help with my problem:
https://vborg.vbsupport.ru/showpost.php?p=1307512&postcount=1509
https://vborg.vbsupport.ru/showpost.php?p=1307608&postcount=1513
dtommy79
08-03-2007, 01:11 PM
What version of vb do you have?
Any suggestion???
Yes
Then it should come up there. Where is it showing now?
al.vb
08-03-2007, 01:33 PM
For me it worked perfect, no problems at all!!
thanks for the nice hack!
dtommy79
08-03-2007, 01:57 PM
Then it should come up there. Where is it showing now?
It's only displayed in profile, not in posts. Here is a link to my forum:
My forum (http://www.mkportal.co.hu/forum/)
It's only displayed in profile, not in posts. Here is a link to my forum:
My forum (http://www.mkportal.co.hu/forum/)
Go read the template edit file in the zip file.
mauro1947
08-04-2007, 08:07 PM
All my problems solved :D :D :D
A lot of thanks to @Abe1
Regards!
welovehiphop
08-04-2007, 08:46 PM
great hack!
vivamexico55
08-04-2007, 09:59 PM
Hello Abe,
Thanks for the hack, it's been probably the most useful in my community.
I'd like to know the proper method to upgrade from 5.3 to 6 of your hack.
I'm going to be using Vbulletin 3.6.8, and I would like to avoid any problems. Is it possible to preserve all thanks that users have received?
Hello Abe,
Thanks for the hack, it's been probably the most useful in my community.
I'd like to know the proper method to upgrade from 5.3 to 6 of your hack.
I'm going to be using Vbulletin 3.6.8, and I would like to avoid any problems. Is it possible to preserve all thanks that users have received?
Sure. You dont need to uninstall. Just upload the XML product again. You will need to remove any post thanks tempale edits though.
Zaubibaby
08-05-2007, 08:28 AM
Hi,
using 3.6.8 and the latest version of your hack, how do I remove the "Thanks: 0
Thanked 1 Time in 1 Post "-information in the User Profile?
Going through this thread here, I saw that in former versions, it was possible to alter a/some template(s), but now I'm unsure which template has to be changed (and how) to avoid this information being displayed.
Going through the templates belonging to the Hack (which are altogether 9, as far as I see in the AdminCP), I'd presume that something has to be changed in the post_thanks_member_info and maybe in the postbit_***?
Thanks in advance!
Zaubibaby
08-05-2007, 10:43 AM
Another question, maybe in connection with the above. Hack adds a pull-down to AdminCP
https://vborg.vbsupport.ru/
where the settings may be done.
While "Settings" is working well,
both "Recounters" & "Special Actions" don't work, as the connected urls ...
http ://www.xxxx.de/board/admincp/post_thanks_admin.php?do=recounters
http ://www.xxxx.de/board/admincp/post_thanks_admin.php?do=special_actions
both produce a "site doesn't exist on your server"-fault.
What have I done wrong?
victorvanv
08-05-2007, 09:31 PM
Suggestion for more busy forums :
Keep the thank you information box hidden by default (optional via settings I guess). Then write the thanks-amount at the bottom of a post with a collapse link beside it, so that you can view who thanked.
Ala this : http://www.lfsforum.net/showthread.php?p=510386#post510386
This gives the same information while keeping threads a bit cleaner.
Regards,
CityGuard
08-06-2007, 05:02 PM
What file are you trying to install?
Abe1, this is a very cool hack and we'd like to implement it in our forum. Per post 1428 we're getting a strange error when attempting installation -- strange only because we're using 3.6.7 patch 1. Any clue why the installation system would be confused about which version of vBulletin we are using or what I can do to solve it?
We've now upgraded to the 3.6.8 version and the compatibility error is resolved. Since we swtich versions I didn't check back to what file we'd tried before, but if this error wasn't occurring for other people presumably we'd tried installing the wrong version. With 3.6.8 now set up, the thank you function is working in our test environment.
BozzaJos
08-06-2007, 05:38 PM
Many many many thanks Abe for both your Post Thank You Hack as your Post Groan Hack! They are both quality!
One question: I installed the latest version of both hacks but I would like to display the images underneath the buttons edit, quote, report etc. etc. Is this possible and could you (or someone else) explain to me how?
darkakira
08-06-2007, 08:37 PM
I have an issue. (fixed it)
But now I have a new issue. Is here a way to use the postbit style of people who said thanks when using the postbit legacy style on forum. I dont like how postbit_legacy listing for the people who said thanks looks. Is there a way to use other without using the other postbit?
http://www.akarui-japan.com <----- My site
Suggestion for more busy forums :
Keep the thank you information box hidden by default (optional via settings I guess). Then write the thanks-amount at the bottom of a post with a collapse link beside it, so that you can view who thanked.
Ala this : http://www.lfsforum.net/showthread.php?p=510386#post510386
This gives the same information while keeping threads a bit cleaner.
Regards,
Intersting idea. I'll to think about it.
Another question, maybe in connection with the above. Hack adds a pull-down to AdminCP
http://img410.imageshack.us/img410/2686/fehler2do5.jpg
where the settings may be done.
While "Settings" is working well,
both "Recounters" & "Special Actions" don't work, as the connected urls ...
http ://www.xxxx.de/board/admincp/post_thanks_admin.php?do=recounters
http ://www.xxxx.de/board/admincp/post_thanks_admin.php?do=special_actions
both produce a "site doesn't exist on your server"-fault.
What have I done wrong?
You dont have all the files uploaded.
Many many many thanks Abe for both your Post Thank You Hack as your Post Groan Hack! They are both quality!
One question: I installed the latest version of both hacks but I would like to display the images underneath the buttons edit, quote, report etc. etc. Is this possible and could you (or someone else) explain to me how?
Play around with the templates.
I have an issue. (fixed it)
But now I have a new issue. Is here a way to use the postbit style of people who said thanks when using the postbit legacy style on forum. I dont like how postbit_legacy listing for the people who said thanks looks. Is there a way to use other without using the other postbit?
http://www.akarui-japan.com <----- My site
Copy the post_thanks_postbit template info from one to the other.
VietPirates
08-07-2007, 07:07 AM
Thanks: 10
Thanked 831 Times in 97 Posts
I'd like to keep "Thanked 831 Times in 97 Posts" and remove "Thanks: 10" in postbit. How can i do it?
Update: I tried to comment out "$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);" , but it still displays "Thanks: "
Thx!
Roxie
08-07-2007, 02:42 PM
I just did an upgrade and now I get a blank page on showthread.php (only while this hack is enabled). I searched this thread but can't find a similar issue.
TaBsiCore
08-07-2007, 03:12 PM
Hi,
i upgraded from 6.0 to 6.3. Now i receive the following error if someone tries to use the Thank feature:
Warning: Invalid argument supplied for foreach() in/includes/functions_post_thanks.php (Row 183)
I made some custom changes to the function_post_thanks.php. But i uploaded the original one with the same error.
vB Version is 3.6.8. I hope that someone can help me.
Zaubibaby
08-07-2007, 03:20 PM
You dont have all the files uploaded.
*eek*, you are right, I missed the post_thanks_admin.php.
While /me standing ashamed in the corner, could you be so kind to answer to my first question as well, as unfortunately & in contrary to my hope, "special actions" doesn't contain a switch "turn off the thank you-stuff information in users profiles" ...:
using 3.6.8 and the latest version of your hack, how do I remove the "Thanks: 0 Thanked 1 Time in 1 Post "-information in the User Profile?
Going through this thread here, I saw that in former versions, it was possible to alter a/some template(s), but now I'm unsure which template has to be changed (and how) to avoid this information being displayed.
Going through the templates belonging to the Hack (which are altogether 9, as far as I see in the AdminCP), I'd presume that something has to be changed in the post_thanks_member_info and maybe in the postbit_***?
Thanks in advance!
Roxie
08-08-2007, 01:32 AM
*edit* Thought I fixed it...but nope!
darkakira
08-08-2007, 02:59 AM
Copy the post_thanks_postbit template info from one to the other.
Thanks. Worked like a charm. Now I just need to modify phrases a little for my site.
Great hack BTW!
georgedd
08-08-2007, 09:48 AM
Just wondering, what's the best way to reset the stats manually (# of thanks)? I think it'd be great if a feature exists that supports resetting stats automatically (ie: every 30 days), but in the meantime, just wondering what the best way is to do this manually.
nnjj.net
08-08-2007, 11:05 AM
how I can change the place of the thanks icon?
vitrag24
08-08-2007, 05:16 PM
strange problem.
Getting db error since today only.not installed any addon or updated anything.
any solution?
here is the notification mail which i'm getting immediately when user click on thanks.
Database error in vBulletin 3.6.4:
Invalid SQL:
INSERT INTO vb3_post_thanks
(userid, username, date, postid)
VALUES ('5867', '******', 1186596878, '78');
MySQL Error : Duplicate entry '119808' for key 1
Error Number : 1062
Date : Wednesday, August 8th 2007 @ 02:14:38 PM
Script : http://www.*******.com/showthread.php?do=post_thanks_add_ajax&p=78
Referrer :
IP Address : ******
Username : ******
Classname : vb_database
vitrag24
08-08-2007, 05:28 PM
hey.i log in to my cpanel and clicked on repair db and it solved now.
i want to know where was the prb?
and why?
will it recurr?
vspro
08-08-2007, 05:48 PM
I don't know. When i click button Thanks. It not accept it move a new page and not information, it's white page. when I click button Back. I don't lock my name in box thank.
You can help me fix it.
Hi,
i upgraded from 6.0 to 6.3. Now i receive the following error if someone tries to use the Thank feature:
Warning: Invalid argument supplied for foreach() in/includes/functions_post_thanks.php (Row 183)
I made some custom changes to the function_post_thanks.php. But i uploaded the original one with the same error.
vB Version is 3.6.8. I hope that someone can help me.
Try running the recounters.
Just wondering, what's the best way to reset the stats manually (# of thanks)? I think it'd be great if a feature exists that supports resetting stats automatically (ie: every 30 days), but in the meantime, just wondering what the best way is to do this manually.
I wouldn't advise it unless you remove all the thanks also.
Roxie
08-10-2007, 01:33 PM
Any ideas about the blank page I'm getting when the hack is enabled?
vspro
08-11-2007, 03:59 AM
@ Abe1 : Help me.
I don't know. When i click button Thanks. It not accept it move a new page and not information, it's white page. when I click button Back. I don't lock my name in box thank.
You can help me fix it.
Soliloquy
08-11-2007, 04:21 AM
I would love to see a Leaderboard or Top Ten addon to this, to show the users getting the most thanks. (I could have sworn I saw someone either request this already or announce their own addon, but can't find it now.)
lolo?
08-11-2007, 08:35 AM
i have a probleme
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /post_thanks.php on line 52
when i use the thanks button
i use vb3.6.8 postthanks 6.3
php5 and mysql 5
bigraph
08-11-2007, 06:45 PM
thanks :)
TaBsiCore
08-11-2007, 09:04 PM
Try running the recounters.
I tried that, but it didn't helped.
Edit: Ok it "helped", before only a few had this problem. Now everyone has it .P
donnie_ogm
08-12-2007, 12:59 PM
Problem also for me replacing 5.3 hack version with the 6.3 for 3.6.8 (version of my board naturally).
The problem is that now we can't see the name of the people who have said thank... so you look after post ...
The Following 2 Users Say Thank You to donnie_ogm For This Useful Post:
but in the box there isn't the name!
Why? Any ideas? ... please...
also repairing and optimizing tables don't solve the problem
I've removed the old edits to the templates memberinfo, postbit, postbit_legacy and navbar, do I need also to remove the family of templates called "Post thank you hack templates"?
help me
redraider
08-13-2007, 07:21 PM
Never mind it works now. Great hack by the way!
Dream
08-14-2007, 06:50 AM
I upgraded from 6.2 to 6.3, do I need to remove the SHOWTHREAD template edit?
sunnycher
08-14-2007, 08:49 PM
what do you mean rebuild counters?
sunnycher
08-14-2007, 09:05 PM
Ok, did the rebuild counter thingy and still getting the Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183 error.
sunnycher
08-14-2007, 09:11 PM
This happens when I click on the thanks button, but if I refresh, the error doesn't show any more. It shows right about the post that you would click the thank you button on.
VietPirates
08-16-2007, 04:46 AM
Thanks: 10
Thanked 831 Times in 97 Posts
I'd like to keep "Thanked 831 Times in 97 Posts" and remove "Thanks: 10" in postbit. How can i do it?
I tried to comment out "$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);" , but it still displays the word "Thanks: "
Thx!
oricon
08-16-2007, 07:34 AM
hello,
i have a problem. i make a fresh install of vb3.6.7pl1 with post thank you hack v6 and import with impex from my old vb3.6.5 with post thank you hack v5.3 all data.
now in the new vb3.6.7pl1 then i click in a private message the following error comes:
Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT * FROM post_thanks WHERE postid IN () ORDER BY username ASC;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY username ASC' at line 1
Error Number : 1064
Date : Thursday, August 16th 2007 @ 09:46:34 AM
Script : private.php?do=showpm&pmid=6495
Referrer : /private.php
this error comes with old and new pm?s.
Crashh
08-17-2007, 10:54 AM
Hi guys! I have a question! Then i wanna watch some threads, in header i see:
Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183
What's that?! Why? How to fix?!
I use 3.6.7pl1 & PostThenkYou 6.2
frupunch
08-18-2007, 02:56 PM
Hi,
i upgraded 5.3 to 6.3 (VB version is 3.6.8), If i click "Thank" button it will appear this "Message".
https://vborg.vbsupport.ru/external/2009/08/7.jpg
I hope that someone can help me!
I just did an upgrade and now I get a blank page on showthread.php (only while this hack is enabled). I searched this thread but can't find a similar issue.
I'm having the same issue on 3.6.7
ang2el
08-18-2007, 05:54 PM
It worked perfectly
Any ideas about the blank page I'm getting when the hack is enabled?
I would have to look at your APC.
i have a probleme
when i use the thanks button
i use vb3.6.8 postthanks 6.3
php5 and mysql 5
Do you have guest post there?
I tried that, but it didn't helped.
Edit: Ok it "helped", before only a few had this problem. Now everyone has it .P
I would need access to your APC and phpmyadmin to figure out the problem.
Problem also for me replacing 5.3 hack version with the 6.3 for 3.6.8 (version of my board naturally).
The problem is that now we can't see the name of the people who have said thank... so you look after post ...
The Following 2 Users Say Thank You to donnie_ogm For This Useful Post:
but in the box there isn't the name!
Why? Any ideas? ... please...
also repairing and optimizing tables don't solve the problem
I've removed the old edits to the templates memberinfo, postbit, postbit_legacy and navbar, do I need also to remove the family of templates called "Post thank you hack templates"?
Yes. All templates were changed. You need to revert them.
help me
I upgraded from 6.2 to 6.3, do I need to remove the SHOWTHREAD template edit?
Yes. All edits.
This happens when I click on the thanks button, but if I refresh, the error doesn't show any more. It shows right about the post that you would click the thank you button on.
I would need access to your APC and phpmyadmin to figure out the problem.
Thanks: 10
Thanked 831 Times in 97 Posts
I'd like to keep "Thanked 831 Times in 97 Posts" and remove "Thanks: 10" in postbit. How can i do it?
I tried to comment out "$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);" , but it still displays the word "Thanks: "
Thx!
You have to edit it out in the post_thanks_*** template. Forget the name. Should be easy to find.
hello,
i have a problem. i make a fresh install of vb3.6.7pl1 with post thank you hack v6 and import with impex from my old vb3.6.5 with post thank you hack v5.3 all data.
now in the new vb3.6.7pl1 then i click in a private message the following error comes:
Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT * FROM post_thanks WHERE postid IN () ORDER BY username ASC;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY username ASC' at line 1
Error Number : 1064
Date : Thursday, August 16th 2007 @ 09:46:34 AM
Script : private.php?do=showpm&pmid=6495
Referrer : /private.php
this error comes with old and new pm?s.
You did not do a good update then. This should not happen. Try reinstalling everything over what you currently have.
Hi guys! I have a question! Then i wanna watch some threads, in header i see:
What's that?! Why? How to fix?!
I use 3.6.7pl1 & PostThenkYou 6.2
Try running the recounters.
Hi,
i upgraded 5.3 to 6.3 (VB version is 3.6.8), If i click "Thank" button it will appear this "Message".
https://vborg.vbsupport.ru/external/2009/08/7.jpg
I hope that someone can help me!
You most likely are using an old link or something like that. Try reinstalling over what you have but make sure you remove all post thanks template edits.
Dream
08-19-2007, 02:37 AM
Yes. All edits.
Thanks I removed the SHOWTHREAD edit and it's still working. It's a great mod you have there, thanks for your work. I'm using 3.6.8 btw.
Crashh
08-19-2007, 05:57 PM
Abe1, thx a lot! it works )
vitrag24
08-20-2007, 06:13 PM
cool.i updated it form 5.3 to 6.3 without a single problem.
Abe1 you rock.
But one question..previously thanks button was on 1st the left now lastly on the right.
and one more :in user profile
Total Thanks: 6
Thanked 0 Times in 0 Posts
Find all thanked posts by user
these is being shown twice under both posts and thanks.
Not a big bug but any solution?
Hi Abel,
We really want this hack but we're not having luck getting it to work and hope you can help. We're running 3.6.7PL1. I've uploaded via an FTP (twice) it's installed and all files are there, also tried to upload through Admin CP, edited templates and we're still getting a white blank page once we enable the hack. Any ideas? The site owner will keep an eye out on this thread and send you info if you need to login to see the ACP as I'll be away... thanks!
VietPirates
08-21-2007, 03:18 AM
Thanks, Abe1! :)
Roxie
08-21-2007, 02:52 PM
I would have to look at your APC.
Would you? I haven't been able to work out the issue on my own.
tekguru
08-21-2007, 06:18 PM
Hi guys! I have a question! Then i wanna watch some threads, in header i see:
What's that?! Why? How to fix?!
I use 3.6.7pl1 & PostThenkYou 6.2
Yep I'm seeing it too in odd placvwes.Any fix guys?
Crashh
08-21-2007, 06:41 PM
Abe1, look at the screenshot:
68830
It's in russian, but u can see that it is in user's profile:
---------
Total thanks: 29
Thanked 4,294,967,263 times in 47 posts!
---------
I try to delete thanks from posts, i try to kill thanks from ACP but it DOENSN'T WORK!!!
How to null total thanks in profile??
Installed.....nice and easy. Works perfect!
jobbe
08-22-2007, 02:21 PM
Just a quick problem for me; I think i made a little caos installing on vb 3.6.8 and make the code changes even if I only use the default theme; the problem now is that on every thread it shows twice on the right:
Thanks: 1
Thanked 2 Times in 2 Posts
Thanks: 1
Thanked 2 Times in 2 Posts
Do you have in mind where I have to make any code change?
Thanks a lot in advance
vitrag24
08-22-2007, 02:56 PM
same problem asjobbe.
plz solve this.
SuperGu
08-22-2007, 09:09 PM
Which file do we download, there are 4-files to choose from?
Roxie
08-22-2007, 09:29 PM
Which file do we download, there are 4-files to choose from?
Which version of vbulletin do you have?
korny
08-23-2007, 12:46 AM
Question, I would love to read about this but I really don't feel like looking through 100 + pages for the answer :p
Is there an option to where the users have to do both, post and also hit the thank you button to see the hidden content?
Infante
08-23-2007, 01:56 AM
Everytime a thank has been made, the thank you box gets shifted to the right. How do I fix it so it doesn't move and stays centered on the screen and doesn't mess up the design of the site?
I'm posting a screen shot so you can see what I'm talking about.
Pocket Aces
08-23-2007, 05:04 PM
How to remove the line "Thanks:" in postbit?
So the only thing displayed there will be "Thanked X Times in X Posts"
Since there's no template edits now, i dont know how to remove that line.
edit:
Got it. There's already a separate template group for this hack. :D
vitrag24
08-23-2007, 05:37 PM
stil my query is unanswered. :(
https://vborg.vbsupport.ru/showpost.php?p=1321795&postcount=1582
AzzidReign
08-24-2007, 02:56 AM
BUG REPORT
I didn't look around to see if people have had this same problem but when I go to use the special actions script to delete all thanks from a user, it will say it deleted all the thanks but it will only delete 1. So if someone boosted to get 200 thanks...we have to do that 200 times to get rid of all the thanks.
Just a quick problem for me; I think i made a little caos installing on vb 3.6.8 and make the code changes even if I only use the default theme; the problem now is that on every thread it shows twice on the right:
Thanks: 1
Thanked 2 Times in 2 Posts
Thanks: 1
Thanked 2 Times in 2 Posts
Do you have in mind where I have to make any code change?
Thanks a lot in advance
It seems like you never removed the old templated edits.
Abe1, look at the screenshot:
68830
It's in russian, but u can see that it is in user's profile:
---------
Total thanks: 29
Thanked 4,294,967,263 times in 47 posts!
---------
I try to delete thanks from posts, i try to kill thanks from ACP but it DOENSN'T WORK!!!
How to null total thanks in profile??
What re you trying to delete?
Everytime a thank has been made, the thank you box gets shifted to the right. How do I fix it so it doesn't move and stays centered on the screen and doesn't mess up the design of the site?
I'm posting a screen shot so you can see what I'm talking about.
Make sure you revert the post thanks templates. You may have messed something up when you edited the template.
BUG REPORT
I didn't look around to see if people have had this same problem but when I go to use the special actions script to delete all thanks from a user, it will say it deleted all the thanks but it will only delete 1. So if someone boosted to get 200 thanks...we have to do that 200 times to get rid of all the thanks.
I will look into this.
AzzidReign
08-24-2007, 03:17 PM
If you need more information, here it is:
vB version: 3.6.8
Thanks version: 6.3 for 3.6.8
php: 4.4.7
mysql: 4.1.22-standard
Let me know if you need any other information to help fix the bug.
vitrag24
08-24-2007, 04:01 PM
and one more bug.
If we edit thread/post in hidden part then all thanks will be removed for that thread/post.
Any solution for this?
rb290
08-24-2007, 09:59 PM
Hey I just have two easy questions:
1) The "THANKS" picture is not showing instead it says THANKS in text how do I show picture.
2) How do I take off the Thanks: 0 Thanked 0 Times in 0 Posts in the postbit legacy?
AzzidReign
08-24-2007, 10:44 PM
It's showing up as text b/c you didn't put the picture on your server. Upload the thanks button to your CUSTOM skin.
rb290
08-24-2007, 10:52 PM
It's showing up as text b/c you didn't put the picture on your server. Upload the thanks button to your CUSTOM skin.
Thanks man fixed the problem!
Last questions:
1) How do I take off the Thanks: 0 Thanked 0 Times in 0 Posts in the users postbit?
Freak0204
08-25-2007, 01:48 AM
When someone clicks on the Thanks button, it disappears but no bar is added under the post and if they go back to see if it "took," the Thanks button re-appears as if they never thanked in the first place.
jobbe
08-25-2007, 03:45 AM
It seems like you never removed the old templated edits.
Sorry but which ones? I removed them and now the thank button is not showing anymore.
Should I deinstall completelly the mod and reinstall it back?
AzzidReign
08-25-2007, 03:44 PM
Thanks man fixed the problem!
Last questions:
1) How do I take off the Thanks: 0 Thanked 0 Times in 0 Posts in the users postbit?
So you won't want people to see how many posts ? Then I would think you would disable the plugin the finds the template hook to put the thanks code there.
vitrag24
08-25-2007, 03:59 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=1321795&postcount=1582" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1582</a>
plz answer my query plz.
i was told to remove old template edits from memberinfo template.
But i dont know which edits i did in 5.3 version.
AzzidReign
08-25-2007, 04:22 PM
You can prolly just search the template for "thanks" and you come up with all the lines of code you need to remove. And there's probably instructions in the mod download.
vitrag24
08-25-2007, 04:29 PM
but i think it'll remove new edits or autoedits also?
if you know then post it here plz which one to remove.
AzzidReign
08-25-2007, 04:40 PM
Autoedits use template hooks so it should only remove the old edits you did. IF you delete a template hook, then the mod won't do the autoedits.
okgaz
08-27-2007, 06:43 PM
How difficult would it be to change it from "Thanks" to something else?
Where do I change the text?
vitrag24
08-27-2007, 07:28 PM
Autoedits use template hooks so it should only remove the old edits you did. IF you delete a template hook, then the mod won't do the autoedits.
i searched post thank in templates and removed old edits from navbar,memberinfo anf postbit&postbit legacy.
now no prb.
one Q.
Find all thanked posts by XUser - it means it'll find all posted in which user was thanked?
i think it is wrong meaning.
AzzidReign
08-27-2007, 09:40 PM
No, it will find all the posts that that user thanked another user.
If you want to change the way it displays (i.e. "Thanks"), you can search for in the phrases and change it there. For my site I have put "Received Thanks" and "Gave Thanks". I was also confused on how ti was worded so I changed it :P
and one more bug.
If we edit thread/post in hidden part then all thanks will be removed for that thread/post.
Any solution for this?
WHat do you mean in 'hidden part'?
When someone clicks on the Thanks button, it disappears but no bar is added under the post and if they go back to see if it "took," the Thanks button re-appears as if they never thanked in the first place.
Please make sure your templates are up-to-date.
itsid
08-27-2007, 11:30 PM
German language file for v6.3 if necessary
69165
cheers
'sid
vitrag24
08-28-2007, 02:48 PM
WHat do you mean in 'hidden part'?
if you edit thread [part which is in between hide code] then all thanks to that thread will be removed automatically.
it shouldn't be removed.
vitrag24
08-28-2007, 02:49 PM
No, it will find all the posts that that user thanked another user.
If you want to change the way it displays (i.e. "Thanks"), you can search for in the phrases and change it there. For my site I have put "Received Thanks" and "Gave Thanks". I was also confused on how ti was worded so I changed it :P
nope.it [find all thanked posts by X user] is showing posts in which user has been thanked.
Roxie
08-28-2007, 09:50 PM
re-installed. still getting blank page (showthread) on 3.6.8. Has anyone else had this issue?
simunaqv
08-28-2007, 09:56 PM
Hello, thanks for this great mod. Actually i want to remove the part that displays in the postbit. I disabled the related hooks postbit_display_start and postbit_display_complete but this disable the whole mod. Is there any solutions to this?
Regards,
if you edit thread [part which is in between hide code] then all thanks to that thread will be removed automatically.
it shouldn't be removed.
What hide code are you talking about???
Freak0204
08-29-2007, 02:06 PM
Please make sure your templates are up-to-date.
What do you mean? I d/l the correct version for the forum, and there hasn't been a Thanks hack installed before. I followed all directions in order....
vitrag24
08-29-2007, 03:04 PM
What hide code are you talking about???
forget hide thing..
just check urself..if we click on edit and save post then all thanks given to that post wiill be removed.
Greeksgal
09-04-2007, 02:04 PM
I'm sure this question has been asked already, but I can't find the answer, so I apologize now for repeating.
Is it possible to use the TY button, but without the words:
Thanks: 8
Thanked 57 Times in 25 Posts
which is located under my members Avatar on my forum.
Here is a picture which better describes what I am asking.
https://vborg.vbsupport.ru/external/2007/09/44.jpg
Thank you so much for your assistance.
mauro1947
09-04-2007, 06:50 PM
There is a little bug on last release.
When you use AJAX to edit a post, when edition is complete, all Thanks dissapears. Just reload the page and appears again.
Any idea about this?
Regards!
Greeksgal
09-04-2007, 08:30 PM
I'm sure this question has been asked already, but I can't find the answer, so I apologize now for repeating.
Is it possible to use the TY button, but without the words:
Thanks: 8
Thanked 57 Times in 25 Posts
which is located under my members Avatar on my forum.
Here is a picture which better describes what I am asking.
https://vborg.vbsupport.ru/external/2007/09/44.jpg
Thank you so much for your assistance.
No worries, I found what I needed in a post at https://vborg.vbsupport.ru/showthread.php?t=122944&page=81
If you don't want to show "Thanks: x" "Thanked 1 time in 1 post"
Go to the template called "post_thanks_postbit_info" and either delete all its contents or (I would do this second one) put a conditional at the beginning for example
(So only users with this usergroups can see it)
<if condition="is_member_of($bbuserinfo, 5,6,7)">
or so only peeople with those userids can see it
<if condition="in_array($bbuserinfo[userid], array(1,8,200))">
Don't forget to put the </if>
Did above and seems to work perfectly. Thank you all!
SCRIPT3R
09-06-2007, 12:54 AM
possible addition to...
Special Actions: This action will delete all thanks a single user received.
firefoxx
09-06-2007, 05:14 PM
thank you. really nice add-on
how can i change the positions of quickreply and thanks button?
suraev
09-07-2007, 05:52 PM
Abe1,
does by any chance you are going to add an extra feature for your mod:
there is a setting "reputation" that sets how many reputation points user receives with every "thank you". But since this value is fixed, there is no difference between influence of "thank you" from old members and newbies.
I think if there will be an option to make a number of reputation points dependent on reputation power (like original reputation works), then "thank you" mod can completely substitute a useless reputation button.,
I will be very glad to get your response.
danielwe
09-07-2007, 06:17 PM
really good, but, when i open a thread the hack will not be show...sorry for my bad english, but when you can speak german or russia, we can speak german or russian... can you held me?
thanks
baby41
09-07-2007, 06:58 PM
Are this product for version 3.6.8 ???? Because it gives me this error:
"The following dependencies were not met:
1. This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.6.* / Incompatible with 3.6.6 and greater)
paulgrimshaw
09-07-2007, 07:55 PM
Hi,
two questions:
1. Can I make the thanks only on first post to be the opposite, e.g. the first post cannot be thanked but the rest can.
2. Can you put a thankyou count somewhere in the post template so I can see how many thanks are made per post? (rather than use the additional box that appears after the post itself).
thanks,
paul.
tobaro
09-08-2007, 06:21 AM
hmm.. installed as mentioned here. No failure messages, Forum works finde, BUT NO THANKS button, no nothing.... any idea, what I did wrong? My vB Version: 3.6.4 - installed hack version here: post_thanks_6_3_vb3_6_0-3_6_5.zip
tobaro
09-08-2007, 11:12 AM
checked again all instructions. All done, at ACP I can see ist as well, its activated, but: no button or anything in any thread. Could somebody pls. tel me if I maybe used the wrong hack? (see post above), as it is really confusing with this 4 downloads above to find the right one...
tobaro
09-08-2007, 05:10 PM
no support here... :(
ok, i deinstalled it now, forget the questions.
By_TR
09-09-2007, 11:47 AM
Thanks! Love this hack.
There is a little bug on last release.
When you use AJAX to edit a post, when edition is complete, all Thanks dissapears. Just reload the page and appears again.
Any idea about this?
Regards!
Something to do with vb's AJAX.
possible addition to...
Special Actions: This action will delete all thanks a single user received.
Added to my list.
Are this product for version 3.6.8 ???? Because it gives me this error:
"The following dependencies were not met:
1. This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.6.* / Incompatible with 3.6.6 and greater)
Make sure you downloaded the right version.
Hi,
two questions:
1. Can I make the thanks only on first post to be the opposite, e.g. the first post cannot be thanked but the rest can.
No option now. Dont think i would add it. You should be able to make an easy add-on using the hooks in the hack.
2. Can you put a thankyou count somewhere in the post template so I can see how many thanks are made per post? (rather than use the additional box that appears after the post itself).
thanks,
paul.You should be able to use the variable: $post[post_thanks_amount_formatted]
no support here... :(
ok, i deinstalled it now, forget the questions.
Actually there is support. Just not 24/7 support.
Are you trying it out on a style? What happens when you use the default style?
KinG__________
09-11-2007, 04:47 AM
bro its not working with vbulletin 3.6.8 ... :(( :((
The following dependencies were not met:
This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.6.* / Incompatible with 3.6.6 and greater)
SCRIPT3R
09-11-2007, 05:34 AM
bro its not working with vbulletin 3.6.8 ... :(( :((
The following dependencies were not met:
This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.6.* / Incompatible with 3.6.6 and greater)
read a couple posts above yours...
Make sure you downloaded the right version.
you need this one... post thanks 6 3 vb3 6 8.zip (https://vborg.vbsupport.ru/attachment.php?attachmentid=67776&d=1185772782)
Fifthe1ement
09-12-2007, 06:02 PM
This will not work for users on my forum who are using Fire Fox? How can I enable Fire Fox support?
Thanks,
FifthE1ement
mvigod
09-12-2007, 07:33 PM
BUG REPORT
I didn't look around to see if people have had this same problem but when I go to use the special actions script to delete all thanks from a user, it will say it deleted all the thanks but it will only delete 1. So if someone boosted to get 200 thanks...we have to do that 200 times to get rid of all the thanks.
I am having this same problem. Any updates on a fix?
Fifthe1ement
09-12-2007, 09:27 PM
Others have mentioned this not working in Firefox but why does no one ever get back to them. Someone please help me out? On my site it works in IE7 but not in FF.
Thanks,
FifthE1ement
KinG__________
09-13-2007, 04:30 AM
read a couple posts above yours...
you need this one... post thanks 6 3 vb3 6 8.zip (https://vborg.vbsupport.ru/attachment.php?attachmentid=67776&d=1185772782)
Yea bro Now I Install Is , But Now The Prob Is Thanks Button Is Not Visible , I upload every thing In FTP , I Upload the thanks button In every style /buttons/ << here ... But The thanks Button not visible :erm:
BeyondMedieval
09-13-2007, 07:46 AM
I have some problem with the thank you hack
works well but i do get the
Thanks: 0
Thanked 0 Times in 0 Posts
shows up twice on post..any idea why this??
Fifthe1ement
09-13-2007, 08:34 AM
Yeah it seems to only work in IE but firefox so it is probably related to King's problem also. Why won't the dev respond?
andreamarucci
09-13-2007, 09:17 AM
Do you think that this mod could also be used to say "Happy Birthday" instead of thanks? I ask this since on my forum every birthday there a flood of messages saying "Happy birthday" so I'm thinking about using this mod to say this instead of just thanks.
What kind of modifications I've to do?
slyreptile
09-13-2007, 02:42 PM
How can I turn off/prevent the number of thanks being given by a user from showing in their postbit? I don't want users to see how often someone gives thanks. Can this be added as a feature?
Fifthe1ement
09-14-2007, 02:24 AM
Ok now I feel like a schmuck. If you have installed this mod and are unable to see the "Thank You" button while using either FireFox or Internet Explorer you need simply empty your file cache. The problem lies mainly with FireFox as it is the only browser to come with default settings that doesn't update sites on the fly. To fix the button not appearing simply clear your private data (cache) by going to Tools, Clear Private Data, clear everything, restart the browser, and go back to the site you want.
I hope this can help people that had the same issue as I did. You wouldn't believe how many of my forum members were unable to see the thank you hack that were using FireFox, ALL OF THEM! All IE7 users had no issues and neither did Opera users. I'm not here to dispute browser differences but rather provide a quick fix for those in need.
Enjoy,
FifthE1ement
But Now The Prob Is Thanks Button Is Not Visible , I upload every thing In FTP , I Upload the thanks button In every style /buttons/ << here ... But The thanks Button not visible :erm:
same here, i see the 0 thanks and 0 recieved so i guess i did the postbit stuff correctly, but the thanks button or even the word thanks is not there.
cleared the cache in firefox, checked the site with IE to be sure.
uploaded the files to the specified areas, edited the global php. made sure ajax is turned on in the admincp
any ideas?
thanks
Fifthe1ement
09-15-2007, 02:39 AM
same here, i see the 0 thanks and 0 recieved so i guess i did the postbit stuff correctly, but the thanks button or even the word thanks is not there.
cleared the cache in firefox, checked the site with IE to be sure.
uploaded the files to the specified areas, edited the global php. made sure ajax is turned on in the admincp
any ideas?
thanks
Have you manually edited and checked your style files for integration? See included style doc in the install archive. I'll try to help you more if I can since the creator is never going to.
Fifth
broonzy
09-16-2007, 09:07 AM
Many thanks for your hack. I'm using the last version with vb3.8, and I have a question. I'd like to deactivate the TY stats in postbit and in memberinfo, so that you can't see how many times people are thanked and how many times they gave a thank.
Thanks.
franzis
09-16-2007, 11:41 AM
I also have two questions.. the first is the same as bronnzy had asked.. how can i deactivate the TY in userinfo and postbit..
And my second question: is it possible to add some usergroups that can use the TY? and how can i add them? comma seperated, or semicolon?
thanks for your help..
LG Franzis
How can I turn off/prevent the number of thanks being given by a user from showing in their postbit? I don't want users to see how often someone gives thanks. Can this be added as a feature?
You can remove the info from the template.
Many thanks for your hack. I'm using the last version with vb3.8, and I have a question. I'd like to deactivate the TY stats in postbit and in memberinfo, so that you can't see how many times people are thanked and how many times they gave a thank.
Thanks.
blank out the post_thanks_postbit_info template. Replace the whole template with nothing.
same here, i see the 0 thanks and 0 recieved so i guess i did the postbit stuff correctly, but the thanks button or even the word thanks is not there.
cleared the cache in firefox, checked the site with IE to be sure.
uploaded the files to the specified areas, edited the global php. made sure ajax is turned on in the admincp
any ideas?
thanks
The button should show even if AJAX is off. This hack works fine if you dont have AJAX running. Can you test the hack on a default vb style?
broonzy
09-16-2007, 12:20 PM
blank out the post_thanks_postbit_info template. Replace the whole template with nothing.
Thanks a lot Abe1. :up:
Xplorer4x4
09-16-2007, 08:03 PM
We just moved server and for some reason when i click the thanks button it either takes me to a redirect page that says the error below in the top left corner, then has a redirect message like thanks for clicking the thank you button. I deleted the hide hack and thanks hack and reinstalled, now i get the error but below the thanked post and above the users who gave thanks box.
Parse error: syntax error, unexpected '<' in public_html/forum/post_thanks.php(46) : eval()'d code on line 1
no mods
09-17-2007, 02:50 AM
I have a problem with the thanks button in opera broswer, it only happens on my site, other site in opera work fine with this mod. I have 3.6.8 vbulletin.
Wehn I click the thankyoubutton is makes it so the page starts over. I checked a new skin install and samething, any ideas.
Pictures.
Before:
http://img473.imageshack.us/img473/6510/beforemk9.png
After:
http://img382.imageshack.us/img382/9941/afternt5.png
It works fine in other bwosers any clue as two why it does this, I have asked other people and they get the same problem on my forum in opera two.
I have a problem with the thanks button in opera broswer, it only happens on my site, other site in opera work fine with this mod. I have 3.6.8 vbulletin.
Wehn I click the thankyoubutton is makes it so the page starts over. I checked a new skin install and samething, any ideas.
Pictures.
Before:
http://img473.imageshack.us/img473/6510/beforemk9.png
After:
http://img382.imageshack.us/img382/9941/afternt5.png
It works fine in other bwosers any clue as two why it does this, I have asked other people and they get the same problem on my forum in opera two.
Can it be you never uploaded the javascript file?
We just moved server and for some reason when i click the thanks button it either takes me to a redirect page that says the error below in the top left corner, then has a redirect message like thanks for clicking the thank you button. I deleted the hide hack and thanks hack and reinstalled, now i get the error but below the thanked post and above the users who gave thanks box.
I dont know what would be causing it. I would have to look at your ACP.
no mods
09-17-2007, 01:40 PM
No ive reuploaded everything and reinstalled the xml, still same problem.
No ive reuploaded everything and reinstalled the xml, still same problem.
Can you run the FF "Error console" and tell me what comes up when you click 'thanks'?
slyreptile
09-17-2007, 09:57 PM
Thanks! That did it!
no mods
09-17-2007, 11:28 PM
Can you run the FF "Error console" and tell me what comes up when you click 'thanks'?
How do I do this, please xplain a little more haha.:erm:
Do you have FireFox? Look in the tools menu.
no mods
09-18-2007, 12:17 PM
The mod works perfectly in firefox, it only messes up in opera.
tnedator
09-18-2007, 08:32 PM
Abe, thanks for a great mod.
I have a question. If I wanted to change the 'Thanks' to another word or phrase like "high fives" or "honors" or something else, how would I go about doing it?
First, is that ok, since this is your mod?
Second, do you have a list of places where I would have to change thanks to the new word(s)?
Bonus question, what is the best way to backup the Thanks data in case of moving servers or a server crash? I have been going into Admin CP and choosing to backup all tables.
Thanks
momo2
09-19-2007, 02:13 PM
It works great, how ever your older version, the button stood on left side, but not it's on the left, so most of my new members having a hard time to see it..
Please see attachment..
tnedator
09-19-2007, 10:56 PM
Abe, thanks for a great mod.
I have a question. If I wanted to change the 'Thanks' to another word or phrase like "high fives" or "honors" or something else, how would I go about doing it?
First, is that ok, since this is your mod?
Second, do you have a list of places where I would have to change thanks to the new word(s)?
Bonus question, what is the best way to backup the Thanks data in case of moving servers or a server crash? I have been going into Admin CP and choosing to backup all tables.
Thanks
well, I found an old post that talked about 'phrases' and changing it in the .xml prior to installing, so that seemed to work.
I do have a question though. In a test I am doing, it is showing 0 "high fives" (replacement for thanks), but below it it says 2 High Fives in 1 post.
https://vborg.vbsupport.ru/
mystic10
09-19-2007, 11:21 PM
hello please help i dont kow what went wrong its saying fatal error
Warning: require_once(/home/yahoocit/public_html/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in /includes/class_postbit.php(268) : eval()'d code on line 1
Fatal error: require_once() [function.require]: Failed opening required '/home/yahoocit/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/yahoocit/public_html/includes/class_postbit.php(268) : eval()'d code on line 1
installed, nice hack, please psd buton thanks?
mvigod
09-21-2007, 07:15 PM
well, I found an old post that talked about 'phrases' and changing it in the .xml prior to installing, so that seemed to work.
I do have a question though. In a test I am doing, it is showing 0 "high fives" (replacement for thanks), but below it it says 2 High Fives in 1 post.
https://vborg.vbsupport.ru/
That is because the same post was thanked twice by different users. The odds that those two numbers will ever be equal would be slim.
tnedator
09-21-2007, 07:49 PM
That is because the same post was thanked twice by different users. The odds that those two numbers will ever be equal would be slim.
I was confused by the "High Fives 0", but realized with some testing that it referred to how many High Fives (thanks) that user has given out.
mvigod
09-21-2007, 11:30 PM
I added a menu item in the drop down postbit menu to search the users thanked posts . Just keeps users from having to go to the userprofile to search
In postbit and postbit legacy
Look for
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>.
below it paste:
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="post_thanks.php?$session[sessionurl]do=findthanks&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">Find all $post[username]'s thanked posts</phrase></a></td></tr>
</if>
my friends my mod thanks is giving an error:
somethimes (most times) i "click" Thanks and it say:
You have already said thank you for this post!
and this not true! somethimes if i backup page the thanks is in there. how to fix this my friends? way appear this messege or how to fix?
please help
m2006
09-23-2007, 07:14 AM
thanks you
Doctor Death
09-23-2007, 11:04 PM
I have a dark board, are there other buttons for the thanks mod?
It works great, how ever your older version, the button stood on left side, but not it's on the left, so most of my new members having a hard time to see it..
Please see attachment..
You have to manually move vB's $template_hook for the controls.
well, I found an old post that talked about 'phrases' and changing it in the .xml prior to installing, so that seemed to work.
I do have a question though. In a test I am doing, it is showing 0 "high fives" (replacement for thanks), but below it it says 2 High Fives in 1 post.
http://www.broncos07.com/downloads/highfives/HighFiveProfile.jpg
The 0 is because he never gave thanks to anyone.
hello please help i dont kow what went wrong its saying fatal error
Warning: require_once(/home/yahoocit/public_html/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in /includes/class_postbit.php(268) : eval()'d code on line 1
Fatal error: require_once() [function.require]: Failed opening required '/home/yahoocit/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/yahoocit/public_html/includes/class_postbit.php(268) : eval()'d code on line 1
why not try uploading the files???????
installed, nice hack, please psd buton thanks?
no
Hornstar
09-24-2007, 01:15 AM
I am still having problems deleting all of a users thanks they have given or received.
I am still having problems deleting all of a users thanks they have given or received.
Sorry, i didn't look into that yet.
phunksta
09-24-2007, 06:23 PM
Is this a really strange request???
I would like to be able to put a 'quick thanks' button in the threadbit template so a user can thank the first post in a thread without neccessarily having to view it - also to mark the thread as read at the same time.
This sounds strange - but but would be VERY useful on my site!
Any chance of a clue how I might go about hacking the hack?
ePrOmD
09-25-2007, 02:48 AM
Hello.
I have just installed your product in a vb 3.6.7, and have followed exactly the instructions for the installation.
But now. Whenever I want to see a post. it gives me the following error message:
Warning: Unknown(/home/arquinau/public_html/foros/includes/functions_post_thanks.php): failed to open stream: No such file or directory in /includes/class_postbit.php(268) : eval()'d code on line 17
Fatal error: (null)() [function.require]: Failed opening required '/home/arquinau/public_html/foros/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/arquinau/public_html/foros/includes/class_postbit.php(268) : eval()'d code on line 17
what i did wrong? :S tks for your help!
boing
09-25-2007, 07:41 AM
When trying to recount all thanks, the hack going into infinite loops.
Can any one tell me how to solve this problem. Thank you guys :)
Hello.
I have just installed your product in a vb 3.6.7, and have followed exactly the instructions for the installation.
But now. Whenever I want to see a post. it gives me the following error message:
what i did wrong? :S tks for your help!
You did not upload the files correctly then.
apokphp
09-27-2007, 08:08 PM
Is it possible to change the term "thanks" to something else? Long thread, I only briefly searched but didn't find anything in that short period of time.
I run a debate site, so there is no need to say "thanks". But we do encourage cogent argumentation for the opening post. Any way to say "Excellent opening argument!" or something like that? Or "Approve of good argumentation"? I don't know, doesn't really matter how it is said specfically, what matters is that I would need to change it from a "Thanks" hack to some sort of "approval / good job" hack by swapping the terms/phrases.
Fungsten
09-28-2007, 07:02 PM
Is it possible to change the term "thanks" to something else? Long thread, I only briefly searched but didn't find anything in that short period of time.
I run a debate site, so there is no need to say "thanks". But we do encourage cogent argumentation for the opening post. Any way to say "Excellent opening argument!" or something like that? Or "Approve of good argumentation"? I don't know, doesn't really matter how it is said specfically, what matters is that I would need to change it from a "Thanks" hack to some sort of "approval / good job" hack by swapping the terms/phrases.
Same here.
Darat
09-28-2007, 07:05 PM
Yes - it's fully phrased so you can alter all the "Thanks" to whatever you want (or your could directly edit the product xml). You would have to create your own button.
DarknessDivine
09-28-2007, 09:00 PM
I just added a new skin and my Thanks went away do I just need to re-do the template edits or re-upload all the files?
Fungsten
09-28-2007, 09:23 PM
I just added a new skin and my Thanks went away do I just need to re-do the template edits or re-upload all the files?
Most likely. I had to do it too!
maidos
09-30-2007, 12:01 PM
got the latestvbulletin version and the thank you button display on every post but once i click on the thank youbutton ppl cant view who used the thnank you button
got the latestvbulletin version and the thank you button display on every post but once i click on the thank youbutton ppl cant view who used the thnank you button
Make sure your templates are up-to-date.
I just added a new skin and my Thanks went away do I just need to re-do the template edits or re-upload all the files?
You have to make sure the new style is for your version of vb. You may need to check the templates to see what has to be updated.
Ice794
10-01-2007, 03:43 PM
The 'Templates Edits For Custom Styles'.....is that necessary for the latest version?
Does the xml only implement for the default vb style?
Bén.
DarknessDivine
10-01-2007, 06:15 PM
You have to make sure the new style is for your version of vb. You may need to check the templates to see what has to be updated.
But do I need to just check which templates that need re-edited or should I just re-upload the xml and start everything over?:o
maidos
10-02-2007, 08:19 PM
Make sure your templates are up-to-date.
it is... the older version of thank you button worked just fine but now the list of ppl who used thank u just dissappear
tiekie
10-03-2007, 02:19 PM
I would like it, when someone press the thank you button that it automatically bumps the thread as well .......... Is this possible
yoyoyoyo
10-03-2007, 09:24 PM
I am using a style with a custom postbit, and I edited it using the manual edits included in the instruction for custom styles, however when a post is thanked it puts a lot of space between the bottom of the post and the thanks window (as shown in the picture below). What code should I change to bring up the "thanks" box a bit more?
http://img126.imageshack.us/img126/5964/errored9.jpg
Dagoor
10-04-2007, 02:14 AM
I searched on this topic and couldnt find the answer.I installed and uploaded all the files correctly with no error.
but i cant see the thanks you button next to peoples posts. but in their profile, the info about how many thanks they have is present. i did put the button in images/blaze/buttons/ and all the other but nothing.
i didnt get any error. the product is enable and Im confused which part i did wrong?
please help me out here
Template is Blaze
vBuleltin is 3.6.8
Reedly
10-05-2007, 09:13 PM
Hello - I've used the "Thanks" hack for several months and loved it. I just downloaded and installed the newest version - "post thanks 6 3 vb3 6 8.zip" for my 3.6.8 board, and nothing is showing up anywhere on the board. It shows up as installed in the products list, and there are options to turn it on/off, etc...in the "vBulletin Options", but no thanks button on threads anymore.
I deleted all of the version 5.3 template hacks, then uninstalled 6.8 thank you hack, then re-uploaded all of the 6.8 files. It's listed in the options and products page - but still nothing show up on the actual board. Can someone help with what I may have made a mistake on?
Thank you!
Reed
thefullmaza
10-06-2007, 04:04 PM
<font color="Red">thanks this hack?</font>
Doctor Death
10-06-2007, 09:04 PM
I would install if it came with darker button sets.
machethier
10-06-2007, 09:59 PM
don't work with 3.6.8, dont show the button
Dagoor
10-07-2007, 03:47 AM
don't work with 3.6.8, dont show the button
same here, as i said 3 post above.
any clue on why?
trackpads
10-08-2007, 03:05 AM
Same with mine, installed fine but nothing showing up. I reverted my templates and still nothing.
Thanks,
Jason
Chance4Today
10-08-2007, 01:50 PM
Installed after about 2 hours but I LOVE IT! Everything up and running. Matter of fact on my RW site I didn't do the install and it seems to jump to the top of the thread each time you click on it. But at the SNC that I just did ;) it is working really smooth Thanks again!
Dagoor
10-09-2007, 08:17 AM
For those who couldnt have it show up. I fixed mine.
Here is the thing.
on some templates the mod doesnt automatically work.
you gotta go and follow the instruction that comes with the Template Edits for Custom Styles.txt file. and follow what it says.
for me MEMBERINFO and NAVBAR was already edited but not postbit_legacy and postbit. so i did those manually and its working now.
hope it works for you.
Reedly
10-10-2007, 05:17 AM
Dagoor - thank you so much for your help!! I wasn't even aware there was a folder in there for those purposes. Course, I wasn't aware that I had template updates on my board either - so that shows my lack of knowledge about the vb boards!!
That worked wonderfully!:up:
bchertov
10-10-2007, 11:36 AM
Feature requests:
...
(2) An option for a member to receive a popup notification or a pm or an email when he or she is thanked.
...
Thanks Abe for developing this beautiful mod.Has anyone done this (email notification?) I want it to!
Hornstar
10-10-2007, 10:38 PM
Just got a database error sent to my email, I believe this mod caused it
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT * FROM vb3_post_thanks WHERE postid IN () ORDER BY username ASC;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY username ASC' at line 1
Error Number : 1064
Date : Wednesday, October 10th 2007 @ 09:41:09 AM
Script : http://www.gamerzneeds.net/forums/post_thanks.php?do=post_thanks_remove_user
ForYou
10-11-2007, 09:50 AM
Hello ,
If I need to remove the post thanks for some users , how can i do that ,
Regards
afullcup
10-11-2007, 10:31 AM
Installed this and everyone loves it - thanks!
Had a user complain that when they were left thanks (they could see it in the thread) it did not leave them a reputation comment. I checked into it and she was right. This was for a non-first post in a thread. I thought that might be it, but I checked on other non-first posts that were thanked and they did show up.
Any ideas?
IRCMedya
10-12-2007, 03:26 PM
thank you good job.
Evolution06
10-12-2007, 06:09 PM
115 pages alot to read. Has anyone noticed on 3.6.8 after clicking thanks button on internet explorer browser you get the little yellow triangle at the bottom of the browser that says done but with errors on page and has
Line: 640
Char: 1
Error: Object Required
If I take the thanks away it goes away.
bchertov
10-13-2007, 07:33 AM
115 pages alot to read. Has anyone noticed on 3.6.8 after clicking thanks button on internet explorer browser you get the little yellow triangle at the bottom of the browser that says done but with errors on page and has
Line: 640
Char: 1
Error: Object Required
If I take the thanks away it goes away.
Oh, yeah, I think I got that too. I told mine to ignore it. Guess I better tell the users to to. Sure would be nice if it got fixed!
class101
10-13-2007, 08:39 AM
115 pages alot to read. Has anyone noticed on 3.6.8 after clicking thanks button on internet explorer browser you get the little yellow triangle at the bottom of the browser that says done but with errors on page and has
Line: 640
Char: 1
Error: Object Required
If I take the thanks away it goes away.
Oh, yeah, I think I got that too. I told mine to ignore it. Guess I better tell the users to to. Sure would be nice if it got fixed!
Nothing here in IE7 and firefox sorry guys :) Btw I'va moved my "thanks" buttion from the right to the left so I have maybe done a workaround without to know it, well anyway I tested to click thanks in firefox and IE7 and no script error at all.
Just got a database error sent to my email, I believe this mod caused it
Recalculate the total thanks.
Installed this and everyone loves it - thanks!
Had a user complain that when they were left thanks (they could see it in the thread) it did not leave them a reputation comment. I checked into it and she was right. This was for a non-first post in a thread. I thought that might be it, but I checked on other non-first posts that were thanked and they did show up.
Any ideas?
Maybe the user had left rep first.
115 pages alot to read. Has anyone noticed on 3.6.8 after clicking thanks button on internet explorer browser you get the little yellow triangle at the bottom of the browser that says done but with errors on page and has
Line: 640
Char: 1
Error: Object Required
If I take the thanks away it goes away.
You have to get me what it says by line 640.
powerful_rogue
10-15-2007, 09:34 AM
Hi,
Im running VB3.6.7 and would really like to install this mod, however I cant see any of the template edits in the postybit_legacy.
Ive uploaded the files and installed the product - but need to make the custom changes as nothings showing.
Heres my postbit legacy if anyone would be able to help.
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="nzbpostbit"> $post[rank]</div></if>
<if condition="$show['avatar']">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
<div class="smallfont">
<br />
<if condition="$post['joindate']"><div class="nzbpostbit"> $vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div class="nzbpostbit"> $vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div class="nzbpostbit"> $vbphrase[age]: $post[age]</div></if>
<div class="nzbpostbit">
$vbphrase[posts]:$post[posts]
</div>
<if condition="$post['userid'] AND $vboptions[sr_classifieds_active] == '1'">
<div class="nzbpostbit"> $vbphrase[sr_classifieds_rating] $post[sr_classifieds_pcnt]% <a href="sr_classifieds.php?do=user&userid=$post[userid]">($post[sr_classifieds_score])</a></div>
</if>
<if condition="$show['infraction']"><div class="nzbpostbit"> $vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div class="nzbpostbit"> <if condition="$show['reppower']"><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>: $post[reppower]</if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<if condition="$post[icqicon] OR $post[aimicon] OR $post[msnicon] OR $post[yahooicon] OR $post[skypeicon]"><div class="nzbpostbit"> $post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></if>
</div>
<!-- show awards -->
<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>
<!-- /show awards -->
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<!-- Start vBPunch -->
<if condition="$can_punch">
<a href="#" onClick="do_punch('$post[userid]', '$post[postid]'); return false;"><img src="images/vbpunch/punch-small.gif" border="0" alt="$vbphrase[vbpunch_punch_user]" /></a>
</if>
<!-- End vBPunch -->
<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>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
trackpads
10-15-2007, 10:33 AM
I have also not gotten mine to work, it wont show either. I dont think its a template issue since I reverted my pbl and still nothing. Its got to be something else going wrong.
-Jason
5th-Level
10-17-2007, 10:29 AM
how do you edit the text thats in the postbit template using this version since it does it for you
class101
10-17-2007, 10:50 AM
You must include $template_hook[postbit_controls] in your postbit and legacy templates, read the Template Edits for Custom Styles.txt inside the zip guys, for some reason me I didnt have to do theses changes, the product install added it for me but he did put the instructions in the txt I guess in the case the product install didnt changed your templates.
karnevil
10-17-2007, 12:03 PM
I have installed the hack and it works on my default style forum perfectly however we dont use that we use a second style forum.
It shows up on profile, adds to reps okay etc all functions fine - except theres no button in the posts to click ??
Any ideas. I have been through the instruction edit templates file and done that.
The only bit I cant find is
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
in postbit and postbit legacy
so havent pasted
$template_hook[postbit_userinfo_right_after_posts]
in.
I assume this is the problem ?
class101
10-17-2007, 12:20 PM
The variable to control de button is $template_hook[postbit_controls]
me I have it setup that way in my postbit template:
div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
$template_hook[postbit_controls]
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
This put it to the left of the edit button instead of to the full right which is not a really visible position
5th-Level
10-17-2007, 10:12 PM
i mean instead of it saying Thanks: 0
Thanked X in X posts
i wanted make it so that it says
Thanks:
Thanked:
powerful_rogue
10-17-2007, 11:32 PM
The variable to control de button is $template_hook[postbit_controls]
me I have it setup that way in my postbit template:
div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
$template_hook[postbit_controls]
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
This put it to the left of the edit button instead of to the full right which is not a really visible position
Hi, Thanks for your advice, worked a treat putting the code below instead of above. My only other problem is with:
find:
--------------------------------------------------------------------
<!-- post $post[postid] popup menu -->
--------------------------------------------------------------------
place BEFORE:
--------------------------------------------------------------------
$template_hook[postbit_end]
--------------------------------------------------------------------
By doing this it ends up looking massive as shown in the attatchement. Ive tried moving the code around but without any luck. Heres a section of my code before and after:
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
Ive removed it for the moment until hopefully im able to get this bit sorted. So close to getting it working!
Any help really is greatly appreciated.
Pocket Aces
10-18-2007, 03:10 AM
Recounters or deletion of all user thanks on ACP is not working. Kindly check on that. I have a banned member who abuses the thanks system and i couldnt mass remove his thanks given. We're using vb 3.6.8
wangjunyu
10-18-2007, 09:22 AM
Nice hack!
Omega409
10-18-2007, 12:10 PM
Update from 6.0 to 6.3
Datenbankfehler in vBulletin 3.6.8:
Invalid SQL:
SELECT thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext, allowsmilie
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 1 AND postparsed.languageid = 2)
WHERE thread.threadid IN(9011)
GROUP BY post.postid
ORDER BY sticky DESC,thread.dateline DESC
LIMIT 2;
MySQL-Fehler : Table './usr_web0_1/postparsed' is marked as crashed and should be repaired
Fehler-Nr. : 145
CBTS Pennywise1
10-18-2007, 01:11 PM
Where do it try to pull the image from? Instead of the Image I have Thanks. I think I put the image in all my Styles.
Nvm I just changed the directory to pull the Image from the main Image Folder.
mystic10
10-18-2007, 07:04 PM
everytime i upload the xml file using plugin it gives me fatal error i dont know why
this is the error msg:
error:
Warning: require_once(/home/yahoocit/public_html/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in /includes/class_postbit.php(268) : eval()'d code on line 1
Fatal error: require_once() [function.require]: Failed opening required '/home/yahoocit/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/yahoocit/public_html/includes/class_postbit.php(268) : eval()'d code on line 1
I've tryied to search the thread, the whole boards and the internet for a Spanish version of the default button, but I haven't succeed (damn, I thought I'd have better search skills after all those years :p).
So I went ahead and used the vBulletin 3 Graphics Developers Kit to do it by myself (my first go at photoshop, so don't be rude):
http://forum.lawebdefisica.com/images/buttons-esp/post_thanks.gif
bchertov
10-19-2007, 04:40 AM
Great Hack!
Here's a minor but useful tweak suggestion: (excuse me if its already been mentioned)
I'd like to see the memberinfo bit in the postbit where is says "Thanked X times for Y posts" (or something like that) be a link to all their posts that have been thanked!
Thanks!!
Barry
mvigod
10-19-2007, 12:21 PM
Great Hack!
Here's a minor but useful tweak suggestion: (excuse me if its already been mentioned)
I'd like to see the memberinfo bit in the postbit where is says "Thanked X times for Y posts" (or something like that) be a link to all their posts that have been thanked!
Thanks!!
Barry
Barry,
You can add it to the postbit drop down menu as an alternative:
https://vborg.vbsupport.ru/showpost.php?p=1344184&postcount=1674
bchertov
10-20-2007, 05:03 AM
Barry,
You can add it to the postbit drop down menu as an alternative:
https://vborg.vbsupport.ru/showpost.php?p=1344184&postcount=1674
Thanks! (Where's that Thanks button when you need it? ;) I presume I can just steal this code and use it as a link in the member info. Thanks again!
hitmann
10-20-2007, 09:41 AM
Sometimes it can be messy if 100+ people who Thank a poster have their username shown in the post.
Is it possible to only add the number of Thanks in postbit/postbit_legacy, and a link on that number where it will lead to a page where it will show who thanked.
Audentio
10-21-2007, 03:27 AM
Very nice, didnt like it at first but now that I use it, I love it!
thanks very good
I LOVE vbulletin
tiekie
10-21-2007, 04:45 AM
This is a great hack
I have this hack installed together with the 'link hiding hack' and it's working 100% but there is just one small add-on function i want this hack to do.
I want it to bump the thread when someone press thank you
How would i be able to do so ?
inciarco
10-21-2007, 06:24 AM
Great Hack Abe1!! :up:
In case this Serves to Someone, the Reason Why You Get Duplicate Buttons and Thank You Posts, is because of the Double Edit of the Templates; once you install the Hack (at least on 3.6.7 PL1), the Product Modify all the Templates, and if you Include the Modifications on the "Template Edits for Custom Styles" File, then You'll be Duplicating the Presented Info!! ;)
Verify the Templates before Applying any Change on them!! :p
My Best Regards!! :up:
:)
mystic10
10-21-2007, 02:10 PM
thank yOu!!!
mystic10
10-21-2007, 02:52 PM
:( i installed everything but there is no button...i see thanked 0 times in 0 post..but i dont see any button..what should i do
Seiyaboy
10-21-2007, 03:46 PM
I'd like to ask that when an admin uses the "Remove All" function, although it removes all the thanks given to that particular member in a post, but does it also reduce the bonuses (such as post count, reputation, etc) given as well?
:( i installed everything but there is no button...i see thanked 0 times in 0 post..but i dont see any button..what should i do
If you are using a custom template, different from the default vbulletin one, you will need to manually edit the template using the text instructions given in the download. You also need to make sure you have the correct directory for the thank button image.
Hi...
I have upload everything correctly.
I have verified it in the orginal style vb and other two styles that I have and it works perfectly.
Nevertheless, it does not work in the style that I like more. The button does not appear, nothing.
What can be? The image well is upload.
greetings
powerful_rogue
10-23-2007, 01:25 AM
Hi, Thanks for your advice, worked a treat putting the code below instead of above. My only other problem is with:
By doing this it ends up looking massive as shown in the attatchement. Ive tried moving the code around but without any luck. Heres a section of my code before and after:
Ive removed it for the moment until hopefully im able to get this bit sorted. So close to getting it working!
Any help really is greatly appreciated.
Anyone able to help at all please :)
Edit - Link to original post with attatchement. (https://vborg.vbsupport.ru/showpost.php?p=1362732&postcount=1726)
Dream
10-24-2007, 02:51 AM
I donated you 10 bucks as a token of appreciation, as this mod will be very useful for a new forum. Thank you.
powerful_rogue
10-24-2007, 07:15 PM
From having a look and a read around im guessing the layout in the attatchement is standard. I managed to alter the text to reduce the size of the box, however it still seems to large.
Is it possible to have "The Following Users say thank you to XXX for this useful post" running along the top, rather then down the side?
IE - There will be no line seperating the two sections of the box? That way it will make the box a lot smaller and less intrusive.
Ive searched around, but not sure what I would need to edit. If anyone can help I would be really really appreciatve as I cant wait to go live with this mod.
Many Thanks
Dave
karnevil
10-26-2007, 09:57 AM
Thankyou works great (I still have two thanks buttons for some bizarre reason but will work that out at some point I'm sure - thanks for the hint inciaro )
1uxkz
10-27-2007, 08:34 PM
I always get this db error when physically removing threads
Database error in vBulletin 3.6.8:
Invalid SQL:
DELETE FROM thanks WHERE postid IN (6020,6021,0);
MySQL Error : Table '*****.thanks' doesn't exist
any ideas how to fix
This is a great hack
I have this hack installed together with the 'link hiding hack' and it's working 100% but there is just one small add-on function i want this hack to do.
I want it to bump the thread when someone press thank you
How would i be able to do so ?
No way.
I always get this db error when physically removing threads
Database error in vBulletin 3.6.8:
Invalid SQL:
DELETE FROM thanks WHERE postid IN (6020,6021,0);
MySQL Error : Table '*****.thanks' doesn't exist
any ideas how to fix
You must have edited something. I dont use a table called 'thanks'.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.