The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Post Thank You Hack Details »» | |||||||||||||||||||||||||
vB 3.7 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=165673
vB 4.0 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=231666 Post Thank You Hack 7.4 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:
Updates: Version 7.0 (12/20/07):
Version 7.1 (12/24/07):
Version 7.2 (01/24/08):
Version 7.3 (03/15/08):
Version 7.4 (03/21/08):
Please post your comments or suggestions for this hack. I read ALL posts. MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released. Pictures:
Supporters / CoAuthors Show Your Support
|
Comments |
#1272
|
|||||||||
|
|||||||||
Quote:
Quote:
Quote:
$template_hook[postbit_controls] This one is for the button ^^ $template_hook[postbit_end] This one puts the box table with who has thanked $template_hook[postbit_userinfo_right] This one is for the info (number or thanks etc) Quote:
Quote:
Quote:
2? There is, but is a bit complicated (not really, but it involves a cuple of steps, I'll explain them tomorrow 3? In order to have the thanks button on the left, move hte position of the hook $template_hook[postbit_controls]From its current position to just bellow <!-- controls --> Quote:
Quote:
Have you checked the database to see if the fields have any info in then or the old 3.5 ones are still in there somewhere? (PS sorry about grammar and spelling) |
#1273
|
|||
|
|||
Ok, I have ran version 5.3 for a long time, and yesterday I used the "Update Post Thanks Post Amount" option for the counters. It was taking a looong time, about 2 hours, so I just closed my server window.
Now when I tried to backup my database I got this error: Quote:
Any ideas how to fix it? |
#1274
|
|||
|
|||
<a href="http://www.yoursitename.com/forum/search.php?do=findallthanks" target="_blank">http://www.yoursitename.com/forum/se...=findallthanks</a>
dosnt work on latest Post Thank You Hack. what will be the code now for to find all thanks? |
#1275
|
|||
|
|||
Quote:
|
#1276
|
||||
|
||||
Quote:
Thank you very much. What I did is ... PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Thanks once again NolF. |
#1277
|
|||
|
|||
Installed today and working well - only one glitch - I get the thanked message twice - above and below the user profile (see attached).
Any ideas on how to fix? |
#1278
|
|||
|
|||
One more query from me -
Is there an easy way to remove the Thanks: 0 & Thanked 0 Times in 0 Posts? Seeing as this is fairly fresh on my board and there are a lot of users who don't actually deserve to have 0 thanks in their postbit profile, I'd like to hide the counts until the system is better established, just showing the thanks in the posts themselves for now. Cheers. |
#1279
|
||||
|
||||
I think you put $template_hook[postbit_userinfo_right] hook twice in your postbit_legay or one already exist. Look for this hook and remove one if you've two.
|
#1280
|
||||||||
|
||||||||
Quote:
Quote:
Quote:
<if condition="$bbuserinfo[usergroupid] == 6"> (in order for ONLY admins to be able to see it) and put </if> at the very end. That should do the trick, otherwise, just delete the whole content of the template, and when you want to show it again, just revert it ^^. Quote:
Quote:
Simply go to post_thanks_postbit_legacy find <div style="padding:$stylevar[cellpadding]px 0px 0px 0px"> and remplace the highlighted with 0 you will get <div style="padding:0px 0px 0px 0px"> as result ^^. Why? if you go to all style setting you will find one which says "Table Cell Padding (pixels) and its value is 6 (by default) therefor 6 pixels spacing above ^^ Quote:
I'm not a database expert (I wish I knew more) but this line doesn't look right to me SHOW CREATE TABLE post_thanks; SHOW and create? I know create table makes a table called that but then also show?. Besides if you already have a table called that I don't think you can recreate it... And also if you are doing a backup why would it be creating a existing table? Lets wait for the experts to explain, but from the looks of it, the forum seems fine. |
#1281
|
|||
|
|||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|