Status
Not open for further replies.

Nekronata

Customer
So here what it is atm:

thanks1.png



and here Photoshoped, what I would like it to be (so its more visible, that it belongs to that Post)

thanks2.png
 
That's sadly not possible due to the way the template hooks work. However, you as a Pro owner can choose to attach it to the controls bar next to the report button :)

The actual thanks themselves will still be displayed in the bar below, though.

In the next major feature update we will look into integrating it into the post beneath the signatures :)
 
I had that Pro thing before on, and it caused problems on smaller Screens. Also no solution to edit the Post Template and deactivate the hook?
 
Basically a good thing (thats why i bought Postbit Tabs :P), but I don't really mind Template edits for my self. So if you guys have a way (you can also PM, if you don't want others to mess up there Forums :P), would save me a night of fail and try :P.
 
Ok, got it to work, exactly as in my photoshoped Screenshot. Hope you Guys don't mind that I post it here (if yes, just delete it):



add to additional.css :

Code:
.postbit, .postbitlegacy, .eventbit {
	margin-bottom: 0;
}

.dbthank {
	margin-bottom: {vb:stylevar padding};
	border-top: {vb:stylevar postbithead_border}
}


new dbtech_thanks_postbit_entries Template (basicly just the posthead removed, and the small CSS added)

Code:
<vb:if condition="$show['dbtech_thanks_area']">
<li class="postbitlegacy postbitim postcontainer dbthank">
	<div class="postdetails" id="dbtech_thanks_entries_{vb:var post.postid}">
		{vb:raw entries}
	</div>

	<vb:if condition="$actions">
	<div class="postfoot">
		<div class="textcontrols">
			<span class="postlinking">
				{vb:raw actions}
			</span>
		</div>
	</div>
	</vb:if>
	
	<script type="text/javascript">
	<!-- 
	var Thanks{vb:var post.postid} = new Thanks_Obj();
	Thanks{vb:var post.postid}.init('{vb:var post.postid}');
	// -->
	</script>
</li>
</vb:if>
 
ok, found a few small Bugs and fixed them:

new additional.css (its also less Code as before)
Code:
.dbthank {
	margin-top: -{vb:stylevar padding};
	border-top: {vb:stylevar postbithead_border};
}
 
That's sadly not possible due to the way the template hooks work. However, you as a Pro owner can choose to attach it to the controls bar next to the report button :)

The actual thanks themselves will still be displayed in the bar below, though.

In the next major feature update we will look into integrating it into the post beneath the signatures :)

I would greatly appreciate this addition.


Having the responses placed in the bottom of the post, and the buttons under the avatar would greatly clean up this up within our theme.


Any idea if and when this may be added?
 
No worries!


I can understand how that would be an issue.


All the same, I would definitely like this feature, if it were made available.
 
I would greatly appreciate this addition.


Having the responses placed in the bottom of the post, and the buttons under the avatar would greatly clean up this up within our theme.


Any idea if and when this may be added?

It's likely to be in the next version, but APTL isn't on the radar to be upgraded anytime in the near future.

Cosmic
 
Status
Not open for further replies.

Legacy Advanced Post Thanks / Like

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
4,049
Customer rating
5.00 star(s) 1 ratings
Back
Top