![]() |
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) |
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? |
<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? |
Quote:
|
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. |
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? |
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. :) |
Quote:
|
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. |
Quote:
|
All times are GMT. The time now is 03:16 AM. |
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:
|