View Full Version : Show Thread Enhancements - [AJAX] Post Thank You Hack
Pages :
[
1]
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Post Thank You Hack
STAFF EDIT:
Note - The mod author has been unreachable for some time, but the vbulletin.org community has stepped up to provide a number of individual fixes over the years. ForceHSS, Hippy, and Seven Skins have all combined many of these fixes into product files.
ALL CREDIT STILL GOES TO ABE1 And this is still 'his' mod. Please still mark the mod as installed if you use any version of it.
That said so you don't need to apply a dozen + small fixes yourself you should consider downloading one of the updated packages below:
Hippy has one in this post (https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941).
AND / OR
ForceHSS has one in this post (https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550).
AND/OR
Seven Skins has one in this post (https://vborg.vbsupport.ru/showpost.php?p=2577539&postcount=3630).
- Original File Specs: post_thanks_7_82.zip (26.4 KB, 24844 downloads) - Original file removed, replaced with patched files including search fix (some admins noticed hackers attempting to use outdated code to exploit search in attempt to gain administrator password or similar).
- There are five total patched versions available, some with and without the search fix - I've replaced the main file with the patched versions... please be sure to download and install the correct version, the main mod post contains links to additional information and patched files!
- If Abe1 returns he can request these packages be removed.
About this hack:
One of the biggest problems on forums as you may know is 'posts boosting'. There are users who LOVE to say 'thanks' when ever they can. How can it hurt? Their post count goes up, they have nothing to loose.
There are also users who really like to express their thanks to post but don't like posting a post that looks like they're post boosting.
Then comes the moderators who have to delete people's thanks yous so a thread can look readable with out the thanks yous thrown around.
Finally comes the posters of these useful posts. They have no idea how many people really likes their posts if only some people say 'thanks'.
What this hack does is fix ALL these problems - except those users who like post boosting. This places a button called 'thanks.' When a user clicks on it, it places his username in a box right under the post saying that so-and-so says 'thanks' for the post. Every-one who clicks is placed in one box.
By giving your users the extra feature, you forum will look allot nice and organized. It is a guaranteed liking by ALL the members of your forum.
Features:
Uses vBulletin easy Product installer/updater/uninstaller
Uses AJAX technology so your users don't have to refresh when they thank.
Places an easy to use button next to the edit button
Separate looks for postbit and postbit_legacy
Places all Thanks into one small box
Uses only ONE query every time you view a showthread page!
Users can't thank twice
Option to not allow users to thank their own post
Guests don't see 'thanks' button
Counts how many thanks a user gives
Counts how many thanks a post gets
Shows how many thanks a user gave in every post of his
Shows how many thanks a user gave in profile
Shows how many thanks a user got
Shows how many posts or a user are thanked
Shows info in profile
Search for a users thanked posts
Search for all thanked posts
Administrator can remove all Thanks from a single post
Users can remove their own Thanks
Turn on and off hack totally
Turn on and off hack for only some forums
Option to turn off hack for all but the first post of a thread
Option to turn off hack for all but the first post of a thread in specific forums
Option to turn off hack view of date for specific or all forums
Option to add to post count when someone clicks 'thanks'.
Option to give a user who receives thanks reputation points.
Ban Usergroups
Ban Users
Uses Phrases
Cache Templates
Guaranteed to be liked by ALL users on your forum!Installation information on hack:
Files edited: 0
Templates edited: 0
Files to upload: 8
Time to install: 1 minute max
Updates:
Version 7.80 (12/30/09):
Release of this hack for vBulletin version 4.0
Version 7.81 (01/02/10):
Fixed some install and uninstall database errors.
Made styling for postbit legacy a little better.
Fixed the "separator" issue.
Javascript file updated.
Version 7.82 (01/03/10):
Fixed info alignment issues in the postbit for custom edited phrases.
NOTE: *** Offer for paid services removed ***
A few things to note:
1) If you did not upgrade to 4.0 and want to save your thanx when upgrading; disable, but NOT uninstall the post thanx before upgrading to 4.0. Once you upgrade to 4.0 upgrade post thanx hack how you would normally upgrade a hack. It should automatically re-enable post thanx hack.
2) No searching feature yet
3) No legacy version of the box with thanx. If you have legacy enabled on your site, you will get the same box as non-legacy users.
4) If you want to move the Thanx button to near the edit post button,
open template postbit
find
{vb:raw template_hook.postbit_controls}
and move it under
<span class="postcontrols">
5) thanx to I.am and RobbieZ for help with the pictures
6) and a big thanx to the few of you who have donated in the past few days and will do in the coming days.
RS_Jelle
12-30-2009, 08:33 AM
Thanks a lot!
(first :D)
Excellent!
Just a quick question since I haven't downloaded it as I need the legacy to work, but if we still have the old hack and upgrade, will all the thanks carry over?
mgurain
12-30-2009, 08:38 AM
Thank You Very Much Abe1, Finally one of the Most Have is upgraded.
Many Thanks, I need to press the button here :)
linuxututs
12-30-2009, 08:40 AM
Super job Mate !!!
Thank You,
P.S. Still wonder why vB doesn't make simple features like this default in vB....?
lifedaniel
12-30-2009, 08:40 AM
Un tr?s grand merci pour ce tr?s bon Hack ! :)
Excellent!
Just a quick question since I haven't downloaded it as I need the legacy to work, but if we still have the old hack and upgrade, will all the thanks carry over?
I updated the 2nd post to reflect your 2 questions.
BozzaJos
12-30-2009, 09:01 AM
Damnz... first Jelle releases the DownloadsII mod and now you with the Thank You mod. The two most used features on my forum!
Fantastic job Abe, really appreciate your hard work and for converting the mod to vB4 in such a short period of time. I will upgrade this mod when I get home, hopefully everything will go fine.
One question though; You say there isn't a legacy version. With this you mean the postbit_legacy template? If so, will there be in the near future? Or is there perhaps a manual workaround?
Again, thank you so much for your hard work! Rated 5 stars and nominated it so that it can compete with the DownloadsII mod! :-D
RobbieZ
12-30-2009, 09:09 AM
Thanks for this Abe1. Glad I could help too :D
jackichan70
12-30-2009, 09:14 AM
sorry, do not understand this sentence: and move it under ???
compact123
12-30-2009, 09:15 AM
this is my favorite mods, thank you so much ^O^
RobbieZ
12-30-2009, 09:22 AM
sorry, do not understand this sentence: and move it under ???
AdminCp>Styles & Templates>Style Manager>Postbit
Now find this in postbit
{vb:raw template_hook.postbit_controls}
Highlight it, copy it and delete it.
Now find this bit in postbit
<span class="postcontrols">
and press enter after it and paste the first one.
<div class="postfoot">
<div class="textcontrols">
<span class="postcontrols">
{vb:raw template_hook.postbit_controls}
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if
lovechandigarh
12-30-2009, 09:32 AM
I'd been waiting for this. Going to install now... Cheers!
redlabour
12-30-2009, 09:34 AM
Still no integration of Post Groan Hack. :down: This has been promised since the first 7.x Release. :mad:
And of course a Update for Post Groan is missing for 4.0. :cool:
Excellent
Thanks
(if there was a thanks button here too, id use it ;)
Hornstar
12-30-2009, 09:39 AM
This beats the rep feature by far. Love it.
The Coon
12-30-2009, 09:40 AM
Excellent
Thanks
(if there was a thanks button here too, id use it ;)
I agree! :cool:
Charlie98902
12-30-2009, 10:12 AM
Thanks for the update. I did the template edit in the postbit to move it by the edit button however it is still at the default location instead of being by the edit button.
iguano
12-30-2009, 10:15 AM
thanks, installed and nominated
this is necessary and important in every forum :)
saviola8x
12-30-2009, 10:22 AM
I like your mod. But i dont use it.
This is demo my developer this mod : http://uevf.net/forum/showthread.php?132-Nhat-Ky-Online&p=283#post283
Install
coberr
12-30-2009, 10:36 AM
Hello, first thanks for the update.
I have a problem with the post thanks plugin.
I updated it from the last version 3.x and after I enable the plugin the server start with a high load average and forum doesnt load.
I disable all plugins/ blog and /cms and only enable the post thanks, the home page load fine but when I want to see the post there is only a blank page.
How can I check the error, I checked the error.log from the apache but there is nothing.
Thanks.
valendono
12-30-2009, 10:36 AM
the thumb image and the thumb hover its not showing..
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
just me or ?
Doctor Death
12-30-2009, 10:41 AM
I installed per directions (like other plugins) and the thank you button doesnt show... I am using default skin so there is no reason why it shouldnt. I see the code in the template but the button doesnt appear.
When I try to uninstall (because my tempate is now messy) I get this
Database error in vBulletin 4.0.0:
Invalid SQL:
ALTER TABLE `vywhbabh_user` DROP `post_thanks_user_amount`;
MySQL Error : Can't DROP 'post_thanks_user_amount'; check that column/key exists
Error Number : 1091
Request Date : Wednesday, December 30th 2009 @ 07:44:06 AM
Error Date : Wednesday, December 30th 2009 @ 07:44:06 AM
Script : http://www.ddsog.com/forums/admincp/plugin.php?do=productkill
Referrer : http://www.ddsog.com/forums/admincp/plugin.php?do=productdelete&productid=post_thanks&s=
IP Address : 70.333.40.132
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 4.1.22-standard
Please help!
Thanks!
dnk.it
12-30-2009, 10:45 AM
just me or ?
me too
RobbieZ
12-30-2009, 10:47 AM
Excellent
Thanks
(if there was a thanks button here too, id use it ;)
I agree! :cool:
The thanks button or image is in the zipfile under the buttons folders.
Vb4 Doesn't use buttons like they do in 3.8 and predecessors.
It is text with an image next to it. As you hover over the colour will change.
Doctor Death
12-30-2009, 10:53 AM
When you click on the THANKS button, the button goes away but the two separators where the button was remain... any way of removing them so it doesnt appear as if a button was supposed to be there?
valendono
12-30-2009, 10:53 AM
The thanks button or image is in the zipfile under the buttons folders.
Vb4 Doesn't use buttons like they do in 3.8 and predecessors.
It is text with an image next to it. As you hover over the colour will change.
r u sure ?
Stylevar - ImagePaths - Button Image Directory - Image Path: images/buttons
Kolbi
12-30-2009, 10:53 AM
Thank you!
Dr.osamA
12-30-2009, 10:56 AM
installed & nomineted
thanxxx great job
can i translet to arabic and add her plzz ?
________
Host And Design (http://hostndesign.com)
bollie
12-30-2009, 10:56 AM
the thumb image and the thumb hover its not showing..
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
just me or ?
me too
Silencer Groans
12-30-2009, 11:10 AM
Thank you, my mentor
Annex in Arabic
Dr.osamA
12-30-2009, 11:16 AM
Thank you, my mentor
Annex in Arabic
??? ?????? ??? ???? ??? ?????
this product not the sem Post Thank You Hack !!!!
________
Royal Star Tour Deluxe (http://www.yamaha-tech.com/wiki/Yamaha_Royal_Star_Tour_Deluxe)
Dr.osamA
12-30-2009, 11:18 AM
loooooooooooooooooooool Silencer Groans
thannnnx
________
Big tits sex (http://www.++++tube.com/categories/10/big-tits/videos/1)
Skyrider
12-30-2009, 11:21 AM
Any vB4 demo's or screenshots?
Silencer Groans
12-30-2009, 11:26 AM
loooooooooooooooooooool Silencer Groans
thannnnx
Modified
بالغلط حطيته يا اسامة ^^
Gnoll
12-30-2009, 11:33 AM
No error @ install , works nice :)
Installed , 5 Star
coberr
12-30-2009, 11:36 AM
I have a problem.
When I click on the Thanks I get the follwoing:
http://img683.imageshack.us/img683/1580/sc2.jpg
Charlie98902
12-30-2009, 11:36 AM
Okay refreshed my cache now it is in its default location by the I icon but it is also by the edit button any ideal how to remove the one by the IP icon? See attachment
EDIT: Never mind I forgot to remove the other hook :D
TimberFloorAu
12-30-2009, 11:36 AM
No images showing.. any help plz
eTiKeT?
12-30-2009, 11:43 AM
Thank you I was waiting at :)
Installed
I upgraded and enabled the product, but there is nothing in postbit & postbit_legacy, doesn't show anything.
movslow
12-30-2009, 11:52 AM
Still no integration of Post Groan Hack. :down: This has been promised since the first 7.x Release. :mad:
And of course a Update for Post Groan is missing for 4.0. :cool:
Same here, can't install one w/o the other.
Waiting on Post Groan now.
woffie
12-30-2009, 11:54 AM
Installed and nominated. Thanks for this.
the thumb image and the thumb hover its not showing..
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
just me or ?
Does the included of the post thanx javascript get put on the page?
I installed per directions (like other plugins) and the thank you button doesnt show... I am using default skin so there is no reason why it shouldnt. I see the code in the template but the button doesnt appear.
When I try to uninstall (because my tempate is now messy) I get this
Database error in vBulletin 4.0.0:
Invalid SQL:
ALTER TABLE `vywhbabh_user` DROP `post_thanks_user_amount`;
MySQL Error : Can't DROP 'post_thanks_user_amount'; check that column/key exists
Error Number : 1091
Request Date : Wednesday, December 30th 2009 @ 07:44:06 AM
Error Date : Wednesday, December 30th 2009 @ 07:44:06 AM
Script : http://www.ddsog.com/forums/admincp/plugin.php?do=productkill
Referrer : http://www.ddsog.com/forums/admincp/plugin.php?do=productdelete&productid=post_thanks&s=
IP Address : 70.333.40.132
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 4.1.22-standard
Please help!
Thanks!
This looks like you are uninstalling. and that it does not have that table. Try reinstalling then uninstall.
When you click on the THANKS button, the button goes away but the two separators where the button was remain... any way of removing them so it doesnt appear as if a button was supposed to be there?
I added the separator in the last minute. I didn't have a chance to fully test it. I will look into it.
Any vB4 demo's or screenshots?
When I get a few minutes to play graphic artist.
reimic
12-30-2009, 12:00 PM
I installed, uploaded all and activated all but there is still no thank you button? Ok I see it now, but i its not in all forums and the image is missing. I uploaded the images to the /images/buttons folder..
I upgraded and enabled the product, but there is nothing in postbit & postbit_legacy, doesn't show anything.
I have the same issue but only with IE and compatibility mode enabled. It hides all the postbits.
Thank you very much, this addon is very necessary :D
ragarcia87
12-30-2009, 12:04 PM
I upgraded my board from 3.8.4 PL1 to 4.0.0 PL1. I had the mod install before but uninstalled all my mods at one point. When I install this it will not show in the postbit or postbit legacy. It will show the stats on the members profiles but not in the postbit.
BTW, thank you for this wonderful mod :D
gbechtel
12-30-2009, 12:05 PM
Installed and sorta working...
Seems the thanks images progressively multiply as you go down the page, the farther the post is down the thread the more thanks images appear...
Also displays the same behavior with the information in postbit see attachment thanks1
See attachment, any ideas?
Charlie98902
12-30-2009, 12:06 PM
Abe1 here is some screens from mine if you want to use them however I made the extra template edit to move the thanks button to the right instead of the left. Feel free to use these in your first post. Sorry no screen to view your thanks. I looked and didn't see the view your thanked post etc....
Charlie98902
12-30-2009, 12:07 PM
Installed and sorta working...
Seems the thanks images progressively multiply as you go down the page, the farther the post is down the thread the more thanks images appear...
See attachment, any ideas?
I bet you have this in there 3 times? Look carefully and see.
{vb:raw template_hook.postbit_controls}
I get the same db error Doctor Death, i've tried to re-install and uninstall it but without success the db error is there.
How can i fix it?
Thanks
reimic
12-30-2009, 12:10 PM
2 problems i can't solve:
1) There is no image showing up. Only the text "Thanks".
2) Why the thank you button is not in all threats? In some threats i have only a blank space.
bluidkiti
12-30-2009, 12:10 PM
I did what you said for moving the button over by the Edit button but the Thanks button didn't move. Any suggestions?
gbechtel
12-30-2009, 12:14 PM
I bet you have this in there 3 times? Look carefully and see.
{vb:raw template_hook.postbit_controls}
Where would I be looking for this Charlie??
valendono
12-30-2009, 12:16 PM
@Abe1
Yes, it does, I know theres have images to show because of that, but the thumb images not showing.. thumb and hover.. it doesn't mean anything to paste the css in here..
Charlie98902
12-30-2009, 12:16 PM
Where would I be looking for this Charlie??
In the postbit be sure there is only one template hook like this.
Doctor Death
12-30-2009, 12:18 PM
This looks like you are uninstalling. and that it does not have that table. Try reinstalling then uninstall.
Tried that and still got DB error... will retain this mod as I know you are working hard on fine tuning it --- and I truly appreciate your work. Thanks on behalf of all who use it -- I can imagine you are swamped with comments.
Thanks again.
Doc
www.ddsog.com
This is my db error:
Database error in vBulletin 4.0.0:
Invalid SQL:
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (826786,826923,826925,826928,827636,827643,828288, 828291,828300,828316,828330,828421,828434,828439,8 28447,828899,831966,831970,832457,832460,832467,83 2529,832598) ORDER BY post_thanks.username ASC;
MySQL Error : Table 'xxxxx_xxxxxx.post_thanks' doesn't exist
Error Number : 1146
Request Date : Wednesday, December 30th 2009 @ 09:17:52 AM
Error Date : Wednesday, December 30th 2009 @ 09:17:53 AM
Script : http://forum.com/showthread.php?t=132731&page=4
Referrer : http://forum.com/
IP Address : xx.xx.xxx.xxx
Username : xxxxx
Classname : vB_Database
MySQL Version : 5.0.85-community-log
gbechtel
12-30-2009, 12:21 PM
In the postbit be sure there is only one template hook like this.
Yes only one :confused: hmmmm
KristerSwe
12-30-2009, 12:27 PM
the thumb image and the thumb hover its not showing..
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
just me or ?
Same for me :confused:
reimic
12-30-2009, 12:35 PM
I think this is script is very BETA yet. You should update the version. But i think when all bugs are gone, this is a great addon.
I upgraded my board from 3.8.4 PL1 to 4.0.0 PL1. I had the mod install before but uninstalled all my mods at one point. When I install this it will not show in the postbit or postbit legacy. It will show the stats on the members profiles but not in the postbit.
BTW, thank you for this wonderful mod :D
You may be missing some template hooks. please compare with original and see what you are missing.
Installed and sorta working...
Seems the thanks images progressively multiply as you go down the page, the farther the post is down the thread the more thanks images appear...
Also displays the same behavior with the information in postbit see attachment thanks1
See attachment, any ideas?
Very weird. This would have happened back in one of the vb versions when they first came out with the template hooks. I had them fix it and everyone would have this problem if it still existed. Do you have any edited php files?
2 problems i can't solve:
1) There is no image showing up. Only the text "Thanks".
2) Why the thank you button is not in all threats? In some threats i have only a blank space.
Do you have more then one style?
I used to offer free support to install on your web site. If you want me to install on your site now, and make sure you have a 100% working hack, it will cost $50. I will guaranty it works 100% after I install or no payment. If though there really is a bug in my code, then installation will be free. Many of you may have a conflicting hack, or a your own edit you once did. I can't figure out most problems without seeing what your site is like. For this I will charge. If it ends up as a bug in my code, (does not included conflicting errors with other hacks) then you will not be charged. PM me for details. I'd love to help you all but time has me constrained.
valendono
12-30-2009, 12:53 PM
@abe1
reimic problem is same like the other problem including me..
1) There is no image showing up. Only the text "Thanks".
I have already sent you a pm regarding my db errorn and i can't uninstall it
Charlie98902
12-30-2009, 12:54 PM
Database error posters ensure that all the .php files are installed as I almost missed the upload of the one that goes just in the root directory.
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
Database error posters ensure that all the .php files are installed as I almost missed the upload of the one that goes just in the root directory.
I have re-upload all files twice none error in this phase.
Thanks
bluidkiti
12-30-2009, 01:01 PM
4) If you want to move the Thanx button to near the edit post button,
open template postbit
find
{vb:raw template_hook.postbit_controls}
and move it under
<span class="postcontrols">
When I move the Thanks button near the Edit button the Blog This Post button moves with it. Any suggestions?
I think this is script is very BETA yet. You should update the version. But i think when all bugs are gone, this is a great addon.
Excuse me? There have been no proven bugs. Anything I found so far is someone not installin correctly or updating the files. No bugs yet found.
When I move the Thanks button near the Edit button the Blog This Post button moves with it. Any suggestions?
They both move since they are both using that plugin. You can change the order that the plug-in execute though and get the thanx button to the left of the blog button. The plug-in name it something like postbit_complete.
valendono
12-30-2009, 01:08 PM
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
Its work ! Thanks.
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
Thanx for the tip. I will look into adding that.
@abe1
reimic problem is same like the other problem including me..
1) There is no image showing up. Only the text "Thanks".
Do you have more then 1 style?
ragarcia87
12-30-2009, 01:11 PM
Thanks Abe1 for your speedy response :D
I will compare the two styles and see whats up. :D
valendono
12-30-2009, 01:13 PM
only 1 default style and rbu post fix it.. :)
dont worry anymore, thanks for upgrade.. chill out bro..
Cyrus [Hwluxx]
12-30-2009, 01:14 PM
Thx for update Abe1
I just installed it with overwrite the old 7.7 Version, working perfect.
reimic
12-30-2009, 01:23 PM
deleted
reimic
12-30-2009, 01:27 PM
Its work ! Thanks.
it also helps for me! but there is still one problem. in some threats there is no thank you button. only a blank space. have you an idea?
Charlie98902
12-30-2009, 01:45 PM
it also helps for me! but there is still one problem. in some threats there is no thank you button. only a blank space. have you an idea?
Are they your posts?
Cmangum
12-30-2009, 01:45 PM
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/post_thanks.php on line 57.
I'm pretty sure I have everything from the upload file in the right places
abbasbsp
12-30-2009, 02:02 PM
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
thanks. nice tip ....
mandingo
12-30-2009, 02:29 PM
Thanks for the update. I did the template edit in the postbit to move it by the edit button however it is still at the default location instead of being by the edit button.
I did what you said for moving the button over by the Edit button but the Thanks button didn't move. Any suggestions?
Make the template edit in postbit_legacy instead
elwachiman
12-30-2009, 02:31 PM
The hack does not work with internet explorer, trying to put to thank the post puts it blank and send the user a quick response shows no thanks, uninstalled for now, besides changing the poer button Quick Response button to thank
Charlie98902
12-30-2009, 02:36 PM
Make the template edit in postbit_legacy instead
Thanks but I use the postbit and forgot to add and remove a template edit as I needed to.
dnk.it
12-30-2009, 02:38 PM
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
this fix my problem as well, thanks :)
vulture
12-30-2009, 02:45 PM
wrong error
DBStattoo
12-30-2009, 03:10 PM
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
Nice thanks :D
reimic
12-30-2009, 03:11 PM
Are they your posts?
Ok sorry. I am an idiot! ;)
DBStattoo
12-30-2009, 03:11 PM
Nice hack install and nominate :up:
vulture
12-30-2009, 03:15 PM
Getting the following error when upgrading from 5.3
Database error in vBulletin 4.0.0:
Invalid SQL:
ALTER TABLE `user` ADD `post_thanks_user_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
MySQL Error : Duplicate column name 'post_thanks_user_amount'
Error Number : 1060
Classname : vB_Database
MySQL Version : 5.0.41-community
Edit: v5.3 is disabled when I do the upgrade
Charlie98902
12-30-2009, 03:25 PM
Try removing all of the thank you hack and do a clean install of the newest version here. It's worth a shot.
vulture
12-30-2009, 03:28 PM
Was thinking that but then I guess all users loose their thanks.
No big deal I guess. I'll backup the DB before I do that though!
Charlie98902
12-30-2009, 03:32 PM
I am no coder but it is a shot in the dark. I agree with the loss of thanks my members lost the same too as I uninstalled the 3.8 version before I upgrade the forum but they understand too.
AdamSC
12-30-2009, 03:46 PM
Hi there, thanks for the great post - I am trying to figure out how I can make this appear on a custom skin - what do I add and to which template file?
vulture
12-30-2009, 03:48 PM
The install assumes that the relevant fields on the table don't exist. Is there not a way of checking to see if they already exist and skip?
<![CDATA[$db->query_write("CREATE TABLE IF NOT EXISTS`". TABLE_PREFIX ."post_thanks` ( `id` INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, `userid` INT(10) NOT NULL, `username` VARCHAR(50) NOT NULL, `date` INT(10) NOT NULL, `postid` INT(10) NOT NULL) "); $db->query_write("ALTER TABLE `". TABLE_PREFIX ."post_thanks` ADD INDEX ( `postid` )"); $db->query_write("ALTER TABLE `". TABLE_PREFIX ."user` ADD `post_thanks_user_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL"); $db->query_write("ALTER TABLE `". TABLE_PREFIX ."post` ADD `post_thanks_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL"); $db->query_write("ALTER TABLE `". TABLE_PREFIX ."user` ADD `post_thanks_thanked_posts` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL"); $db->query_write("ALTER TABLE `". TABLE_PREFIX ."user` ADD `post_thanks_thanked_times` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");]]>
coloradomoms
12-30-2009, 03:50 PM
Installed and Love it!
Is there a way to install this a second time to make it say "hugs" and track separately? Just curious. :)
ETA - I moved the postbit thingy to make the thanks go next to editpost, but its still under the avatars and stuff. No big deal, just curious as to why it isn't moving. I did the legacy thing and refreshed, cleared cache, etc. still didn't budge. I guess it just wants to hang out over there. ;)
g00gl3r
12-30-2009, 03:59 PM
Brilliant, I've been waiting for this. It looks smart and works very well. Used it for years and the members love it! Well done you!
dtommy79
12-30-2009, 04:14 PM
Do you have more then 1 style?
I have the same problem.
I did a fresh install of vb4, and a fresh install of post thanks hack and the thanks image doesn't show up, only the text.
TheLastSuperman
12-30-2009, 04:16 PM
Please send updates for THIS 4.0 mod using this mods Update feature not your 3.8.x mod update feature... your confusing some members and falsely giving me update notices as well along with 24,000 others who many do not even own 4.0.
https://vborg.vbsupport.ru/showthread.php?t=165673&page=127
Mike
Fixed db error and now all is perfect, thanks again Abe. ;)
Alibass
12-30-2009, 04:43 PM
Super nice mod.... *installed* :)
LifesGreatestGift
12-30-2009, 04:56 PM
Thanks for the updated mod. Work's beautifully. Installed.
http://www.TheWindows7Site.com
ForYou
12-30-2009, 05:08 PM
there is no AJAX like before , when user click on thank buttom there is refresh the page then he will show his thanks , but before there is no refresh the page ,
how we can solve this problem ,
Regards
Charlie98902
12-30-2009, 05:19 PM
They both move since they are both using that plugin. You can change the order that the plug-in execute though and get the thanx button to the left of the blog button. The plug-in name it something like postbit_complete.
I did the template edit to pull it over by the edit post but I do not want to figure out how to put blod button back are you working on a fix for this minor thing? If not how would I go about getting the thanks button and blog button back on the left agian like it is default?
there is no AJAX like before , when user click on thank buttom there is refresh the page then he will show his thanks , but before there is no refresh the page ,
how we can solve this problem ,
Regards
There is no need to refresh when I hit thanks it shows I did almost immediately. I hated that refresh/load page in 3.8.
LoveStream
12-30-2009, 05:30 PM
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
Great man, :up::)
steve1966
12-30-2009, 05:45 PM
Installed today working fine over existing version thanks abe for updaing :)
Lovinmysailor
12-30-2009, 05:53 PM
Installed. Thank you! This is one of the hacks my members and I missed the most!
Lovinmysailor
12-30-2009, 06:08 PM
Quick question. Sorry if has already been answered. After I installed it I tried it out and I get the you do not have permission to do this. It only tells me this on some posts and not others and then it will go ahead and post anyways. How would you suggest I fix this? Thank you!
Also not that it really matters but I just wanted to let you know that the count is off by one. So if one person thanks a post it will say the following 3 people have found this useful.
Charlie98902
12-30-2009, 06:23 PM
They both move since they are both using that plugin. You can change the order that the plug-in execute though and get the thanx button to the left of the blog button. The plug-in name it something like postbit_complete.
Can you elaborate please or post the plugin to add like you said here please?
Thanks
KristerSwe
12-30-2009, 06:51 PM
Really great addon.... just a question.... can i use this for vb 4 suite ? or is it for the vb4 forum..
Thanks
Charlie98902
12-30-2009, 06:56 PM
It is just a forum thanks mod not a blog or Article thanks mod.
fariborz khan
12-30-2009, 06:58 PM
me too
Me Too
carrlos
12-30-2009, 07:32 PM
I uninstalled the 3.x.x version before upgrading to 4.0.0. Is there anyway to recover the db tables from my backup without totally reverting to the backup? I don't want to revert because I will lose a week of posts, etc.
I know this requires some sort of copying and pasting of the tables from my backup (I restored it to a new db) then adding them to the current db. I just don't know how this is done and I don't know which tables are needed.
Thanks.
lolo?
12-30-2009, 07:46 PM
very thanks best mode on vb :) install :)
chloe101
12-30-2009, 08:10 PM
Thanks for upgrading this awesome hack. Nominated again of course.
Unfortunately, I also love Mosh's Panic Hack which works GREAT except that it wipes out VB's "Blog This Post" and also your "Post Thank You" hack. Both at the same time.
I'm not a programmer but my logic tells me you probably programmed your hack in such a way that it eases in next to something instead of totally taking a space.
Can you help me in any way with this unfortunate conflict because I need both your hacks for my users.
This is the conflict I'm getting
Here's with Panic Off
https://vborg.vbsupport.ru/
And now with Panic On
https://vborg.vbsupport.ru/
I'm using VB4 Suite with the blogs turned on. Thanks
Dream
12-30-2009, 08:13 PM
Thanks Abe1, I would love to use the Groan hack on 4.0 as well. Thank you either way :)
ShawnV
12-30-2009, 08:16 PM
Great mod, I'll wait for the postbitlegacy update.
Charlie98902
12-30-2009, 08:16 PM
I want to move my thanks from next to the edit back to the left. Anyone know how to do this without losing current thanks?
dtommy79
12-30-2009, 08:24 PM
I only have the thanks text and no thumbs image. What's the problem?
It's a clean install on default skin.
Charlie98902
12-30-2009, 08:29 PM
There is another plugin you can make, Abe1 said but I have no ideal how to accomplish it?
I only have the thanks text and no thumbs image. What's the problem?
It's a clean install on default skin.
Take a look:
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
M3xital
12-30-2009, 08:37 PM
Great Mod!!
I have just a small issue, i use my forum with a style i downloaded from the Styles section here and in the postbit legacy the number of thanks is not aligned with the word "Thanks".
With the default style there is no problem.
see attachments.
Charlie98902
12-30-2009, 08:44 PM
Yea formatting needs tweaked for postbit too.
Nadeemjp
12-30-2009, 08:53 PM
gr8 hack, was waiting for this:)
vulture
12-30-2009, 09:20 PM
Version 5.3 uses exactly the same database tables. To fix the error change to the following in products-post_thanks.xml
<installcode><![CDATA[$db->query_write("CREATE TABLE IF NOT EXISTS`". TABLE_PREFIX ."post_thanks` (
`id` INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`userid` INT(10) NOT NULL,
`username` VARCHAR(50) NOT NULL,
`date` INT(10) NOT NULL,
`postid` INT(10) NOT NULL)
");
]]></installcode>
This is the original error:
Getting the following error when upgrading from 5.3
Database error in vBulletin 4.0.0:
Invalid SQL:
ALTER TABLE `user` ADD `post_thanks_user_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
MySQL Error : Duplicate column name 'post_thanks_user_amount'
Error Number : 1060
Classname : vB_Database
MySQL Version : 5.0.41-community
Edit: v5.3 is disabled when I do the upgrade
dtommy79
12-30-2009, 09:22 PM
OK, I have a custom skin and the thumbs image doesn't appear, only the text. I've made the suggested template modifications but it doesn't work.
Any idea?
vulture
12-30-2009, 09:40 PM
The alignment is out in postbit (see attachment). How can this be fixed?
HappyFeet
12-30-2009, 09:58 PM
Thanks for upgrading this awesome hack. Nominated again of course.
Unfortunately, I also love Mosh's Panic Hack which works GREAT except that it wipes out VB's "Blog This Post" and also your "Post Thank You" hack. Both at the same time.
I'm not a programmer but my logic tells me you probably programmed your hack in such a way that it eases in next to something instead of totally taking a space.
Can you help me in any way with this unfortunate conflict because I need both your hacks for my users.
This is the conflict I'm getting
Here's with Panic Off
https://vborg.vbsupport.ru/
And now with Panic On
https://vborg.vbsupport.ru/
I'm using VB4 Suite with the blogs turned on. Thanks
I'm having the same issue... I would also like to know how to fix this. I like both hacks and want to use them, for now I'm having to choose between the two.:(
Great hack Abe1, I've been waiting for this to be updated. Thank you!
Charlie98902
12-30-2009, 10:04 PM
I'm having the same issue... I would also like to know how to fix this. I like both hacks and want to use them, for now I'm having to choose between the two.:(
Great hack Abe1, I've been waiting for this to be updated. Thank you!
Can you look at the postbit template and tell me where the original hook is and the original phrase?
Front Range 4x4
12-30-2009, 10:06 PM
The alignment is out in postbit (see attachment). How can this be fixed?
Thanks Abe1, I'd like to know how to correct this too.
athlon64bit
12-30-2009, 10:17 PM
I uninstalled the 3.x.x version before upgrading to 4.0.0. Is there anyway to recover the db tables from my backup without totally reverting to the backup? I don't want to revert because I will lose a week of posts, etc.
I know this requires some sort of copying and pasting of the tables from my backup (I restored it to a new db) then adding them to the current db. I just don't know how this is done and I don't know which tables are needed.
Thanks.
Perhaps you could try creating a new database table, import your old 3.x.x backup, then download/backup the individual "thank you" tables, then import them into the vb 4.x database. This is how I would try doing it but I have not done this before but it is the only solution that I can think of if you don't want to lose your weeks worth of posts.
Quick question. Sorry if has already been answered. After I installed it I tried it out and I get the you do not have permission to do this. It only tells me this on some posts and not others and then it will go ahead and post anyways. How would you suggest I fix this? Thank you!
Also not that it really matters but I just wanted to let you know that the count is off by one. So if one person thanks a post it will say the following 3 people have found this useful.
Try using the recounters in the acp.
I uninstalled the 3.x.x version before upgrading to 4.0.0. Is there anyway to recover the db tables from my backup without totally reverting to the backup? I don't want to revert because I will lose a week of posts, etc.
I know this requires some sort of copying and pasting of the tables from my backup (I restored it to a new db) then adding them to the current db. I just don't know how this is done and I don't know which tables are needed.
Thanks.
Yes, it is very simple. Install the new version of post thanx hack. remove the post_thanks table from your database an replace it with the one from a backup. Run the re-counters in the ACP.
Thanks for upgrading this awesome hack. Nominated again of course.
Unfortunately, I also love Mosh's Panic Hack which works GREAT except that it wipes out VB's "Blog This Post" and also your "Post Thank You" hack. Both at the same time.
I'm not a programmer but my logic tells me you probably programmed your hack in such a way that it eases in next to something instead of totally taking a space.
Can you help me in any way with this unfortunate conflict because I need both your hacks for my users.
This is the conflict I'm getting
Here's with Panic Off
https://vborg.vbsupport.ru/
And now with Panic On
https://vborg.vbsupport.ru/
I'm using VB4 Suite with the blogs turned on. Thanks
Very simple. He is a snob. He hogged the template hook for him self it looks like.
Look around for a plug in, that he has for postbit_complete.
Search for "template_hook".
You will mostlikely see on that line an "=" sign. add a "." before the "=" so it looks like ".=".
All done.
Charlie98902
12-30-2009, 11:01 PM
It would be nice if you could get this update to auto hook the thanks button to the right instead so the blog and article buttons stay where they are.
HappyFeet
12-31-2009, 12:55 AM
Very simple. He is a snob. He hogged the template hook for him self it looks like.
Look around for a plug in, that he has for postbit_complete.
Search for "template_hook".
You will mostlikely see on that line an "=" sign. add a "." before the "=" so it looks like ".=".
All done.
That worked!
Three plugins for Panic Button, it's #3. (postbit_display_complete)
Thank you! Nominated and Rated...:up:
Your Post Thanks hack is the one my members were asking for.
That worked!
Three plugins for Panic Button, it's #3. (postbit_display_complete)
Thank you! Nominated and Rated...:up:
I would suggest you report it that developer. Tell him to stop hogging the template hook.
nightbloom
12-31-2009, 02:26 AM
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find <div class="postbody"> and change it to <div class="postbody" style="margin-left:0;">
vb.org needs a thanks button....
Thanks, I was pulling my hair out trying to make this work.
heywho
12-31-2009, 02:41 AM
A few things to note:
6) and a big thanx to the few of you who have donated in the past few days and will do in the coming days.
If I get this up and running in v.4 -- I'll kick ya a donation --
This is a GREA great solution, to two problems
People want to say "Me too" or "TY -- & will even if you ask them not too --
&*]& that takes up HUGE space - particularly w / sigs involved (no 2 sig files
This way -- eazy, tight, everyone is happy. Thanks.
BTW: Love New horizontal user info. in 4.4.. (as opposed to verts) put all info in that. consistent...
So, I just uploaded, lets see if it works... back in a few
:cool:
abbasbsp
12-31-2009, 02:43 AM
sorry @Abe1, You must replace in product-post_thanks.xml :
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
blue code to replace with post_thanks_button
so, xml file ..
imagirlgeek
12-31-2009, 03:14 AM
FYI - This Mod -> https://vborg.vbsupport.ru/showthread.php?t=230901 conflicts with the Post Thanks Mod.
I couldn't get anything to show up with this one until I disabled it. No big deal...I wanted this one more...but thought I'd share if other's were struggling with getting the Post Thanks to work.
FYI - This Mod -> https://vborg.vbsupport.ru/showthread.php?t=230901 conflicts with the Post Thanks Mod.
I couldn't get anything to show up with this one until I disabled it. No big deal...I wanted this one more...but thought I'd share if other's were struggling with getting the Post Thanks to work.
Yes, "BBR - Useful Links on Member Action Dropdown" conflicts with the Post Thanks Mod. I can't see "Thanks" if I enable "BBR - Useful Links on Member Action Dropdown".
JHUMON
12-31-2009, 05:13 AM
Thanks .Good Job.
thieu.bocap
12-31-2009, 06:00 AM
After upgrade mod thank my forum blank page when i browser in IE, please help me fix!
dtommy79
12-31-2009, 07:01 AM
OK, I have a custom skin and the thumbs image doesn't appear, only the text. I've made the suggested template modifications but it doesn't work.
Any idea?
Can anyone help me with this?
Tize.
12-31-2009, 07:48 AM
Thank you very much man.
Regards.
gyaronn
12-31-2009, 09:25 AM
thanks works grate and very easy to install :-)
Charlie98902
12-31-2009, 09:51 AM
sorry @Abe1, You must replace in product-post_thanks.xml :
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
blue code to replace with post_thanks_button
so, xml file ..
Does that put the thanks button to the right and leave the blog to the left?
FYI - This Mod -> https://vborg.vbsupport.ru/showthread.php?t=230901 conflicts with the Post Thanks Mod.
I couldn't get anything to show up with this one until I disabled it. No big deal...I wanted this one more...but thought I'd share if other's were struggling with getting the Post Thanks to work.
How so, both mods work on my site?
lolo?
12-31-2009, 10:30 AM
hello there is a conflict with this mode https://vborg.vbsupport.ru/showthread.php?t=230901
if i activate the thanks bouton doesnt appear
Lovinmysailor
12-31-2009, 11:42 AM
Try using the recounters in the acp.
For which issue?
Dream
12-31-2009, 12:00 PM
Abe1, donated $20 because of the usefulness of this mod in my boards for all this time that I used it. My members like it, I like it and it's very very much more useful than the standard reputation system. cheers, gj and thanks for updating it.
gbechtel
12-31-2009, 12:46 PM
Installed and sorta working...
Seems the thanks images progressively multiply as you go down the page, the farther the post is down the thread the more thanks images appear...
Also displays the same behavior with the information in postbit see attachment thanks1
See attachment, any ideas?
The mod causing the above mentioned duplication problem is this one...
https://vborg.vbsupport.ru/showthread.php?t=228673
Disabled and working fine now....
there is no AJAX like before , when user click on thank buttom there is refresh the page then he will show his thanks , but before there is no refresh the page ,
how we can solve this problem ,
Regards
We are also having this problem, as quoted. Every time a user clicks the "Thanks" button the page reloads. I don't think this is intended behaviour - any suggestions on fixing it?
We are using vB4 PL1, default style with some colour modifications.
Thanks!
S4RFamily
12-31-2009, 01:40 PM
I see that the mod have 2 buttons image but i dont see it when installed. Just "Thank" text :)
How enable it, master :)
I can't see Thank Image when I use postbit_legacy on default vb4 style. Any help?
jancarlo
12-31-2009, 01:43 PM
I come out a mess thanks :confused:
AzzidReign
12-31-2009, 02:34 PM
One of the best hacks ever! Thanks for updating quickly!
hmedi
12-31-2009, 02:59 PM
We are also having this problem, as quoted. Every time a user clicks the "Thanks" button the page reloads. I don't think this is intended behaviour - any suggestions on fixing it?
We are using vB4 PL1, default style with some colour modifications.
Thanks!
The same problem
Thank you for the nice hak:)
garretbyrne
12-31-2009, 04:20 PM
I've tried to install but came across an issue.. I had this mod back in 3.8.4 and my members love it was being well used.. but had to uninstall all the mods because of an issue upgrading to 4 (I'm aware I might have lost previous thanks count) but now when I install I get an SQL error..
------------------
Database error in vBulletin 4.0.0:
Invalid SQL:
ALTER TABLE `user` ADD `post_thanks_user_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
MySQL Error : Duplicate column name 'post_thanks_user_amount'
Error Number : 1060
Request Date : Thursday, December 31st 2009 @ 06:06:50 PM
Error Date : Thursday, December 31st 2009 @ 06:06:51 PM
Script : http://www.irishparanormal.org/admincp/plugin.php?do=productimport
Referrer : http://www.irishparanormal.org/admincp/plugin.php?do=productadd
IP Address : 79.97.12.86
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.85-community
------------------
Is there any ideas on how to fix this?? Because I really like this thanks..
dodgeboard.com
12-31-2009, 04:30 PM
Any updates on the post groan addition to this?
We use this hack a little differently on our forums. I had converted the phrases to AGREE (for post thanks) and DISAGREE (for post groan).
This allowed other members of the forums to agree or disagree on a topic without actually cluttering the forums with short posts.
Worked very well.
I would install and support this hack, once the other half is available. :D
Thanks for all your work thus far.
dmart
12-31-2009, 05:15 PM
I see that the mod have 2 buttons image but i dont see it when installed. Just "Thank" text :)
How enable it, master :)
Same prob here anyone know how to get the thumb images to show next to the text ?
huuquynh
12-31-2009, 05:21 PM
Sometime, I got this error:
Database error in vBulletin 4.0.0:
Invalid SQL:
REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '67.195.112.188', 1, 'Clue', '', 'post.dateline', 'DESC', 0.00284, 1, '1364950,1364429,1364397', 1262286103, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1587;s:4:\"Clue\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', '5ccd1105ee3bae40ab83b817fe6f2f0a');
MySQL Error : Table 'my_forum.vb_search' doesn't exist
Error Number : 1146
Request Date : Friday, January 1st 2010 @ 02:01:43 AM
Error Date : Friday, January 1st 2010 @ 02:01:43 AM
Script : http://mydomain.com/post_thanks.php?do=findthanks_user_gave&u=1587
What is wrong? I can not find the table vb_search in my forum's database.
vulture
12-31-2009, 06:50 PM
I've tried to install but came across an issue.. I had this mod back in 3.8.4 and my members love it was being well used.. but had to uninstall all the mods because of an issue upgrading to 4 (I'm aware I might have lost previous thanks count) but now when I install I get an SQL error..
------------------
Database error in vBulletin 4.0.0:
Invalid SQL:
ALTER TABLE `user` ADD `post_thanks_user_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
MySQL Error : Duplicate column name 'post_thanks_user_amount'
Error Number : 1060
Request Date : Thursday, December 31st 2009 @ 06:06:50 PM
Error Date : Thursday, December 31st 2009 @ 06:06:51 PM
Script : http://www.irishparanormal.org/admincp/plugin.php?do=productimport
Referrer : http://www.irishparanormal.org/admincp/plugin.php?do=productadd
IP Address : 79.97.12.86
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.85-community
------------------
Is there any ideas on how to fix this?? Because I really like this thanks..
See my post (https://vborg.vbsupport.ru/showpost.php?p=1942898&postcount=129). The install script is coded incorrectly are far as I'm concerned as it doesn't take into account if you are doing an upgrade.
Edit: as you uninstalled, you should really check if all the alterations made by the script are in you db. If not, you need to change the install accordingly.
LuckyNeo
12-31-2009, 07:33 PM
Awesome! Thank you, VERY MUCH for this hack!;)
imagirlgeek
12-31-2009, 08:46 PM
Sometime, I got this error:
Database error in vBulletin 4.0.0:
Invalid SQL:
REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '67.195.112.188', 1, 'Clue', '', 'post.dateline', 'DESC', 0.00284, 1, '1364950,1364429,1364397', 1262286103, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1587;s:4:\"Clue\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', '5ccd1105ee3bae40ab83b817fe6f2f0a');
MySQL Error : Table 'my_forum.vb_search' doesn't exist
Error Number : 1146
Request Date : Friday, January 1st 2010 @ 02:01:43 AM
Error Date : Friday, January 1st 2010 @ 02:01:43 AM
Script : http://mydomain.com/post_thanks.php?do=findthanks_user_gave&u=1587
What is wrong? I can not find the table vb_search in my forum's database.
I see this too. Anyone know what I need to change to stop it?
Charlie98902
12-31-2009, 08:52 PM
I see this too. Anyone know what I need to change to stop it?
See this post (https://vborg.vbsupport.ru/showpost.php?p=1942898&postcount=129). The install script is coded incorrectly are far as I'm concerned as it doesn't take into account if you are doing an upgrade.
SledgeHead
12-31-2009, 09:44 PM
Image isn't working for me. All that shows is the word Thanks.
thanks -
i did an update and it works perfect :)
happy new yeahr
barcena
12-31-2009, 09:57 PM
Do I have to use FTP to install this mod or only the XML file will do it?
Thanks in advance
gbechtel
12-31-2009, 10:15 PM
I come out a mess thanks :confused:
I had the same issue, both these mods will cause the mess you speak of...
https://vborg.vbsupport.ru/showthread.php?t=228673
https://vborg.vbsupport.ru/showthread.php?t=230901
Not sure what the conflict is but disabling them fixed the problem with the duplications.
hendri
12-31-2009, 10:15 PM
why the icon not show up ?
hendri
12-31-2009, 10:20 PM
vb.org needs a thanks button....
Thanks, I was pulling my hair out trying to make this work.
thanks bro. i use your edit now look good and the icons show up already.
hendri
12-31-2009, 10:22 PM
why come out " cannot find phrase post thanks " everytime click thanks ?
Charlie98902
12-31-2009, 10:25 PM
Do I have to use FTP to install this mod or only the XML file will do it?
Thanks in advance
You have to upload all the files within this hack to make it work.
Charlie98902
12-31-2009, 10:26 PM
I had the same issue, both these mods will cause the mess you speak of...
https://vborg.vbsupport.ru/showthread.php?t=228673
https://vborg.vbsupport.ru/showthread.php?t=230901
Not sure what the conflict is but disabling them fixed the problem with the duplications.
I use the first link and my forum is working great.
Charlie98902
12-31-2009, 10:27 PM
why the icon not show up ?
You didn't upload the images to the right path I bet.
why come out " cannot find phrase post thanks " everytime click thanks ?
Sounds like some files aren't there or in the wrong place.
hendri
12-31-2009, 10:52 PM
You didn't upload the images to the right path I bet.
Sounds like some files aren't there or in the wrong place.
images all upload nice ly.. it settle already after i change the template according to post bit legacy.
all the files in the right place. that one not an issue. i triple checked and triple upload already.
so what is the problem why keep finding post_thanks phrase ?
vulture
12-31-2009, 10:54 PM
See this post (https://vborg.vbsupport.ru/showpost.php?p=1942898&postcount=129). The install script is coded incorrectly are far as I'm concerned as it doesn't take into account if you are doing an upgrade.
That issue isn't resolved by my post. Looks like the table/field doesn't exit.
dmart
12-31-2009, 11:38 PM
You didn't upload the images to the right path I bet.
you bet wrong Charlie98902
Images in the right path....
garretbyrne
01-01-2010, 01:34 AM
See my post (https://vborg.vbsupport.ru/showpost.php?p=1942898&postcount=129). The install script is coded incorrectly are far as I'm concerned as it doesn't take into account if you are doing an upgrade.
Edit: as you uninstalled, you should really check if all the alterations made by the script are in you db. If not, you need to change the install accordingly.
Hi Vulture that didn't work for me.. I even went into my SQL and deleted the post_thanks (I made a backup first of course, lol) but that gave me the same issue I've also looked through the DB and can't find post_thanks_user_amount so don't know why I'm getting this error..
[EDIT] Was looking in the wrong place.. I removed the two issues and imported fine..
Cheers
mtlcore
01-01-2010, 01:39 AM
Is there way to edit the number of thanked and thanks for specific users? Because once you delete a thread, the thanks go with it...
garretbyrne
01-01-2010, 02:39 AM
I would love to know also so I can put the thanks count back up also..
Darkimmortal
01-01-2010, 03:05 AM
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
</style>
a.quickreply? :p
Huy Ho?ng
01-01-2010, 03:28 AM
work with the vbb3.8 not?
carrlos
01-01-2010, 04:09 AM
Yes, it is very simple. Install the new version of post thanx hack. remove the post_thanks table from your database an replace it with the one from a backup. Run the re-counters in the ACP.
Which counters do I run?? :rolleyes:
fi3ryfalc0nZ
01-01-2010, 04:36 AM
Hey, I've got an extra separator after clicking on Thanks. I saw another post about it, about 10 pages earlier, but it wasn't solved.
garretbyrne
01-01-2010, 04:48 AM
To bring up the post count you can go into your SQL DB and find "user" then you find the user you wish to edit and then you click edit (Pencil Image) and go to the bottom to where you can see "post_thanks_*****" then add in the value you wish click save.. you've now just changed the post count for that user.. BUT BE WARNED if you don't know what your doing I would recommend NOT going into the SQL DB one mistake and mess everything up on your site, but if you wish to go ahead make a backup.
G :)
carrlos
01-01-2010, 05:33 AM
To bring up the post count you can go into your SQL DB and find "user" then you find the user you wish to edit and then you click edit (Pencil Image) and go to the bottom to where you can see "post_thanks_*****" then add in the value you wish click save.. you've now just changed the post count for that user.. BUT BE WARNED if you don't know what your doing I would recommend NOT going into the SQL DB one mistake and mess everything up on your site, but if you wish to go ahead make a backup.
G :)
Under the "user" table I see the following (amongst others):
post_thanks_user_amount
post_thanks_thanked_posts
post_thanks_thanked_times
I don't see user names anywhere. How do I export those 3 fields and import them into my other database? I have already successfully added the post_thanks table but I'm still getting all zero's for the counts.
Edit:
Found each individual user. It would be too much work to change the counts manually. I want each person to retain their count and I want the threads to reflect who gave "thanks" as it did before I upgraded.
garretbyrne
01-01-2010, 05:46 AM
Under "User" in PHPAdmin click on Browse and then select your username.. Then in there down at the bottom of the list you'll see all of those three..
carrlos
01-01-2010, 05:54 AM
Under "User" in PHPAdmin click on Browse and then select your username.. Then in there down at the bottom of the list you'll see all of those three..
I have too many members to update manually. Isn't there an easier way? I imported the post_thanks table but everyone's count is still zero (0).
ddaybofb
01-01-2010, 05:54 AM
I have the same problem with some other people here.
When i click Thanks the page reloads.
garretbyrne
01-01-2010, 06:09 AM
I've just noticed a problem on my side. When I click thanks on a user it shows up as thanks: 1 for everyone.. then when I go into a thread that has a few people the thanks below the image doubles for every user..
So If i was 1: there would be one thanks, 2: post thee would be two thanks, 3: post there would be 3 thanks.. if it's not clear I'll attach a photo.
Dr.osamA
01-01-2010, 06:43 AM
Button image missing in the postbit_legacy
as ather her
________
RHODE ISLAND MEDICAL MARIJUANA DISPENSARY (http://rhodeisland.dispensaries.org/)
huuquynh
01-01-2010, 08:35 AM
See my post (https://vborg.vbsupport.ru/showpost.php?p=1942898&postcount=129). The install script is coded incorrectly are far as I'm concerned as it doesn't take into account if you are doing an upgrade.
Edit: as you uninstalled, you should really check if all the alterations made by the script are in you db. If not, you need to change the install accordingly.
Thanks for your help!
However, I need to make it clear by steps:
1. uninstall the current product.
2. modify the script as your post.
3. install again.
Right?
I don't know how to "check if all the alterations made by the script are in you db. If not, you need to change the install accordingly.". Please show me the best way to do. Sorry becuase my bad English!
Many thanks and Happy New Year!
jancarlo
01-01-2010, 08:45 AM
why do not I see pictures of the big toe :confused:. Thanks!
abbasbsp
01-01-2010, 09:11 AM
1. Uninstall the all product.
2. GO TO ACP > Style Manager > at styles "revert all templates"
3. install again product thank
you tried ......
jancarlo
01-01-2010, 09:45 AM
1. Uninstall the all product.
2. GO TO ACP > Style Manager > at styles "revert all templates"
3. install again product thank
you tried ......
Ask too hehe :D
How do I uninstall all products, zero all the templates, too many things. Unable to see an image do everything you said. :eek::eek::eek:
There must be another way. :cool:
Sworm
01-01-2010, 09:52 AM
Please anybody can said me if is normal that the button is not showed under the posts but only the "Thanks" phrase is showed?
Delilahs
01-01-2010, 10:24 AM
I've just noticed a problem on my side. When I click thanks on a user it shows up as thanks: 1 for everyone.. then when I go into a thread that has a few people the thanks below the image doubles for every user..
So If i was 1: there would be one thanks, 2: post thee would be two thanks, 3: post there would be 3 thanks.. if it's not clear I'll attach a photo.
I've got the same problem on my site as well.
check the thread here as an example (http://www.delilahs.co.uk/forum/f28/cartoon-puppet-animation-characters-you-think-funny-1047/)
dilbert
01-01-2010, 10:39 AM
It seems that vB now uses postbit_legacy by default, but this mod is coded for the postbit format.
You can either switch to postbit, or follow this terrific post by rbu.
https://vborg.vbsupport.ru/showpost.php?p=1942476&postcount=70
I'll repost what they said:
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find
<div class="postbody">and change it to
<div class="postbody" style="margin-left:0;">you bet wrong Charlie98902
Images in the right path....
Button image missing in the postbit_legacy
as ather her
why do not I see pictures of the big toe :confused:. Thanks!
Ask too hehe :D
How do I uninstall all products, zero all the templates, too many things. Unable to see an image do everything you said. :eek::eek::eek:
There must be another way. :cool:
Please anybody can said me if is normal that the button is not showed under the posts but only the "Thanks" phrase is showed?
Delilahs
01-01-2010, 10:49 AM
uninstalled until the coder posts a fix for this issue.
vulture
01-01-2010, 11:48 AM
Thanks for your help!
However, I need to make it clear by steps:
1. uninstall the current product.
2. modify the script as your post.
3. install again.
Right?
I don't know how to "check if all the alterations made by the script are in you db. If not, you need to change the install accordingly.". Please show me the best way to do. Sorry becuase my bad English!
Many thanks and Happy New Year!
Have you uninstalled the old version? If you have, then you should be able to install as per normal but you won't have your old thanks
If you haven't then its steps 2 & 3 above
BACKUP your database before doing any changes.
Bounce
01-01-2010, 11:50 AM
Database error in vBulletin 4.0.0:
Invalid SQL:
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (1123549,1123551,1123579,1123585,1123586,1123594,1 123603,1123607,1123733,1124029,1124238) ORDER BY post_thanks.username ASC;
MySQL Error : Table 'testvb.post_thanks' doesn't exist
when tryin to uninstall to reinstall :confused:
VonDoom
01-01-2010, 11:55 AM
I've just noticed a problem on my side. When I click thanks on a user it shows up as thanks: 1 for everyone.. then when I go into a thread that has a few people the thanks below the image doubles for every user..
So If i was 1: there would be one thanks, 2: post thee would be two thanks, 3: post there would be 3 thanks.. if it's not clear I'll attach a photo.
Same Problem as others here. Interestingly enough this product was abandoned as supported the minute it was released. Because all bugs are user created, and have nothing to do with the product itself. Although im not sure how i could have created this bug since all i did was install the product as instructed. (shrug) Still one of my favorite hacks to bad it doesnt work all that great in 4.0
jancarlo
01-01-2010, 12:16 PM
@dilbert, a thousand thanks, you're great :D :up:
eTiKeT?
01-01-2010, 01:06 PM
I come out a mess thanks :confused:
https://vborg.vbsupport.ru/external/2010/01/80.png
Hello
This is the reason Bottom Extension will Kaldırıdıgınızda Problem Remedy.
https://vborg.vbsupport.ru/showthread.php?t=230901&page=3
carrlos
01-01-2010, 04:07 PM
Even with the backed-up post_thanks tables, everyone comes out with zero (0) thanks. Any help?
After to have updated User Titles and Ranks and Rebuild Thread Information on my site some of my members now they have a weird numbers of total thanks:
Total Thanks
Total Thanks: 4,294,967,295
I have tried to use the Recounters function but without success.
How can I fix it?
CyberSultan
01-01-2010, 05:36 PM
If I see that this mod becomes stable on initial install and works out-of-the-box with legacy postbit, I would be more than happy to donate for this hack. I have not installed yet as these posts to-date worry me a bit.
carrlos
01-01-2010, 06:01 PM
After to have updated User Titles and Ranks and Rebuild Thread Information on my site some of my members now they have a weird numbers of total thanks:
Total Thanks
Total Thanks: 4,294,967,295
I have tried to use the Recounters function but without success.
How can I fix it?
Where is the Recounters function? :confused:
AdminCP -> Post Thanks -> Recounters
SledgeHead
01-01-2010, 06:20 PM
I have the same problem with some other people here.
When i click Thanks the page reloads.
Ditto. :(
carrlos
01-01-2010, 06:25 PM
AdminCP -> Post Thanks -> Recounters
Thanks. I'm uninstalling, reinstalling, importing my post_thanks tables and then running the Recounters to see if that works. If not, then I give up on this hack. :confused:
Sworm
01-01-2010, 06:30 PM
Hope that Abe1 will post a new fixed version soon :)
carrlos
01-01-2010, 07:06 PM
Thanks. I'm uninstalling, reinstalling, importing my post_thanks tables and then running the Recounters to see if that works. If not, then I give up on this hack. :confused:
It worked! I had to rerun the Recounters twice (the first time only the number of thanks given by users was updated). On the second go-round, all stats came back up. Also, the posts are annotated again as to who gave thanks. :up:
After the problems with the Recounters i've tried to uninstall the product but unfortunately as yesterday i got the same db error, I think that there is something in this version for vb4 that must to be verified again.
SemperFideles
01-01-2010, 08:53 PM
I have the Thanks System successfully installed and working but I cannot find where the user can search for Thanked Posts. It used to be in the Profile Statistics and Advanced Search Options but I cannot find it anywhere.
tazattitude
01-01-2010, 09:10 PM
Great Job Abe1
Thank you!
webspider
01-01-2010, 09:16 PM
My stats on the threads are not alined correctly. How can I fix this? I've attached a screenshot to show what I mean.
garretbyrne
01-01-2010, 09:26 PM
It seems that vB now uses postbit_legacy by default, but this mod is coded for the postbit format.
You can either switch to postbit, or follow this terrific post by rbu.
https://vborg.vbsupport.ru/showpost.php?p=1942476&postcount=70
I'll repost what they said:
If you are using Legacy...
post_thanks_box
<li class="postbitlegacy postbitim" id="post_thanks_box_{vb:raw post.postid}" style="top:-10px;<vb:if condition="!$post_thanks_box == 1"> display:none;</vb:if>">
{vb:raw post_thanks_box}
</li>
post_thanks_javascript
<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbitlegacy .postfoot .textcontrols a.post_thanks_button {
background: url(images/buttons/post_thanks.png) no-repeat transparent left;
padding-left: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover {
background: url(images/buttons/post_thanks-hover.png) no-repeat transparent left;
</style>
post_thanks_postbit
find
<div class="postbody">and change it to
<div class="postbody" style="margin-left:0;">
I've tried above and all it has done is made sure the "Thanks" button is only onces it doesn't change the thanks status to the left
Cheers
webspider
01-01-2010, 09:48 PM
If I change my postbit to legacy the stats go to the left of the post and the formatting is correct. Changing it to no moves the stats to the top right where the formatting is incorrect.
VonDoom
01-01-2010, 11:07 PM
It took a bit but i finally got this hack working as described. Installed, Rated
carrlos
01-01-2010, 11:18 PM
My stats on the threads are not alined correctly. How can I fix this? I've attached a screenshot to show what I mean.
Mine does the same thing. I'm just glad I finally got it working! But I would love to see this fixed. ;)
movslow
01-02-2010, 01:12 AM
Still waiting on Post Groan. Is this something that is in devel, or no?
Also, once the Postbit Leg. issue is sorted out, could you include the instructions in the readme/install.
It will suck to sift through 16 pages of posts to find the answer, lol.
Thanks.
aj8690
01-02-2010, 02:35 AM
Has anyone been able to get the button image to appear while using postbit legacy??? Thanks.
tafreeh
01-02-2010, 04:01 AM
okay.. i uploaded my mod.. and i got db error.. plus admin cp post thanks is all empty... nothing shows up... any suggestions?
ddaybofb
01-02-2010, 04:02 AM
Has anyone been able to get the button image to appear while using postbit legacy??? Thanks.
Nope i have the same problem, i got the thanks to work without the page reloading though
tafreeh
01-02-2010, 05:16 AM
look like unstable release to me... will wait for the next version.....
Rafes
01-02-2010, 05:39 AM
Installed 7.80 and works perfect
tafreeh
01-02-2010, 06:08 AM
hey there... i just update my test forum(vb4) to the latest version and i get db errors.so i disabled it...
but when i get back to my live production site which is 3.8.4 i m still getting the same db errors everywhere... and i m using 7.7 overthere... it was working .. now all of sudden it producing errors...
here is the copy of one of the error...
Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT * FROM vb_post_thanks AS post_thanks INNER JOIN vb_user AS user USING (userid) WHERE post_thanks.postid IN () ORDER BY post_thanks.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 post_thanks.username ASC' at line 1
Error Number : 1064
Request Date : Saturday, January 2nd 2010 @ 03:00:19 AM
Error Date : Saturday, January 2nd 2010 @ 03:00:19 AM
Script : http://www.xxxxx.com/ebooks-tutorials/33731-panther-vs-t-34-ukraine-1943-duel.html
Referrer :
IP Address : xx.xx.xx.xx
Username : Unregistered
Classname : vB_Database
MySQL Version :
*** please ignore this post... i uploaded wrong files.. Everything is working perfectly fine *** Thanks Abe
Same problem here, the product seem work fine, but if for any reason you want to uninstall it then you will get the db error.
Database error in vBulletin 4.0.0:
Invalid SQL:
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (826786,826923,826925,826928,827636,827643,828288, 828291,828300,828316,828330,82 8421,828434,828439,828447,828899,831966,831970,832 457,832460,832467,832529,83259 8) ORDER BY post_thanks.username ASC;
MySQL Error : Table 'xxxxx_xxxxxx.post_thanks' doesn't exist
Error Number : 1146
Request Date : Wednesday, December 30th 2009 @ 09:17:52 AM
Error Date : Wednesday, December 30th 2009 @ 09:17:53 AM
Script : http://forum.com/showthread.php?t=132731&page=4
Referrer : http://forum.com/
IP Address : xx.xx.xxx.xxx
Username : xxxxx
Classname : vB_Database
MySQL Version : 5.0.85-community-log
Turbosport
01-02-2010, 10:24 AM
Postbit Legacy once button clicked IE7 users see blank posts, had to disable hack.
SemperFideles
01-02-2010, 11:31 AM
I tried to manually add a Post Thanks Search to a Member's Profile page as following:
<li><a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&userid={vb:raw userinfo.userid}">Find all Thanked Posts</a></li>
I believe your findthanks and find_user_thanks functions within post_thanks.php are not properly functioning as it returns a dB error for the search function.
gersforum@gmail
01-02-2010, 12:03 PM
Works an absolute treat. Thanks Abe!
dtommy79
01-02-2010, 02:06 PM
It doesn't work for me, and since there seem to be no help here I just leave this mod for the time being.
carleboy
01-02-2010, 02:28 PM
Seems there is an issue with IE7 and this mod it works fine with IE8 and FireFox but once thanks is used you just get a blank white post in IE7 and help ??
RMS-Chef
01-02-2010, 03:37 PM
Well done Abe. It will be a little while before I upgrade but this is a must have on my list. I hope it goes well with my 4.6 million thanks issued. :)
arena
01-02-2010, 05:52 PM
thank you
mcloud
01-02-2010, 06:46 PM
This is the translation into spanish language of this mod
Traducci?n al espa?ol de este hack
M?s traducciones en vBulletin en espa?ol (http://www.vbsoporte.com/foros/)
garretbyrne
01-02-2010, 06:53 PM
Because of the issue I'm having I had to disable this mod on my site... I hope you do fix it but to be honest If it's not working I can't use it and you can't ask people to nominate it for the mod of the month if it doesn't work.. how it works on a select view other peoples boards is a mystery to me because I haven't done anything but install it.. and I haven't been getting support either on this
chriswatson
01-02-2010, 09:50 PM
I've also had to disable this hack because of blank pages in IE after a thanks is given. (Problem only seems to be to not logged in users viewing a page after a thanks is given.)
Question for those who are also having to deal with page refreshes or blank pages:
Are you using friendly URLs or standard vB URLs?
sorry @Abe1, You must replace in product-post_thanks.xml :
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
blue code to replace with post_thanks_button
so, xml file ..
Will be fixed as part of supporting postbit_legacy in next version.
FYI - This Mod -> https://vborg.vbsupport.ru/showthread.php?t=230901 conflicts with the Post Thanks Mod.
I couldn't get anything to show up with this one until I disabled it. No big deal...I wanted this one more...but thought I'd share if other's were struggling with getting the Post Thanks to work.
try removing
global $template_hook;
$template_hook['memberaction_dropdown_items'] = "";
from his plug_in for postbit_display_complete
How so, both mods work on my site?
It could depend on which ore you installed the hacks in.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.