Quote:
Originally Posted by tekguru
Quote:
Originally Posted by Dotara
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.
|
Installed today and working well - only one glitch - I get the thanked message twice - above and below the user profile (see attached).
|
The
name of the upper hook is
wrong, it should be called
$template_hook[postbit_userinfo_left]
Quote:
Originally Posted by Dotara
And now this hack is working just fine and looks like the attached image in my forum.
Thanks once again NolF.
|
Your welcome ^^
Quote:
Originally Posted by PugWD
Is there an easy way to remove the Thanks: 0 & Thanked 0 Times in 0 Posts?
|
Yes, go to the template called
post_thanks_postbit_info and put at the very begining
<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:
Originally Posted by murrtex
http://www.yoursitename.com/forum/se...=findallthanks
dosnt work on latest Post Thank You Hack.
what will be the code now for to find all thanks?
|
http://www.yoursite.com/post_thanks....=findallthanks is the new code ^^ the difference is that it now uses post_thanks.php to do the search instead of search.php
Quote:
Originally Posted by NolF
Quote:
Originally Posted by PugWD
Is there a way to remove the gap between the Thanks box and the post it applies to?
|
2? There is, but is a bit complicated (not really, but it involves a cuple of steps, I'll explain them tomorrow
|
OK, seems it was way easier that I had imagined ^^
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:
Originally Posted by vivamexico55
Did I just ++++ up my database?
|
IF leforo.com is your site, it looks like it is working, so I don't think you have badly screwed your database.
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.