![]() |
I would like to move the Thanked users box below the signature. Right now its below the post, I think it would look much cleaner inside the posts, below the signature.
Does anyone know how to do this? I am running vB 4.1.4. |
Quote:
https://vborg.vbsupport.ru/showthread.php?p=2521457 Edit the .xml, scroll to find (around line 206): Code:
$templater = vB_Template::create('post_thanks_box'); Code:
$template_hook['postbit_end'] .= $templater->render(); Code:
$template_hook['postbit_signature_end'] .= $templater->render(); Edit: Also not sure if it makes a difference, perhaps on the line in the .xml file being 206 or not lol but I was referencing a change to the .xml file from this post: https://vborg.vbsupport.ru/showthrea...50#post2249550 the one w/ the search fix included. |
Quote:
|
Use an if condition. If sig off use $template_hook['postbit_end'] .= $templater->render(); else $template_hook['postbit_signature_end'] .= $templater->render();
|
No don't use conditionals, the easiest way is to do this.
Edit the .xml, scroll to find (around line 206): Code:
$templater = vB_Template::create('post_thanks_box'); Code:
$template_hook['postbit_end'] .= $templater->render(); Code:
$show['post_thanks_box'] = $templater->render(); Code:
{vb:raw template_hook.postbit_signature_end} Code:
{vb:raw show.post_thanks_box} |
The thanks hack on vB looks very nice, does anyone know if it's the same hack? Thanks!
|
No the thanks hack on vB.org is the reputations system, modified to act like a thanks. :)
|
Quote:
|
Because every time you click on a like, for someones post, it adds to their reputation. :)
|
And where in members profile does it show this info as I don't see it in mine on here unless you see it because of the group you are in
|
I believe it only shows on the memberlist, https://vborg.vbsupport.ru/memberlis...putation&pp=25
|
I see but even with that info there is no way to know it goes up when members click the like button on here unless an admin told you it does that. What does the rep even do to me it does nothing even on my own site
|
Well that is just the way it was coded. :)
|
So I just installed Force HSS's version and it works great on my 4.2.2. I've tried searching the thread and it's just so hard to find the answer to this. I just want to move the Thanks button itself from the far left over next to the Post and Reply buttons on the right and I just can't seem to get it to work. I know it should be easy to do. Any help would be great! Thanks.
|
Quote:
|
Quote:
|
Well I actually figured it out somehow. Seems to be right, so I'm happy. :)
|
Good you worked it out if you can post what you changed in case others need the info
|
This mod has been working fine for the last year and I love that it works with tapatalk. I looked through the thread and wasn't able to find this. I was wondering how I can go about editing the text that says "Thanked X Times in X Posts" in postbit legacy
I wanted to shorten it to just "Thanked X Times" because it's stretching out the width of the postbit box since my members thank a lot. Tyia for any help. |
Quote:
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> I'm getting an error. Can you help me pls @ForceHSS |
Check error file and post the error
|
Quote:
Thanks @ForceHSS for the fixes. |
thank you very much
|
|
Someone has received a lot of thanks..
|
what can i do now?
how is it possible to get the Value "4.294.967.295 " (UINT 32 Bit) ---> Decimal Value "-1" for a Thanks? |
how to make the users only say thanks based on how much thanks they have !? I mean If a member have 10 thanks then he thank someone's post he lose 1 thank , so he end up with 9 thanks and the other one will have 1 thanks which he can use to thank someone else.
|
That will not happen with this mod, as the developer has not been on in almost five years.
But if you were to do such a thing, where would someone get a thank to be able to thank someone else? Where would this thank be removed from, which post? That is way to complicated of a system to try and integrate into this mod. |
Quote:
|
Yeah that is way to complicated to do with this mod. I am sure you could pay someone, and they may be able to code something. But I still don't see where the thanks will get taken from, as it is assigned to a post. So you would have to basicaly un thank a post in order to take a thanks away.
|
Quote:
|
Not that I ever remember coming across.
|
Quote:
|
I don't do paid work. You can post a request here, Requests for Paid Services just make sure you read the stickie threads in that forum before hiring someone. :)
|
The following dependencies were not met:
This product is not compatible with version 4.2.1 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater) why is not working on the 4.2.1 ? |
You can remove the version dependencies in the xml, it's probably just been left like that as the real author hasn't been around for ages.
Are you using the correct one? https://vborg.vbsupport.ru/showthrea...50#post2249550 |
Any idea how to make this NOT visible to guests?
|
just put the button in a conditional something like <vb:if condition="$show['member']"> if you want to do it for specific usergroups then wrap the button in <vb:if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"> where 1,2 and 3 are the usergroups that CAN see it.
|
Will this work with vBulletin 5.x ? If not. Is there a similar mod for vBulletin 5?
|
All times are GMT. The time now is 01:55 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:
|