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:
|
All times are GMT. The time now is 07:11 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:
|