![]() |
Quote:
Ok you say then in the "Postbit" template: Replace: <!-- post thank you hack --> $post_thanks <!-- end post thank you hack --> with <!-- post thank you hack --> <if condition="$post[postcount]==1"><a href="newreply.php?do=post_thanks&p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if> <!-- end post thank you hack --> right? Leave Postbit Legacy alone? |
LOL
Replace: <!-- post thank you hack --> <a href="newreply.php?do=post_thanks&p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a> <!-- end post thank you hack --> with <!-- post thank you hack --> <if condition="$post[postcount]==1"><a href="newreply.php?do=post_thanks&p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if> <!-- end post thank you hack --> you can leave legacy alone if you don't use it. |
Quote:
Take a look what this does. Does not remove buttons and ads one between posts: http://www.yes-its-free.com/forums/s...ad.php?t=20918 And I did not even use the "thank you button for this one. Let me know when you have seen this so I can revert. |
Quote:
|
installed hack when i click on a Thank u it just goes to a blank page and does nothing more What could be wrong.
|
Quote:
|
hi mate sorry for delay in reply :ermm:
please find attached my postbit_legacy after edit hopefully you can see where ive gone wrong :disappointed: cheers mate dean |
Version 0.2 Released:
|
Quote:
|
*** Update!
I did uninstall, applied the new version 2 and it works. I would like to see the button disapear after we thanked the person though. I have one question, can this applied to 1 forum in perticular? |
Quote:
|
Quote:
|
Version 0.3 (11/29/04):
|
Hmmm I did the upgrade everything looks fine in admin CP etc.
thank you buttons appear where there suppose to and on the first post only, however there is no longer a "user has thanked you" line placed under the thread :( Should I uninstall and re-install again? |
Quote:
|
Just upgraded from 0.2 to 0.3 with no problems .. thanks for the support Abe1
|
*** Update
I uninstalled completely and re-installed everything is working well now. nice hack [click installed] |
Quote:
|
Version 0.4 (12/06/04):
|
Update done as per instructions from 03 to 04
When updating in AdminCP it just brings up my main page instead of admin update scrren. Also, not when you use thank you button, it goes through but does not create a thatnk you thread. www.yes-its-free.com |
Quote:
|
All files uploaded correctly. INstall went through with no problems.
As mentioned, when selecting: "forums/admincp/post_thanks_acp.php" it goes to the main pageof forum. I think I sent you my log in info last week. Do you still have it? Appreciate it if you can fix it. My peeps love this hack! |
Quote:
After, the link should work and update the 2 counters there. |
Bummer, sorry for my ignorance.
I tried to run it again and am getting errors. Can you please take a look at it? I have gotta take my wife to the Dr and hate to have my system all a wreck. |
Quote:
It wasn't fully supporrting if you use a table prefex. Also, while testing the hack out, I added a thanks under your name to post 145570. |
Thank you!
Question, I have been having a lot of trouble with hacks of late that do not support prefixes in MySQL. Is this where things are heading? Should I be doing something different? |
Quote:
|
Sweet hack - Easy to install, works right out of the box with my v3.03
|
Version 0.5 (12/13/04):
On List for a Future Version:
MAKE SURE YOU UPDATE THE POST THANKS COUNTS AFTER UPDATE! |
I just updated the zip. There was a small problem with the second 2 update counters. Just re-upload 'post_thanks_acp.php'. After, update the second 2 counters in the ACP.
|
I just updated the zip. Download and re-upload post_thanks.php into your root directory. There is a bug in the counting.
Update the following counters after: First - Update Post Thanks Count Second - Update User Got Post Thanks Count |
Do users post-count increment when they click on "thanks" ?
How long is this hack expected to remain at Beta status? It makes me a little reluctant to install in case something falls over ;) -snake |
Quote:
|
Quote:
I don't know how much longer it will be in beta but I hope to have it out by new years. |
Version 0.6 (12/21/04):
On List for a Future Version:
Make sure you edit the new settings. |
Database error in vBulletin 3.0.3:
Invalid SQL: INSERT INTO settinggroup VALUES ('post_thanks', 1234, 0) mysql error: Duplicate entry 'post_thanks' for key 1 mysql error number: 1062 Date: Wednesday 22nd of December 2004 04:27:33 PM Script: http://www.website.us/forum/admincp/...ade-0-6&step=1 Referer: http://www.website.us/forum/admincp/...do=upgrade-0-6 Just started upgrading from 0.2. to 0.6 fnr recived this |
Quote:
|
ok
i'l try to uninstall. by the way. may i JUST uninstall it without removing additions in templates and files ? or i have to REMOVE WHOLE changes |
Quote:
|
okay.... very thanks
|
All times are GMT. The time now is 10:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|