Thank you really chuffed with this.....
|
Quote:
https://vborg.vbsupport.ru/showpost....postcount=1948 |
Quote:
Nevermind,... FOUND IT !! https://vborg.vbsupport.ru/showpost....postcount=1948 --------------- Added [DATE]1362454549[/DATE] at [TIME]1362454549[/TIME] --------------- OK, have this looking great now inside my post box above the signature area. Does anybody know of how I can force it down to the bottom to reside just above my siggy area? Just doesnt look right located all the way up under the post text, with a big space below between the siggy. |
OK,..figured out how to force to bottom of post box right above siggy,.. in postbit legacy template
find Code:
<vb:if condition="$show['postedited'] || $post['signature']"> Code:
<div class="after_content">{vb:raw template_hook.postbit_messagearea_end}</div> --------------- Added [DATE]1362527876[/DATE] at [TIME]1362527876[/TIME] --------------- Quote:
|
I'd like to get an answer to the white space issue mentioned above please :)
|
Please? :) anyone?
|
Have you turned on the template naming in general options in admincp and then looked at the sorce code to see what is being used there?, it could be a <br /> tag or padding...etc in css.
|
My version is 4.2.0. The Post Thank You Hack version is 7.8.4. I have not changed "Thanks" to "Like", but I've been trying to get the Thanks box to appear inside of the post bodies. I've however only succeeded in getting it to disappear completely. When I reverse my code changes the box reappears but it's of course not within the post bodies. It's back between the posts, since everything has been reverted.
I'd very much appreciate it if someone could tell me where I'm going wrong. Below are the changes I've been making, after which the box just goes away. I change the contents of post_thanks_box to: Code:
<div <vb:if condition="!$post_thanks_box == 1"> style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin: In postbit_display_complete I change this: Code:
$template_hook['postbit_end'] .= $templater->render(); to this: Code:
$template_hook['postbit_messagearea_end'] .= $templater->render(); and in postpit_legacy I change this: Code:
<div class="postbody"> to this: Code:
<div class="postbody"> And there's apparently no postbit_display_start in this version so I can't modify that. But why am I not able to move the box into the post body? What am I missing? Thanks in advance. |
It would be very nice if someone could provide an adaptation of the modifications herein to function on version 4.2.0, both for the 'thanks' to 'likes' part and for the migration of the thanks/likes box into the message body part. The code within some of the 4.2.0 templates is apparently different from that in previous releases of version 4.
Edit: As far as changing 'Thanks' to 'Likes', it seems that simply doing the phrase search and replace for each of the named phrases in post #1, in addition to changing post_thanks_thanks from 'Thanks' to 'Like' (for the button label), did the trick for me. I only hope I'm not going to experience any complications without having done anything else. One problem I've already noticed is that the 'Thanks' stats field is now labeled 'Like' as opposed to 'Likes'. But if I change the text in the post_thanks_thanks phrase to 'Likes', then the button label also changes to 'Likes' when it should be 'Like'. Addendum: I've fixed it. I just created a post_thanks_like phrase containing the text 'Like' and then changed the post_thanks_thanks reference (in the post_thanks_button template) to post_thanks_like. Next, I changed the text in post_thanks_thanks back to 'Likes' and everything now displays correctly. |
Possible??
Quote:
|
After much study and trepidation, I partially installed this. I was afraid to go the full monty and kept the phrases as they were, and also did not do the template modifications to postbit_legacy since mine is highly modified as it is and I didn't want to take a chance on messing it up.
I also kept the same thanks buttons, opting to point to those instead of new images for the "like" button. Installed this way in three of my most used styles - looks great, works great and really cleans up postbit compared to the standard way this was handled in the original "post thanks" Mod. Thanks BoP5! |
I have already done all of this on vB 4.2.0. All "Thanks" phrases changed to "Likes" and the thanks box inside the post at the bottom. It is simple and pretty straight forward.
--------------- Added [DATE]1383147381[/DATE] at [TIME]1383147381[/TIME] --------------- Quote:
Code:
{vb:raw template_hook.postbit_messagearea_end} |
I went the rest of the way - everything except changing the phrases. It's excellent, really classes up the postbit.
https://vborg.vbsupport.ru/external/2013/11/20.jpg |
Nice Max. Want to share your templates for others? Looks like you done a better job than I did.
|
Quote:
I was afraid to edit "postbit_legacy" because mine is highly customized, with the collapsible "Additional Info" bar that hides user stats and reputation - stolen from the native vBulletin "forum rules" bit and repurposed... Plus alot of other little tweaks here and there. But saving the entire template in a text file gave me the confidence that I could readily revert any bad changes. There's a good version of that collapsible feature HERE if you want to look it over and maybe try it. I had repurposed the native bit for my use, before finding this one. |
Quote:
https://vborg.vbsupport.ru/external/2013/11/12.jpg The "thumbs up" icon is the "Like" button. |
Quote:
HTML Code:
$template_hook[postbit_start] Well... With about two hours of help from ozzy47... It's clear this cannot be done with my postbit_legacy template. Thank you ozzy for the great effort though. |
Per Ozzy47 however - he solved another issue this has with Firefox browser and styles that use border pinstriping for the posts? The edit to postbit_legacy was breaking the border, as in the image below where you see the cursor and in the post above. This break does not appear however in chrome or even IE.
https://vborg.vbsupport.ru/external/2013/12/45.jpg To fix this Find in postbit_legacy: HTML Code:
<tr> HTML Code:
<tr> |
Hi, I have a fairly vanilla (no real hacks/mods installed right now) install of vB 4.2.2 PL1. It uses default / official styles. We have never had a likes / thanks system installed.
I want to end up with a Like system (not thanks), that works with Tapatalk. It looks like this hack in this thread, is the way to go, but I was hoping for a bit more guidance from someone familiar with this variant? The OP links to the latest version of the "Post Thanks" mod, but it's the one for vB 3.x. There is a 4.x version, here: https://vborg.vbsupport.ru/showthread.php?t=231666 But in that OP they note it's not current for the latest version of vB 4.x. So they link to these two posts, which have unofficial versions of the Post Thanks mod: https://vborg.vbsupport.ru/showpost....postcount=1941 and https://vborg.vbsupport.ru/showthrea...50#post2249550 I want to try and keep this as simple as possible. When we were vB 3.x we were using custom / premium Styles, along with lots of mods and hacks, and our code became very spaghetti and was absolute hell to try and keep up to date when vB updated, and trace problems, etc. What is the best package to install, for this mod, for Post thanks, for vB 4.2.2? Simplest/easiest? Is there a master list of instructions for current vB version anywhere? I appreciate any assistance in advance. |
Has anyone had success at getting this show on the "postbit" template using FF?
Shows without issue on postbit_legacy using FF. I have tried a few changes without luck. Would you mind sharing what you did to get this to show on postbit using FF. --------------- Added [DATE]1402058347[/DATE] at [TIME]1402058347[/TIME] --------------- Never mind.... It was an issue with a custom template... fixed |
Is there any way I could not show the usernames of all who have thanked..and instead just show the number of people who liked it.....ex: 6 liked this
could someone help me with this pls Thx in advance arr |
1 Attachment(s)
Here is my custom "Like" box.
|
@Black Snow Please Share your Like Box
|
Quote:
:D |
Quote:
Quote:
|
Okay very nice
|
Quote:
|
How come there are "Likes" on this forum, but I don't see a "like" button?
Duh! Thanks tbworld. I totally overlooked that area. |
On the right of the screen on every post there is a heart in the message header. Click the heart icon. :)
|
have totally re installed the product but will try again now... let me do this, i'll get back to you... thank you
|
Has anyone been able to integrate this hack with vB's notification system? So for example, every time a user receives a "thanks" or "thumbs up" they'd receive a notification just like they would if they received, say, a VM? If so, how was this accomplished?
|
|
Quote:
|
OK, maybe I am a little late in this, but I've installed it, like it but I can't make the box move inside the post area, no matter what I tried.
I can make it move inside but: - If I put it below the signature, then all the buttons at the bottom of the post get mangled. - If I put it above the signature, the signature doesn't show and the buttons get mangled again. - If I put it above the post, everything disappears, and the buttons get screwed up again. I am using vB 4.2.2 and the postbit (not postbit_legacy) template. Ideas? --------------- Added [DATE]1441621426[/DATE] at [TIME]1441621426[/TIME] --------------- OK, I've managed to solve the issue I had with this hack, or at least, I've managed to move the statistics box inside the postbit area, below the signature. The offending part, was the post_thanks_box template. As it was, when I installed the hack, it looked like this: Code:
<li class="postbit<vb:if condition="$vboptions['legacypostbit']">legacy</vb:if> postbitim" id="post_thanks_box_{vb:raw post.postid}"<vb:if condition="!$post_thanks_box == 1"> style="display:none"</vb:if>> 1. Change your post_thanks_box template, to: Code:
<div class="postbit<vb:if condition="$vboptions['legacypostbit']">legacy</vb:if> postbitim" id="post_thanks_box_{vb:raw post.postid}"<vb:if condition="!$post_thanks_box == 1"> style="display:none"</vb:if>> Code:
require_once(DIR . '/includes/functions_post_thanks.php'); Code:
<div style="background-color: #E1E4F3; border: 2px ridge #7BBA99; ; border-width: 2px 2px 2px 2px; padding: 2px; width:100%; margin: 0px auto 0px auto; margin-top:auto; margin-bottom:0px;"> Code:
<h5 class="subsubsectionhead">{vb:rawphrase post_thanks_total_thanks}</h5> I hope this helps some people here. |
Using the hack from post #35, I'm having a few issues:
1) I click like, then "remove this like", and the page refreshes saying: "user, you do not have permission to access this page. This could be due to one of several reasons:" 2) Also getting a weird box (I think for the collapse, but that is turned off and it still shows). What's the best way to fix that? https://www.dropbox.com/s/sk6hcn8789...58.45.png?dl=0 3) When I click "thanks" on a post with other thanks, and then remove my thanks, it collapses the box with other likes so I can't see them until I refresh the page. Any help resolving this would be appreciated. Thanks. |
All times are GMT. The time now is 07:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|