View Full Version : Show Thread Enhancements - [AJAX] Post Thank You Hack
Pages :
1
2
3
[
4]
5
6
7
8
9
Hi, I really need that function even if it's not perfect yet. Would you please show me how to do it? Thx a lot.
It would be really painful for users since it wont mark threads as read ever.
Exitilus
04-01-2007, 07:52 PM
I downloaded the Beta earlier in this thread ... have their been any updates to that file? I lost where that thread was *L*
rjmjr69
04-02-2007, 10:01 AM
Abe any news on the GOLD version yet bro?
Keep up the good work. Post Groan almost done as well?
Abe any news on the GOLD version yet bro?
Keep up the good work. Post Groan almost done as well?
Almost ready. I'm just finishing with the post groan update, will release one more RC and then Gold hopefully.
VBDev
04-02-2007, 08:14 PM
It would had been really nice to say who was the first author of this hack ! :(
redtailboa
04-04-2007, 01:40 AM
Feature request:
Limit the amount a user can thank in 24 hours.
Great hack btw!!
It is probably going to late to add my suggestions (if you ever have the intention to put them) on the next release but it would be good to consider adding a couple of features to both Thank you and Groan hacks.
IMPORTANT I would add on the user profile a search options to find out which posts X users has either groaned or thanked. I had I look my self but the query would be too complicated for my level :(. This is important, because immature users tend to abuse from the system either over thanking or over groaning (specially the second one). This feature would make finding this guys much easier.
Another interesting option would be allow X user-groups (defined on acp) to delete all groan/thanked (in one post) instead of hardcoded.
(this one might be in this upcoming version but still...) Number of groaned or thanked posts updated via AJAX.
Add a confirmation when you are going to delete all the thanked or groaned from one post.
In my forum I also added a nice little feature so u can compress who has thanked or groaned a post, this way, good topics are not interrupted when a post is thanked/groaned. (Couldn't get it to use just one image to compress and decompress the table, still... it works xD) [see attachments](PS sorry the buttons are in Spanish, one says "praise" (green) and the other "criticize" (red) and the Chinese things go with the site topic)
Another thing (if reputation activated) I've came to notice is that when you give a thank or groan to a post, afterwards if you try to give reputation to it you get an error message saying this post has already been given reputation, but if you give the reputation first, then you can thank or groan. Maybe this could lead to a db corruption, maybe is harmless, or it was done in purpose so you can do both ^^.
It would be cool to use decimals instead of whole numbers for the reputation feature, put I guess it requires a lot of db changes and of the system it self which would make it a pain in the ass to do.
-------------------------
Besides that, the hack is a joy to have. Will be anxiously waiting for the new versions ^^
Post Thank You Hack 6.0 RC5 Released in this Post.
This is hopefully the finial release candidate for this version.
Some bugs fixed.
Hooks (plug-ins) added around the hack to make it easy to play around with the hack and make your own mods.
Integration with Post Groan Hack 3.0 RC1.
Some template edits changed.
Feel free to suggest locations of hooks.
rjmjr69
04-05-2007, 03:45 PM
Do we have to do the template edits again? For upgraders
Do we have to do the template edits again? For upgraders
There were a few changes I think. Just look them over to make sure.
rjmjr69
04-05-2007, 04:06 PM
Thanks installed
rjmjr69
04-05-2007, 04:13 PM
I can not seem to find any but I did them all over thank you very much. So post groan is done?
Just installed both hacks (groan and thanks), they seem to be working perfectly [3.6.5]. Love the new functions and admin options :P
thanks Abe ^^
RS_Jelle
04-05-2007, 09:14 PM
A suggestion for the post_thanks_button template: hide the whole HTML code instead of hiding the button with the display:none CSS code. This saves a bit of bandwidth and generates smaller pages. You can also speed it even more up when you replace the template conditional with and if statement for the eval('$post_thanks_button = " ' . fetch_template('post_thanks_button') . '";'); code in the postbit_display_start plugin.
A suggestion for the post_thanks_button template: hide the whole HTML code instead of hiding the button with the display:none CSS code. This saves a bit of bandwidth and generates smaller pages. You can also speed it even more up when you replace the template conditional with and if statement for the eval('$post_thanks_button = " ' . fetch_template('post_thanks_button') . '";'); code in the postbit_display_start plugin.
I need the button there so if you remove your thanks the button comes back.
RS_Jelle
04-06-2007, 02:13 PM
I need the button there so if you remove your thanks the button comes back.
Aah, forgotten that :D
Quantnet
04-06-2007, 02:50 PM
Is there a way to find out which post a user thanks yet ? I believe I asked this a while ago but not sure if this feature is added to the new version.
Version 6.0 (04/06/07):
Totally re-wrote hack - please redo all template edits
AJAX code moved to a file.
templates are cached in showpost
NEW - Option to delete all of a users thanks.
Post thanks actions moved to files.
New ACP options.
Index the PostID column in the post_thanks table
If you delete a user, all this thanks are deleted.
When you change a Username, any thanks he gave his name changes by.
When you physically remove a post, the thanks are deleted.
New Setting - Post Count Needed to Use the Thanks Button
Delete thanks when you hard delete a thread.
New Setting - Ban Usergroups from Getting Thanks
New Setting - Disable Giving Thanks if Post is X Days Old
Much better security checking to make sure a user can use the thank you button.
Any many more changes.
Is there a way to find out which post a user thanks yet ? I believe I asked this a while ago but not sure if this feature is added to the new version.
no.
Quantnet
04-06-2007, 02:58 PM
Wow, thanks for the new release. Awesome job.
deezelpope
04-06-2007, 03:13 PM
Thanks for the update! Do you recommend an uninstall and starting over, or just an overwrite? I apologize for my questions...this is my first update.
Umm Abe, usually your modifications are spot on. However, I had your prior version (did not remove it and simply added or uploaded all your files suggested, overwrote Y in products, and did every single template edit you put in your notes overwtitting existing sections already existing in the templates from prior version...
So far the issues I am having is when I click thanks button it goes away but does not thank. When I click the Find all thanked posts by USERNAME option in profile it takes me to an error page.
Another issue, when you click on Remove Your Thanks it adds the Thanks button back, does not remove the thanks given. When I refresh the page it comes back.
FYI, vBulletin Version 3.6.5
I also went into the admin CP option of this mod and selected to save not changing anything and still same issues
Tearstone
04-06-2007, 03:34 PM
So far so good on 6.0. The only thing that did not work for me was:
in SHOWTHREAD:
find:
--------------------------------------------------------------------
<script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v=$vboptions[simpleversion]"></script>
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<script type="text/javascript" src="clientscript/post_thanks.js"></script>
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
I did not find that line at all in my SHOWTHREAD, although on this one particular site I am still running 3.5.4?
So far so good on 6.0. The only thing that did not work for me was:
in SHOWTHREAD:
find:
--------------------------------------------------------------------
<script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v=$vboptions[simpleversion]"></script>
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<script type="text/javascript" src="clientscript/post_thanks.js"></script>
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
I did not find that line at all in my SHOWTHREAD, although on this one particular site I am still running 3.5.4?
Just place it in between the 'head' tags.
Thanks for the update! Do you recommend an uninstall and starting over, or just an overwrite? I apologize for my questions...this is my first update.
No need to uninstall. Just re-do the template edits. and upload the files and product file.
Umm Abe, usually your modifications are spot on. However, I had your prior version (did not remove it and simply added or uploaded all your files suggested, overwrote Y in products, and did every single template edit you put in your notes overwtitting existing sections already existing in the templates from prior version...
So far the issues I am having is when I click thanks button it goes away but does not thank. When I click the Find all thanked posts by USERNAME option in profile it takes me to an error page.
Another issue, when you click on Remove Your Thanks it adds the Thanks button back, does not remove the thanks given. When I refresh the page it comes back.
FYI, vBulletin Version 3.6.5
I also went into the admin CP option of this mod and selected to save not changing anything and still same issues
Please make sure you installed all files in the right place and re-did all the template edits. Also, make sure you revert any Post Thanks templates.
subnet_rx
04-06-2007, 03:53 PM
Thanks for the update, this is a hack that my users really love and I have some users where half their post counts are thanks. Anyway, I just installed this and I have a problem I can't figure out. All thanks and groans are posting twice. So, if I thank someone, the edit that puts in "The following users thank you..." is there twice. Where is this located at? Because I have went over the template edits again and don't see where I doubled this up. I do have the new post groan 3.0 gold hack installed also. It shows the same behavior. If someone has a thanks or groan, it shows up twice. Both, and I have four additions to the bottom of the post.
Thanks for the update, this is a hack that my users really love and I have some users where half their post counts are thanks. Anyway, I just installed this and I have a problem I can't figure out. All thanks and groans are posting twice. So, if I thank someone, the edit that puts in "The following users thank you..." is there twice. Where is this located at? Because I have went over the template edits again and don't see where I doubled this up. I do have the new post groan 3.0 gold hack installed also. It shows the same behavior. If someone has a thanks or groan, it shows up twice. Both, and I have four additions to the bottom of the post.
Look at the end of the postbit.
Please make sure you installed all files in the right place and re-did all the template edits. Also, make sure you revert any Post Thanks templates.
Thank you for the reply Abe. I did this twice now with same results. What am I missing? Can you check your PM please and let me know?
Tearstone
04-06-2007, 04:03 PM
Just place it in between the 'head' tags.
k, not sure what that did as I don't see any difference, so I'm keeping my fingers crossed :) Thank you!
subnet_rx
04-06-2007, 04:03 PM
Look at the end of the postbit.
thanks for the quick reply. Here's the very end of my postbit:
<!-- / post $post[postid] popup menu -->
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
<!-- Start Post Groan Hack -->
$post_groan
<!-- End Post Groan Hack -->
subnet_rx
04-06-2007, 04:07 PM
I had another idea, could this be due to the post cache?
I had another idea, could this be due to the post cache?
Possible. I dont know what other hacks you have.
k, not sure what that did as I don't see any difference, so I'm keeping my fingers crossed :) Thank you!
As long at the AJAX works, then you know you put it in the right place.
subnet_rx
04-06-2007, 04:22 PM
Possible. I dont know what other hacks you have.
I have several, but how would they affect this hack if I had it working before?
I have several, but how would they affect this hack if I had it working before?
No clue really.
subnet_rx
04-06-2007, 04:54 PM
Apparently, the cache was the problem. I guess since you totally rebuilt this hack, it doubled it up. It's fixed now and working fine. Thanks for your help and the addon.
subnet_rx
04-06-2007, 05:16 PM
Hmm, it seems I was wrong. AJAX seems to display it correctly, but once you refresh the thread, it displays double.
AzzidReign
04-06-2007, 05:19 PM
Sweet! Thank you for the 6.0 release! I've been waiting for a few of those features now for some time! Much appreciated! Thanks again.
subnet_rx
04-06-2007, 05:20 PM
nevermind, I finally found it. <!-- / post $post[postid] popup menu --> was a two different places in my postbit.
dbirosel
04-06-2007, 06:25 PM
How do i set the width of the table?
Example:
#36 Post
http://www.caraudiojunkyard.com/forum/showthread.php?p=12678#post12678
I want the width of the list of thank you's in showthread to be as wide as the replies.
How do i set the width of the table?
Example:
#36 Post
http://www.caraudiojunkyard.com/forum/showthread.php?p=12678#post12678
I want the width of the list of thank you's in showthread to be as wide as the replies.
looks like you never reverted the template since the upgrade. Please revert the post_thanks_postbit template it.
Stoopid me. I forgot to upload the post_thanks.php file in the forum folder both times I tried this. Abe is a MASTER and it works great! Thank you sooo very much. I wish they would make this base product so we would not have to modify this. ;) Got my vote!
dbirosel
04-06-2007, 08:18 PM
Thanks for the great update!!!! :D Works perfectly!
deezelpope
04-06-2007, 08:29 PM
No need to uninstall. Just re-do the template edits. and upload the files and product file.
Ok, I can handle this, thank you very much...
Please make sure you installed all files in the right place and re-did all the template edits. Also, make sure you revert any Post Thanks templates.
But I'm sorry, I don't understand what you mean by reverting any post thanks templates. Revert to what?
Ok, I can handle this, thank you very much...
But I'm sorry, I don't understand what you mean by reverting any post thanks templates. Revert to what?
Make sure you do not have any customizations on the templates that come with this hack.
deezelpope
04-06-2007, 08:41 PM
Ahhhhh, I see now. I think maybe I should just skip this update...lots of hacks. Thank you for your help and information.
Hi,
After the upgrade the ajax is not working.
big dan
04-07-2007, 08:33 AM
Excellent hack, thank you for the update, Abe. :)
I have one question, is it normal for the entire page to refresh when you give or remove a thanks? This never happened in the 5.x series.
Thank you,
Dan
Hi,
After the upgrade the ajax is not working.
Excellent hack, thank you for the update, Abe. :)
I have one question, is it normal for the entire page to refresh when you give or remove a thanks? This never happened in the 5.x series.
Thank you,
Dan
Make sure you uploaded all the files and did all the template edits.
menababu
04-08-2007, 02:44 AM
Thanks .installed and working great on 3.6.5
big dan
04-08-2007, 02:57 AM
Make sure you uploaded all the files and did all the template edits.
Thank you a reupload of all files did the trick. :)
redlabour
04-08-2007, 12:47 PM
BUG
At every "Thanks" that i will give i get the "No Permission" Screen. After getting back and refreshing the "Thanks" i want to give is given.
I have updated and done all Templateedits.
BUG
At every "Thanks" that i will give i get the "No Permission" Screen. After getting back and refreshing the "Thanks" i want to give is given.
I have updated and done all Templateedits.
I wouldn't call it a bug, since it seems like a problem on your end only. If I can view your ACP I can try to figure out the problem with the installation.
mktrilogy
04-09-2007, 06:40 AM
Thanks for this hack.
tobybird
04-09-2007, 03:49 PM
I've modified this ever so slightly to make it "girly" as my forum is for women. Anyway, I launched it about 10 minutes ago and my members LOVE it. Thanks and great job!! :up:
cirdok2
04-10-2007, 04:55 AM
Just 3 questions :o :
1) is it possible to count the "thanks" as replies in the forum home?
2) a post that has been just thanked, doesn't go up, but I'd like it to go up
EDIT: just found this that I guess answers my questions... :(
https://vborg.vbsupport.ru/showpost.php?p=1117685&postcount=363
3) is it possible to customize the thanks, allowing users to insert a small phrase? (so they can say "thanks", "good job", "bravo"!", as they wish...)
Thanks :)
foulplay
04-10-2007, 12:45 PM
For some reason on GARS Comment, I use the postbit template and I'm receiving this error in which I never encountered from this previous post thanks upgrade:
Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 190
What is causing this? I've reuploaded all the files and did the template edits. At the moment this hack is disabled until a fix comes up.
romanticyao
04-10-2007, 09:28 PM
from my exp, for those having problem with the upgrade, do the following will solve the issue...
step one: reupload all the files
step two: import xml file again(very important...)
koolasia
04-10-2007, 09:37 PM
i am having a problem
even after enabling the mod i cant see thanks button
dbirosel
04-10-2007, 09:40 PM
i am having a problem
even after enabling the mod i cant see thanks button
Did you upload the post_thanks.gif in the correct directory?
koolasia
04-10-2007, 09:49 PM
Did you upload the post_thanks.gif in the correct directory?
yes in my skins button folder i even edited it later and added the url of the image but it still didnt work
SuperJesus
04-10-2007, 11:46 PM
I'm having some problems..
1. I can't remove thanks
2. the name of the person who clicks thanks doesn't show up
3. The "thanks" box shows up twice in the thread
Screen Shot
http://img201.imageshack.us/img201/4840/hacktb1.jpg
i've reuploaded all the files, recheked the edits. No luck.
For some reason on GARS Comment, I use the postbit template and I'm receiving this error in which I never encountered from this previous post thanks upgrade:
Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 190
What is causing this? I've reuploaded all the files and did the template edits. At the moment this hack is disabled until a fix comes up.
No. Clue. I would have to check your ACP.
I'm having some problems..
1. I can't remove thanks
2. the name of the person who clicks thanks doesn't show up
3. The "thanks" box shows up twice in the thread
Screen Shot
http://img201.imageshack.us/img201/4840/hacktb1.jpg
i've reuploaded all the files, recheked the edits. No luck.
Seems like you have to fix your postbit. get rid of all post thanks edits and re-do them.
i am having a problem
even after enabling the mod i cant see thanks button
Are you only looking at your posts?
koolasia
04-11-2007, 05:35 AM
Are you only looking at your posts?
nops i checked others btw does thanks mod work on all the old post also or only the new ones ?
ComputerForumz
04-11-2007, 05:57 AM
just installed the mod, and it works fine, tks!
;)
nops i checked others btw does thanks mod work on all the old post also or only the new ones ?
Should be all unless you set it other wise.
koolasia
04-11-2007, 02:35 PM
Should be all unless you set it other wise.
Dunnoy y but it isnt working :confused:
Dunnoy y but it isnt working :confused:
I would have to look at your ACP.
koolasia
04-11-2007, 04:10 PM
I would have to look at your ACP.
i had installed hide addon also can that cause a prob ?
i had installed hide addon also can that cause a prob ?
No clue
Hornstar
04-12-2007, 04:28 AM
hey I just updated, i noticed that there is a new heading in the acp, but it has an asterix on either side eg. *[post_thanks]* and the headings under it all have * * as well. does this mean its not enabled? how do i fix this, as i want to use the special actions and not sure if it will work now.
homespun-bleach
04-12-2007, 04:47 AM
Thanks a lot, I clicked install.
Ye're a genious, man.
hey I just updated, i noticed that there is a new heading in the acp, but it has an asterix on either side eg. *[post_thanks]* and the headings under it all have * * as well. does this mean its not enabled? how do i fix this, as i want to use the special actions and not sure if it will work now.
Look in the ACP nav bar at the post thanks options.
Amorpho[US]
04-12-2007, 06:43 AM
Hello.
How can I include this plugin only in certain sections of the forum?
Hornstar
04-12-2007, 07:17 AM
I have uploaded a pic to show you what i mean.
see how it has the asterix around the words. that means it is disabled im pretty sure.
I clicked on *[post_thanks_special_actions]* and then put in a user id who had thanked heaps of people for no reason, it said it processed each one fine. but if i put in that userid again, instead of not showing any, it says it processes each one again, which makes me believe it is not deleteing any thanks at all.
How do I fix this, because im not sure what you meant by acp navbar.
;1225699']Hello.
How can I include this plugin only in certain sections of the forum?
There is an option to only allow this hack in some forums.
I have uploaded a pic to show you what i mean.
see how it has the asterix around the words. that means it is disabled im pretty sure.
I clicked on *[post_thanks_special_actions]* and then put in a user id who had thanked heaps of people for no reason, it said it processed each one fine. but if i put in that userid again, instead of not showing any, it says it processes each one again, which makes me believe it is not deleteing any thanks at all.
How do I fix this, because im not sure what you meant by acp navbar.
Can you upload a bigger pic? I can barely see this one.
kirstyd
04-12-2007, 12:12 PM
We've just upgraded to 6.0 Gold, from 4.5
Code like <if condition="$thread[forumid]==22"> ... </if> works fine in the post_thanks_button template to show different images in different forums, but the same code is failing to work in the post_thanks_postbit template.
Any ideas? Debugging shows that the post_thanks_postbit is definitey being used, but $thread[forumid] doesn't seem to be set to anything.
thanks
kirsty
We've just upgraded to 6.0 Gold, from 4.5
Code like <if condition="$thread[forumid]==22"> ... </if> works fine in the post_thanks_button template to show different images in different forums, but the same code is failing to work in the post_thanks_postbit template.
Any ideas? Debugging shows that the post_thanks_postbit is definitey being used, but $thread[forumid] doesn't seem to be set to anything.
thanks
kirsty
It is placed in a function now.
Try using the hook post_thanks_function_fetch_post_thanks_template_st art and put something like
global $thread;
and see if you get anything.
kirstyd
04-12-2007, 12:53 PM
It is placed in a function now.
Try using the hook post_thanks_function_fetch_post_thanks_template_st art and put something like
global $thread;
and see if you get anything.
Thanks for the speedy reply, that works just fine :up:
vampireus
04-13-2007, 04:28 AM
I also have problem with the "thanks" button not show up. Installed on a clean forum.
I also have problem with the "thanks" button not show up. Installed on a clean forum.
Are you just looking at your posts? Do you have more then one template?
vampireus
04-13-2007, 05:19 AM
I uploaded every files and edited templates as told in the Instruction. I check other posts, but the button do now show up.
Here are some images.
Hornstar
04-13-2007, 08:53 AM
I have a problem at the top of my forum it is saying Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 190
here is a thread one of my members posted about this problem http://www.gamerzneeds.net/forums/general-suggestions/51844-error-when-loading-page.html
Only occured upon upgrading.
dj_melayu
04-13-2007, 10:32 AM
I don't get anything when I go to post_thanks.php. I get a blank page. Is it the statistic page?
I've also get a blank page if I click for Find All post thanks by this user. :)
q8-star
04-13-2007, 11:06 AM
I had this hack for a long time now, and I've just enabled the option to enable reputation when thanked.
But I was wondering since there is old thanks, how can I update the counters so it does count those thanks as reputation?
I have a problem at the top of my forum it is saying Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 190
here is a thread one of my members posted about this problem http://www.gamerzneeds.net/forums/general-suggestions/51844-error-when-loading-page.html
Only occured upon upgrading.
Anyway to figure out why on that page only?
I had this hack for a long time now, and I've just enabled the option to enable reputation when thanked.
But I was wondering since there is old thanks, how can I update the counters so it does count those thanks as reputation?
No way right now.
I uploaded every files and edited templates as told in the Instruction. I check other posts, but the button do now show up.
Here are some images.
Do you have permission to use that thanks button there?
I don't get anything when I go to post_thanks.php. I get a blank page. Is it the statistic page?
I've also get a blank page if I click for Find All post thanks by this user. :)
Post_thanks.php is just an actions page. No hanging out on it.
Make sure the template edit was updated to the new edit.
vampireus
04-13-2007, 05:21 PM
Do you have permission to use that thanks button there?
Sure I am.
I have found a way to make the button appear and use the mod by replacing $post_thank_button in postbit_legalcy template by the whole content of post_thank_button template
oldengine
04-13-2007, 06:33 PM
Added to my todo list but not sure why the link would show up if unregistered user can't see the thanks button. The link my be there still. I'll try to see what I can do.
If you "view source" on the page while not logged in, you WILL SEE the link to post_thanks.
If you "view source" on the page while not logged in, you WILL SEE the link to post_thanks.
I see now. I'll look into it.
q8-star
04-13-2007, 09:41 PM
any plan to add in future releases?
MissKalunji
04-13-2007, 11:42 PM
how many queries does this add in total?
Amorpho[US]
04-14-2007, 07:13 AM
]There is an option to only allow this hack in some forums.
Where i can find this option?
Amorpho[US]
04-14-2007, 07:31 AM
];1227281']Where i can find this option?thanks, i find it=)
Dream
04-14-2007, 08:21 AM
Upgrade to 6.0 was smooth, thank you.
cirdok2
04-14-2007, 05:04 PM
I have it installed, but there is a complain from my users.
When they post a thanks, the post-icon doesn't change in
"You have posted in this thread"
and this is confusing.
The icon
"You have posted in this thread"
is very useful
Am I missing something or there is a way to show that icon also when a user post a thanks?
Thanks! :mrgreen: ;)
DieselMinded
04-14-2007, 07:45 PM
Updated THANKS
DM
how many queries does this add in total?
One query to each showthread and showpost page.
I have it installed, but there is a complain from my users.
When they post a thanks, the post-icon doesn't change in
"You have posted in this thread"
and this is confusing.
The icon
"You have posted in this thread"
is very useful
Am I missing something or there is a way to show that icon also when a user post a thanks?
Thanks! :mrgreen: ;)
Never got such a request before. Added to my list.
home9000
04-15-2007, 05:59 AM
Is this product will work even if I disabled AJAX ?
Is this product will work even if I disabled AJAX ?
Yes. Just the page with re-fresh when ever someone gives thanks.
djjeffa
04-15-2007, 10:01 PM
when i searched for thanks post i get Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 657 at the top while its searching
when i searched for thanks post i get at the top while its searching
I'm really not sure why.
Dream
04-16-2007, 01:40 AM
I think it would be cool if you could view the latest "Thank Yous" you received, with name/post link/date, in the userCP like the reputation list, or in a separate page altogether.
I think it would be cool if you could view the latest "Thank Yous" you received, with name/post link/date, in the userCP like the reputation list, or in a separate page altogether.
I see you are a pretty big coder. Why not release an add on?
hichew
04-16-2007, 02:55 AM
i installed this mod, and now my forum is down (showing database error).
seems like the install is failed (because the browser timeout) so how to fix it?
i installed this mod, and now my forum is down (showing database error).
seems like the install is failed (because the browser timeout) so how to fix it?
disable plug-ins via your config file.
not sure off hand how to do that.
no clue why it would time out though.
home9000
04-17-2007, 04:42 AM
Is it possible to searched for thanks post that I get ?how ?
I'm having some problems..
1. I can't remove thanks
2. the name of the person who clicks thanks doesn't show up
3. The "thanks" box shows up twice in the thread
Screen Shot
http://img201.imageshack.us/img201/4840/hacktb1.jpg
i've reuploaded all the files, recheked the edits. No luck.
I have this same problem.
... i am not sure how to fix this.
Could someone pls help? thanks.
Dream
04-17-2007, 05:45 AM
I see you are a pretty big coder. Why not release an add on?
I'm gonna remove my signature ;/
I have this same problem.
... i am not sure how to fix this.
Could someone pls help? thanks.
Make sure all template edits are correct. Make sure there are no doubles.
Make sure all template edits are correct. Make sure there are no doubles.
Hi, i did it 2 times and i did not have luck :(
cirdok2
04-17-2007, 06:18 PM
Never got such a request before. Added to my list.
thank you! :)
I was trying to add it by myself, but I got lost... :o
morrow
04-18-2007, 03:51 AM
I got the same problem... old version was working great, new one doesn't work at all...
Thanks button shows up.
Click on Thanks button, box disappears and no thanks given. Refresh shows thanks button again but no dice on the update showing the thanks...
I think 3 others have had this issue now. Is it a bug or an issue with the mod?
Dream
04-18-2007, 04:08 AM
Did you edit your templates? If you did, try reverting them.
home9000
04-18-2007, 04:58 AM
Is it possible to show the Thanks count in forumdisplay as like this image
Is it possible to show the Thanks count in forumdisplay as like this image
Release an add-on.
I got the same problem... old version was working great, new one doesn't work at all...
Thanks button shows up.
Click on Thanks button, box disappears and no thanks given. Refresh shows thanks button again but no dice on the update showing the thanks...
I think 3 others have had this issue now. Is it a bug or an issue with the mod?
By everyone else, we found out it was their problem.
There were a lot a changes in this version. Make sure you go through the install file perfectly.
morrow
04-19-2007, 12:19 AM
When you say to revert the templates, what should I revert them to, they are the way they were when I installed the mod. I never changed them. Should I remove them totally and let the new xml update them?
As far as the template edits, I checked and quadruple checked, and everything is just as stated in the instructions.txt.
Files were uploaded to the correct directories.
What did everyone else do to fix the issues?
morrow
04-19-2007, 01:22 AM
Fixed... Had to go back to March to find the answer. Had the integrate with Groan hack on... Disabled it and it now works fine.
Thanks.
Redeyeskull
04-19-2007, 06:35 AM
Thank you I already installed it and is working perfectly. Very clear instructions no problems at all. Thanks!
Nice script i love it.
Is it possible to make for example when i go to my member profile... there i can see which of my posts are thanked, but is it possible to make in the same place to click on Thanks and see which users\posts i thanked?
Thanks
romanticyao
04-20-2007, 12:47 AM
Hello, postthank hack doesnt work with forum that has Add vBGallery to each forum hack applied to it....
https://vborg.vbsupport.ru/showthread.php?t=111868&highlight=vBGallery
however, the rest of my forums works fine as long as Add vBGallery to each forum hack isnt enabled
Hornstar
04-20-2007, 07:15 AM
Anyway to figure out why on that page only?
im sure the answer you are looking for would be on that page somewhere. because it has the error at the top of the page, and you can see what exactly is displayed on that page. So maybe it doesnt like when certain things occur on a page?
also here is another problem im having, which is the reason i upgraded ^^
BUG
The delete all of a users thanks feature in the admincp is not working. it says it deletes them, but when i refresh the page where that user had thanked everyone, their thanks are still there.
is this occurring for anyone else? because it is not doing anything on mine.
here is a screen shot to show that it is processing it, but then when i check to see if the thanks are gone, they're still there.
bjhuang
04-24-2007, 03:06 PM
it seems like this hack adds one query to each "post". in my showthread.php, there are 15 posts per page. 12 queries without this hack, and 27 queries with this hack enabled.
One query to each showthread and showpost page.
it seems like this hack adds one query to each "post". in my showthread.php, there are 15 posts per page. 12 queries without this hack, and 27 queries with this hack enabled.
It should only be one. Any way I can have a look around? Do you have the latest version?
bjhuang
04-25-2007, 02:56 AM
i've found some hints.
if there're more than one thanks in the "page", it adds only one query. but if there is no thanks at all for the posts of the page, it adds one query per post.
the problem is that you forgot to set $act to be ture after the db query in fetch_thanks()
It should only be one. Any way I can have a look around? Do you have the latest version?
i've found some hints.
if there're more than one thanks in the "page", it adds only one query. but if there is no thanks at all for the posts of the page, it adds one query per post.
the problem is that you forgot to set $act to be ture after the db query in fetch_thanks()
I thought I did do something to prevent it. I will look into it.
fn9mm
04-25-2007, 06:21 PM
After migrating to another server, i got this error on ALL my tables including VB_post_thanks table
Database error in vBulletin 3.6.5:
Invalid SQL:
INSERT INTO vb_post_thanks
(userid, username, date, postid)
VALUES
('1', 'fn9mm', 1177527910, 15285);
MySQL Error : Duplicate entry '0' for key 1
Error Number : 1062
...
I was able to fix these duplicate entry errors by running the query mentioned by VBulletin.com here : http://www.vbulletin.com/docs/html/mysql_duplicatekey
However, if I apply the same query for the vb_post_thanks table, it doesn't change a thing,
EDIT, this is the query I ran
ALTER TABLE `vb_post_thanks` CHANGE `id` `id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT;
i keep getting those erros everytime I push the 'thank you' button.
I'm sure it's data corruption due to server migration, I allready tried to delete the table and import from backup from previous server, but this doesn't help either
what am I missing here ...?
After migrating to another server, i got this error on ALL my tables including VB_post_thanks table
Database error in vBulletin 3.6.5:
Invalid SQL:
INSERT INTO vb_post_thanks
(userid, username, date, postid)
VALUES
('1', 'fn9mm', 1177527910, 15285);
MySQL Error : Duplicate entry '0' for key 1
Error Number : 1062
...
I was able to fix these duplicate entry errors by running the query mentioned by VBulletin.com here : http://www.vbulletin.com/docs/html/mysql_duplicatekey
However, if I apply the same query for the vb_post_thanks table, it doesn't change a thing,
EDIT, this is the query I ran
ALTER TABLE `vb_post_thanks` CHANGE `id` `id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT;
i keep getting those erros everytime I push the 'thank you' button.
I'm sure it's data corruption due to server migration, I allready tried to delete the table and import from backup from previous server, but this doesn't help either
what am I missing here ...?
May have to do with AUTO_INCREMENT
blue6995
04-30-2007, 10:52 AM
having carried out the instructions to upgrade/install over the previous verios I am getting the following error messages:
Warning: can_thank_this_post(/homepages/18/d121175559/htdocs/vBulletin/includes/functions_post_groan.php) [function.can-thank-this-post]: failed to open stream: No such file or directory in /includes/functions_post_thanks.php on line 73
Fatal error: can_thank_this_post() [function.require]: Failed opening required '/homepages/18/d121175559/htdocs/vBulletin/includes/functions_post_groan.php' (include_path='.:/usr/local/lib/php') in /homepages/18/d121175559/htdocs/vBulletin/includes/functions_post_thanks.php on line 73
Any idea on how I can resolve this? The file vBulletin/includes/functions_post_groan.php' is definately in the right place.
Thanks
vspro
04-30-2007, 11:15 AM
Hi abe1,
You can write an add-con fo this mod, This function of add-on is thank in attad file, Menber which have X THANKS can download attad file, I want this add-on to agains spam member is this one is necessary, My English quite bad, hope you understand my write, thank alot :)
having carried out the instructions to upgrade/install over the previous verios I am getting the following error messages:
Warning: can_thank_this_post(/homepages/18/d121175559/htdocs/vBulletin/includes/functions_post_groan.php) [function.can-thank-this-post]: failed to open stream: No such file or directory in /includes/functions_post_thanks.php on line 73
Fatal error: can_thank_this_post() [function.require]: Failed opening required '/homepages/18/d121175559/htdocs/vBulletin/includes/functions_post_groan.php' (include_path='.:/usr/local/lib/php') in /homepages/18/d121175559/htdocs/vBulletin/includes/functions_post_thanks.php on line 73
Any idea on how I can resolve this? The file vBulletin/includes/functions_post_groan.php' is definately in the right place.
Thanks
No clue. When do you get this error?
Hi abe1,
You can write an add-con fo this mod, This function of add-on is thank in attad file, Menber which have X THANKS can download attad file, I want this add-on to agains spam member is this one is necessary, My English quite bad, hope you understand my write, thank alot :)
No clue what you are saying.
vspro
04-30-2007, 12:53 PM
No clue what you are saying.
because my forum have many member signIn to search attach file which they need, but not contribute for my forum, So i want a MOD: member which have X-thank can download attach file, That Anyone which want to dowload attach file must contribue actively for the forum and amount thanks of other member, after have enough, that person can download attach file, So that Mod avoid member signIn and not to do anything,avoid spam for forum, can you understand? Please understand and help me, thank alot..
You can see that image,so that you can understand my words
https://vborg.vbsupport.ru/
fn9mm
04-30-2007, 01:38 PM
Update :
This would have helped
ALTER TABLE `vb_post_thanks` CHANGE `id` `id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT;
If my host wouldn't have changed the database name without telling me (damn *****)
He changed my config file and database name, so I was working in the wrong database,.... two days of worrying for nothing,
thx anyway
redtailboa
04-30-2007, 03:26 PM
I asked before, but it may of been lost in this huge thread.
Anyway, is there any chance we can set limits to daily thanks? I have a few users that are starting little cliques on my site thanking each other over and over.
Maybe do something like:
Max Thanks per day:
Max Thanks per thread:
Max Thanks per hour:
blue6995
04-30-2007, 03:44 PM
No clue. When do you get this error?
Whenever I click on the Thank you button - it used to work before I updated the mod
blue6995
04-30-2007, 04:43 PM
No clue. When do you get this error?
Ok, I have removed the Post Groan mod and the Post Thank you button is working again
Thanks
I asked before, but it may of been lost in this huge thread.
Anyway, is there any chance we can set limits to daily thanks? I have a few users that are starting little cliques on my site thanking each other over and over.
Maybe do something like:
Max Thanks per day:
Max Thanks per thread:
Max Thanks per hour:
I dont think i would release such options but you should be able to do it very easily with the hook/plugins in the functions of this hack.
AMG021
05-01-2007, 10:26 PM
im sure the answer you are looking for would be on that page somewhere. because it has the error at the top of the page, and you can see what exactly is displayed on that page. So maybe it doesnt like when certain things occur on a page?
also here is another problem im having, which is the reason i upgraded ^^
BUG
The delete all of a users thanks feature in the admincp is not working. it says it deletes them, but when i refresh the page where that user had thanked everyone, their thanks are still there.
is this occurring for anyone else? because it is not doing anything on mine.
here is a screen shot to show that it is processing it, but then when i check to see if the thanks are gone, they're still there.
Abe1 Can you please help me. I have the same problem
itsatonline
05-02-2007, 04:07 PM
i can when deleted post thanks other users ?
I have a question - I did search but couldn't find anything like this. Is there a mod that will display say like the top 4 members along with their avatar with the most thanks for the month or week?
Thanks in advance.
tanyeri24
05-03-2007, 12:11 AM
possible to get a toplist like this:
https://vborg.vbsupport.ru/showthread.php?threadid=146277
360themes
05-04-2007, 04:52 PM
is there anyway to make the Thanks list collapsable? Too many thanks in the list take so much space.
saman
05-05-2007, 01:52 PM
guys i have now Version 5.3 and in the instruction text, there is nothing about how to upgrade from 5.3 to 6.0...
at step 2: 2) Import product-post_thanks.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])
but I already have it (5.3) how should i add this one and the most important for, will i loose all the thanks that my members currentlt have?
thanks -
germinus
05-05-2007, 05:38 PM
think i must be missing somthin as it dont work for me, got all the info in postbit user info but thats it, no thanks button no hide tag nothing! doesnt even work when i try a manual hide tag
AMG021
05-06-2007, 09:50 PM
Abe How do I delete Users all thanks ?
Abe, I am not a coder but my members LOVE your thanks product, is there an easy solution to have the top one or two members with the most thanks appear on the main forum page? I found this mod: https://vborg.vbsupport.ru/showthread.php?t=143553 and tried to pull the members with the top thank yous but I failed miserably. Your thoughts?
guys i have now Version 5.3 and in the instruction text, there is nothing about how to upgrade from 5.3 to 6.0...
at step 2: 2) Import product-post_thanks.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])
but I already have it (5.3) how should i add this one and the most important for, will i loose all the thanks that my members currentlt have?
thanks -
Just install like new. w/o removing what you have already. Just re-do the template edits.
think i must be missing somthin as it dont work for me, got all the info in postbit user info but thats it, no thanks button no hide tag nothing! doesnt even work when i try a manual hide tag
Who said anything about a hide tag?
Abe How do I delete Users all thanks ?
Go look in the ACp nav bar for post thanks actions.
Abe, I am not a coder but my members LOVE your thanks product, is there an easy solution to have the top one or two members with the most thanks appear on the main forum page? I found this mod: https://vborg.vbsupport.ru/showthread.php?t=143553 and tried to pull the members with the top thank yous but I failed miserably. Your thoughts?
It should be a simple query. Something like
SELECT * FROM users ORDER BY post_thanks_thanked_times DESC LIMIT 2
Andyrew
05-07-2007, 12:16 PM
Nice hack, shame about the template edits.
BozzaJos
05-07-2007, 12:22 PM
This is a fantastic mod, thanks Abel for creating it!
I've got one question tho. I recently upgraded from 3.5 to 3.6 (installed actually, not used the upgrading function). I reinstalled the Post Thank You hack for 3.6 but I would like to have the old thanks stats back of my old forum. I imported post_thanks table but all the members still have 0 thanks given or gotten.
How can I get my old thanks stats back for all the members?
It should be a simple query. Something like
SELECT * FROM users ORDER BY post_thanks_thanked_times DESC LIMIT 2
I tried that but it didn't work.....;( Thank you for the suggestion.
vspro
05-07-2007, 02:50 PM
because my forum have many member signIn to search attach file which they need, but not contribute for my forum, So i want a MOD: member which have X-thank can download attach file, That Anyone which want to dowload attach file must contribue actively for the forum and amount thanks of other member, after have enough, that person can download attach file, So that Mod avoid member signIn and not to do anything,avoid spam for forum, can you understand? Please understand and help me, thank alot..
You can see that image,so that you can understand my words
https://vborg.vbsupport.ru/
I waited for a week but you didn't reply. Will you please answer me now? Thanks
This is a fantastic mod, thanks Abel for creating it!
I've got one question tho. I recently upgraded from 3.5 to 3.6 (installed actually, not used the upgrading function). I reinstalled the Post Thank You hack for 3.6 but I would like to have the old thanks stats back of my old forum. I imported post_thanks table but all the members still have 0 thanks given or gotten.
How can I get my old thanks stats back for all the members?
Use the post thanks recounters.
I waited for a week but you didn't reply. Will you please answer me now? Thanks
Sorry, I will not add such a feature. Maybe someone wants to release an add-on.
Hornstar
05-08-2007, 05:34 AM
Abe1, ive made several posts about a bug in the deleting all of a users thanks given from the admincp, it doesnt work at all. Any way you can help me on this, as its important. thanks.
Abe1, ive made several posts about a bug in the deleting all of a users thanks given from the admincp, it doesnt work at all. Any way you can help me on this, as its important. thanks.
I will look into it. Is there a way I can have a look at your ACP?
bhanuprasad1981
05-09-2007, 03:28 AM
abe1 i have upgraded this hack from v5.5 to 6.0 gold recently i came to know about an error when i try to see all the thanked post of an user all i see is a blank page nothing else can u please tell me what i did wrong???
Hornstar
05-09-2007, 05:53 AM
I will look into it. Is there a way I can have a look at your ACP?
sent you the pm. Thanks.
abe1 i have upgraded this hack from v5.5 to 6.0 gold recently i came to know about an error when i try to see all the thanked post of an user all i see is a blank page nothing else can u please tell me what i did wrong???
You have to re-do the template edits.
sent you the pm. Thanks.
Thanks. I found the problem. I need some time to fix it though.
fn9mm
05-10-2007, 08:13 AM
(Maybe an idea for the next version )
I'd like to reward my members who got the most 'thanks', and do this per month (kind of 'member of the month' election)
Does anyone know how I can easily create a list (overview) with the received # thanks and this per month (or week of year) per user?
It should be possible in phpmyadmin with a query, but I'm not a Mysql specialist,...
Something like a search function of this kind in a next version would be very handy... ;)
yingzhou
05-11-2007, 06:01 PM
I have some bug with the version 6 GOLD here. When I thank someone, I can't Quick Reply after this thanked post. But another can Quick Reply after the post that I had thanked. Why is it? Full Reply is OK.
athlon64bit
05-12-2007, 09:21 PM
I upgraded my forum to 3.6.6 and now this is hack is not working. I tried redoing the templates but to no avail. It still does not work.
Has anyone else had this problem? Anyone have any suggestions or solutions?
Is it just me or do we need to wait for the next version? This is my favourite hack:(
Will my forum loose the thanks totals for users?
Nevermind. Ignor this. I had just made a mistake (forgot to reupdate one of the templates). It is all working fine now. Perfect.
Regards:)
CNBAforo
05-12-2007, 09:36 PM
The list of thanks is very big. I would be nice to have a button to hide it.
perfphysio
05-13-2007, 05:14 AM
I upgraded my forum to 3.6.6 and now this is hack is not working. I tried redoing the templates but to no avail. It still does not work.
Has anyone else had this problem? Anyone have any suggestions or solutions?
Is it just me or do we need to wait for the next version? This is my favourite hack:(
Will my forum loose the thanks totals for users?
Nevermind. Ignor this. I had just made a mistake (forgot to reupdate one of the templates). It is all working fine now. Perfect.
Regards:)I just upgraded to 3.6.6 and mine still works fine. If must be due to some other template issue rather than this product
SoftDux
05-13-2007, 06:09 PM
Thanx for the mod :)
I have some bug with the version 6 GOLD here. When I thank someone, I can't Quick Reply after this thanked post. But another can Quick Reply after the post that I had thanked. Why is it? Full Reply is OK.
Please explain in detail.
TrIn@dOr
05-14-2007, 12:40 PM
I just upgraded to 3.6.6 and mine still works fine. If must be due to some other template issue rather than this product
Did u update or revert the modified templates? ;)
Reverting the mod dissapears!
Version 6.1 (05/14/07):
No more template edits You do not have to make any template edits to run this hack.
better cache of templates
vBulletin 3.6.6 and up is needed to run this version
Fixed extra queries from running if you had no thanks on a page.
Fixed deleting all of a users thanks.
A few more tweaks here and there.
itsblack
05-14-2007, 11:41 PM
Great update! Thank you very much!
But it seems that the member's post_thank_you info are now displaying at wrong place at the postbit page (with legacy mode). As we know, with legacy mode there are two tables in the left column. It now displaying at the second table. Maybe it is because I use the non official style (I use the Element style from vbstyles.com). But how can I make it just like the 3rd Screenshot did?
beduino
05-15-2007, 12:20 AM
Save me a lot of editions - again - in postbit/legacy, memberinfo etc etc.
Working fine and with sid's hack too. :D
Maybe is userful enfatize the new version ONLY works with new set of templates - with all hooks
Tks Abe1!
Joao barroca
aka beduino
ps. waiting the new version of 'groan' ;)
Again Abe, this MODIFICATION should be added to the base. This is a excellent option for users. just had to manually add all these updates to templates after 3.6.6 upgrade and was hoping you would do somehting like this. Great work bud
ncangler
05-15-2007, 12:48 AM
I upgraded to 3.6.6 over the weekend and manually edited the templates yesterday. I was very happy thought to remove those edits and run this new install that requires no template edits. Awesome! Thank you so much Abe. :up:
Black Tiger
05-15-2007, 12:53 AM
I wish I had known this the day before yesterday, just did all template edits again when upgrading to 3.6.6.:)
But never mind, I'm glad we now got a version without template edits so I will remove the edits with pleasure.
I presume we can just upgrade to this new version like always?
Thanks!
Great update! Thank you very much!
But it seems that the member's post_thank_you info are now displaying at wrong place at the postbit page (with legacy mode). As we know, with legacy mode there are two tables in the left column. It now displaying at the second table. Maybe it is because I use the non official style (I use the Element style from vbstyles.com). But how can I make it just like the 3rd Screenshot did?
Can you get me a screenshot?
ps. waiting the new version of 'groan' ;)We released also today.
I presume we can just upgrade to this new version like always?
Thanks!Just overwrite the files and xml product.
You just have to remove all the template edits now since you dont need them any more.
rjmjr69
05-15-2007, 12:59 AM
After upgrading I lost the thank you button
I removed all the template edits from the last version installed the new version allowing overwrite and now I have nothing All the thanks are gone and it doesnt work?
dope15gd
05-15-2007, 01:15 AM
After upgrading I lost the thank you button
I removed all the template edits from the last version installed the new version allowing overwrite and now I have nothing All the thanks are gone and it doesnt work?
ditto. I made sure my template was up to date as best I could and I updated everything, but it still isn't showing up.
I'd be glad to give more details if you tell me what to look for.
rjmjr69
05-15-2007, 01:15 AM
I dont see any auto template edits being made
itsblack
05-15-2007, 01:38 AM
Can you get me a screenshot?
OK.
ditto. I made sure my template was up to date as best I could and I updated everything, but it still isn't showing up.
I'd be glad to give more details if you tell me what to look for.
I dont see any auto template edits being made
After upgrading I lost the thank you button
I removed all the template edits from the last version installed the new version allowing overwrite and now I have nothing All the thanks are gone and it doesnt work?
Can you try viewing it on a default vb 3.6.6 style?
OK.I will look into.
OK.
I just tested on my test forum and it shows up on top. Please test it on a default vb 3.6.6 style.
romanticyao
05-15-2007, 01:55 AM
i think its better to give us the option to keep our templates edits, because i have my postbit completely rewritten using div and css... its tableless and look very different than default.
i think its better to give us the option to keep our templates edits
For what reason?
romanticyao
05-15-2007, 02:02 AM
For what reason?
because i have my postbit completely rewritten using div and css... its tableless and look very different than default.
thanx for the update, good work!
ncangler
05-15-2007, 02:15 AM
I removed the template edits, uploaded the new files, ran the .xml file and it worked beautifullly. :)
itsblack
05-15-2007, 02:27 AM
I just tested on my test forum and it shows up on top. Please test it on a default vb 3.6.6 style.
Thank you. Can you explain how it works? I mean, how the hack insert the info message to the postbit. So maybe I can make some change to let it work on my style.
because i have my postbit completely rewritten using div and css... its tableless and look very different than default.
thanx for the update, good work!
All the edits are just put into their own templates. You can still customizes them very easily.
Thank you. Can you explain how it works? I mean, how the hack insert the info message to the postbit. So maybe I can make some change to let it work on my style.
It uses the new template hooks in the templates.
itsblack
05-15-2007, 03:20 AM
It uses the new template hooks in the templates.
Thank you much! I edited the postbit template and moved the hook to the proper place, now everything is OK.
Atwal
05-15-2007, 03:46 AM
Thanks a lot for the uprading and also thanks a lot for making it have no more template edits
D.Ilyin
05-15-2007, 05:19 AM
No more template edits You do not have to make any template edits to run this hack. Thank's for this!
Abe1 can you add some option for manual choose place where to display the "Thanks" button. I mean that on my board it display after "Quick reply to this message" button. But i'd like to display it before "Edit/Delete message" button.
Or you can you add tip where in .xml file i need to edit this for display it in "right" place.
Thank's again!
romanticyao
05-15-2007, 05:27 AM
upgraded without any problem. thanx for this.
redlabour
05-15-2007, 05:53 AM
BUG at 6.1:
The Button appears at the wrong direction after the Quickreply Button!
Zagis
05-15-2007, 07:19 AM
Just overwrite the files and xml product.
You just have to remove all the template edits now since you dont need them any more.I removed all the template edits and then re import the product but all "thanks" disappeared from my board.
What I did wrong?
(vB 3.66 - upload and overwrite the files - allow product overwrite "Yes")
D.Ilyin
05-15-2007, 08:34 AM
And some troubles with this hack (https://vborg.vbsupport.ru/showthread.php?t=93706). Even postbit_first has manual template edit "Thanks" button don't appear.
itsblack
05-15-2007, 10:13 AM
BUG at 6.1:
The Button appears at the wrong direction after the Quickreply Button!
for this problem, you can eidt postbit (or postbit legacy) template, find "$template_hook[postbit_controls]", and move it before to "<if condition="$post['editlink']">"
redlabour
05-15-2007, 10:20 AM
for this problem, you can eidt postbit (or postbit legacy) template, find "$template_hook[postbit_controls]", and move it before to "<if condition="$post['editlink']">"
Sure i can - but this is not the Way what Hooks are made for if i still have to edit the Template manually.
itsblack
05-15-2007, 10:59 AM
Sure i can - but this is not the Way what Hooks are made for if i still have to edit the Template manually.
Then you should tell the vbb.com to change the hook place. Oh Abe must write a new hook himself.
TrIn@dOr
05-15-2007, 11:00 AM
You just have to remove all the template edits now since you dont need them any more.
Befor upgrading, we need to revert the old template edits?
Thank's for this!
Abe1 can you add some option for manual choose place where to display the "Thanks" button. I mean that on my board it display after "Quick reply to this message" button. But i'd like to display it before "Edit/Delete message" button.
Or you can you add tip where in .xml file i need to edit this for display it in "right" place.
Thank's again!
move the '$template_hook[postbit_controls]' to right under '<!-- controls -->' if you'd like.
Sure i can - but this is not the Way what Hooks are made for if i still have to edit the Template manually.
This is a tiny edit and it would effect any hack that starts using this hook location. It had to do with where you want new buttons placed - to the right or to the left. All hacks should be using the method I use in this version in their coming releases.
Befor upgrading, we need to revert the old template edits?
Yes. All previous Post Thanks template edits need to be removed.
Zagis
05-15-2007, 11:58 AM
I removed all the template edits and then re import the product but all "thanks" disappeared from my board.
What I did wrong?
(vB 3.66 - upload and overwrite the files - allow product overwrite "Yes")Any help here please Abe...
Do I have to edit the templates again?
Any help here please Abe...
Do I have to edit the templates again?
Test it on a default vb 3.6.6 style.
Zagis
05-15-2007, 12:02 PM
Test it on a default vb 3.6.6 style.I use the default vb 3.6.6 style
I use the default vb 3.6.6 style
Are you sure you have the $template_hooks in the postbit right now?
Thanks for the quick update for folks on 3.6.6 Abe1 .. installed and works well :up:
Might be a good idea to list the template edits to be removed in the 6.1 instructions.
Zagis
05-15-2007, 12:24 PM
Are you sure you have the $template_hooks in the postbit right now?Sorry I'm not very good on this and I don't really understand what do you mean... :o
I just did what Insructions.txt file says after removing all the old template edits.
TrIn@dOr
05-15-2007, 12:56 PM
updated with 3.6.6 non standard theme, all ok!!
Zagis
05-15-2007, 01:19 PM
Are you sure you have the $template_hooks in the postbit right now?
Ok, I see what you mean now, but no there is not any $template_hooks in the postbit. I have re imported product-post_thanks.xml 4 times (Allow Overwrite "YES"). :(
Thanks for the quick update for folks on 3.6.6 Abe1 .. installed and works well :up:
Might be a good idea to list the template edits to be removed in the 6.1 instructions.
You can download the version 6.0 and look there or do a template search for 'post thank' and it will bring up all edit locations.
Ok, I see what you mean now, but no there is not any $template_hooks in the postbit. I have re imported product-post_thanks.xml 4 times (Allow Overwrite "YES"). :(
If you dont have $template_hooks in your postbit template then you do not have an up-to-date vb template for version 3.6.6.
shamda
05-15-2007, 01:38 PM
I just upgraded to 3.6.6 and also upgraded the thank you hack. I deleted the template edits made with the prior version per the instructions. I installed this update after deleting the template edits made last time. I uploaded the files per the instructions and installed the product per the instructions. Problem is that now the thank you buttons do not appear and the stats do not appear anywhere either. Did I miss something?
I just upgraded to 3.6.6 and also upgraded the thank you hack. I deleted the template edits made with the prior version per the instructions. I installed this update after deleting the template edits made last time. I uploaded the files per the instructions and installed the product per the instructions. Problem is that now the thank you buttons do not appear and the stats do not appear anywhere either. Did I miss something?
Did you update your templates to new changes that vb3.6.6 made?
RS_Jelle
05-15-2007, 02:32 PM
When the button isn't hidden, you can find style="display:" in the HTML source code. This is causing a CSS error (empty element). It would be nice to wrap a conditional arround the style attribute to hide it when it's not necessary :)
Nice new release. vBulletin upgrades are becoming less and less painful for a modded board.
When the button isn't hidden, you can find style="display:" in the HTML source code. This is causing a CSS error (empty element). It would be nice to wrap a conditional arround the style attribute to hide it when it's not necessary :)
Nice new release. vBulletin upgrades are becoming less and less painful for a modded board.
Will look into.
Jibreil
05-15-2007, 05:27 PM
I did a install on a fresh installation of vBulletin with a non-default template, the "Thank You" button doesnt appear.
I did a install on a fresh installation of vBulletin with a non-default template, the "Thank You" button doesnt appear.
Well use the history feature to match the template up with the original so you can see what you are missing.
dope15gd
05-15-2007, 05:46 PM
Can you try viewing it on a default vb 3.6.6 style?
That seems to be the problem. I reverted everything, but I am missing that hook so that is the problem. I'm going to look into getting the hook fixed.
thanks
LockeAG
05-15-2007, 06:50 PM
I have a little proble...
I'm on vb3.6.7 , and I revert all templates , an d when I active the plugin this tiem the postbit reproduce a lot of
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
I add some 2 images.
Thanks!
see'a
Zagis
05-15-2007, 06:55 PM
I have a little proble...
I'm on vb3.6.7 , and I revert all templates , an d when I active the plugin this tiem the postbit reproduce a lot of
[code]
Thanks!
see'a
I've got the same problem :(
I have a little proble...
I'm on vb3.6.7 , and I revert all templates , an d when I active the plugin this tiem the postbit reproduce a lot of
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
I add some 2 images.
Thanks!
see'a
I did not test vb3.6.7 yet, but if this happens, then it seems like a vb problem. The hook should not be kept from one postbit to the next. I will try to check it out later.
rjmjr69
05-15-2007, 11:42 PM
I looked at the templates for the new install and they are all EMPTY? Maybe thats why this dont work? I lost all the thanks and the button members are heated.
What hooks are being placed and where? I dont see anything placed into any template
This is so annoying. I should have just kept the old one installed. Why this is not working is beyond me. I checked on the default style its not working there either.
beduino
05-15-2007, 11:45 PM
I have same problem - lockeAG and Zagis - after the upgrade. Uninstall the [lovely] 6.1 and reinstall 6.0 gold
Everything is ok, now
all the best
Joao barroca
aka beduino
magmf
05-15-2007, 11:49 PM
SAME PROBLEM HERE WITH 3.6.7
I have a little proble...
I'm on vb3.6.7 , and I revert all templates , an d when I active the plugin this tiem the postbit reproduce a lot of
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 1 Time in 1 Post
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
I add some 2 images.
Thanks!
see'a
rjmjr69
05-15-2007, 11:57 PM
I hate to reinstall the old one but doesnt seem like anything is being done with this release.
3.6.7 doesn't seem to like this addition and it was working well on 3.6.6.
I now have the same problem as listed above.
To all those with vb3.6.7, I have posted a vb bug here: http://www.vbulletin.com/forum/project.php?issueid=22069
You can keep tabs on it.
If you want one simple way to stop it now,
open the file includes/class_postbit.php
Find and delete:
, $template_hook
LockeAG
05-16-2007, 03:47 AM
yes it works , removing that variable...
but why they put it there, it should hava a function or was a mistake?
see'a
but why they put it there, it should hava a function or was a mistake?
I dont really know. Follow the Bug I posted on vbulletin.com
vuiveclub_net
05-16-2007, 04:12 AM
Thank 4 sharing, Im try waiting for a new versions include attachments manager, only thanked can download user attachment.
Thanks Abe1 .. the functions/class_postbit.php edit solved the problem. I can now enable the product and keep the masses happy :)
Dream
05-16-2007, 06:56 AM
Thank you for the new version.
I also had to edit class_postbit.php
redlabour
05-16-2007, 07:44 AM
open the file functions/class_postbit.php
Find and delete:
, $template_hook
???
You mean includes/functions.php and includes/class_postbit.php??
Dream
05-16-2007, 07:44 AM
no its includes/class_postbit.php
KEKforce
05-16-2007, 09:03 AM
Installed 3.6.7
6.0 gold works perfectly..
6.1 doesnt work. No button...
Reinstalled 6.0 and again fine now!
3.6.7. issue?
Tacama
05-16-2007, 09:31 AM
Thank you for the new version.
I also had to edit class_postbit.php
Same here...
We'll follow your post at v.bulletin.com
Thank you :up:
???
You mean includes/functions.php and includes/class_postbit.php??
I fixed the first post about this.
Same here...
We'll follow your post at v.bulletin.com
Thank you :up:
It seems like I won :D
Changing this back.
For now you can keep the file edit. It will be removed in future versions.
RS_Jelle
05-16-2007, 10:12 AM
An other small bug report: when you use the "Delete All of a Users Thanks" feature and enter the user id of a deleted user, you get a database error (vBulletin 3.6.6).
Database error in vBulletin 3.6.6:
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
An other small bug report: when you use the "Delete All of a Users Thanks" feature and enter the user id of a deleted user, you get a database error (vBulletin 3.6.6).
When you delete a user, all his thanks should get deleted also.
I just uploaded a fix in the first post for someone who does not want to do the file edit and still fix the vb3.6.7 bug.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.