Quote:
Originally Posted by elsa23
|
I tried to implement DBTech's Advanced Post Thanks Like into this postbit. I tried my best and thats the result:
I don't know how to add hover effect, which is used for all the other controls, but i hope someone else know how
Edit following template: dbtech_thanks_postbit_entries_actionbit
Replace everything with that:
Code:
<span class="dbtech-thanks-button-control fa-ikon fa-ikon-sinir modera-ikon post_thanks_button" data-postid="{vb:var post.postid}" data-button="{vb:raw button.varname}" style="height:26px;" >
<a href="javascript://" <vb:if condition="$button['canclick']"> border-right: 1px solid rgba(127, 127, 127, 0.3); name="dbtech_thanks_button" data-postid="{vb:var post.postid}" data-button="{vb:raw button.varname}"</vb:if> style="background:url({vb:raw button.buttonimage}) no-repeat scroll transparent !important; height:26px; margin:0; padding:0 0 0 20px; vertical-align:middle;<vb:if condition="!$button['canclick']">cursor:default;</vb:if><vb:if condition="!$show['thanks_posfix']">padding-{vb:stylevar right}:4px;</vb:if>" title="{vb:raw button.title}">
<vb:if condition="!$vboptions['dbtech_thanks_notext'] AND $button['canclick']"> {vb:raw phrase}</vb:if>
</a>
<vb:if condition="$vboptions['dbtech_thanks_cloud_displaystyle'] == 2">
<span class="dbtech-thanks-bubble-flyout">
<!--<i></i>
<u></u>-->
<span class="dbtech-thanks-bubble-content clickcount" data-button="{vb:var button.varname}" data-postid="{vb:var post.postid}">{vb:number {vb:raw button.clickcount}}</span>
</span>
</vb:if>
</span>
If somebody can improve it, feel free to share it with us