![]() |
^^^^
Thanks dartho for the above info; can the vBSEO Like system be added in the same manner? |
Quote:
|
Quote:
|
Quote:
anyway updated to vb4 would be I guess (below) but still don't work post_thanks_box Code:
<div class="windowbg" id="post_thanks_box_{vb:raw post.postid}"> Code:
<a id="btn" href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&p={vb:raw post.postid}&securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give({vb:raw post.postid}, <vb:if condition="$vboptions[post_groans_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="post_thanks_button">{vb:rawphrase post_thanks_thanks}</a> post_thanks_postbit Code:
<vb:if condition="$post['post_thanks_amount'] == 1"> Code:
<img src="$stylevar[imgdir_misc]/moderated_small.gif" alt="$vbphrase[moderated_post]" border="0" /> Code:
{vb:raw template_hook.postbit_controls} :confused: |
ah - sorry, I did that under 3.8.7 as that's what I use :)
I will have look a tthe vb4 vesion |
Should be able to get something up tonight for this...
|
Dartho, if you have the time and inclination, it would be amazing if you could have a look at adding this thanks hack for vb4 ... https://vborg.vbsupport.ru/showthread.php?t=243510
|
Integrating Abe1's post thanks add-on into the lightweight style.
replace the following templates with the code provided (in the lightweight style only!!) post_thanks_box Code:
<if condition="$post_thanks_box"><div class="windowbg" id="post_thanks_box_$post[postid]">$post_thanks_box</div></if> Code:
<a id="btn" href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&p={vb:raw post.postid}&securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give({vb:raw post.postid}, <vb:if condition="$vboptions[post_groan_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="post_thanks_button">{vb:rawphrase post_thanks_thanks}</a> Code:
<vb:if condition="$post['post_thanks_amount'] == 1"> Edit both the postbit & postbit_legacy templates as follows Search for: Code:
<vb:if condition="$post['editlink']"><a id="btn" href="{vb:raw post.editlink}">{vb:rawphrase edit}</a></vb:if> Code:
{vb:raw template_hook.postbit_controls} Code:
{vb:raw template_hook.postbit_end} |
Just noticed something else with the style in general - my last update only included updates to the postbit_legacy template which should have been made to both postbit and postbit_legacy (they are meant to be identical). I suggest overwriting the postbit template copying with the contents of the postbit_legacy template.
|
Quote:
I have dbtech_bookmark and thread system and like you said this will bring on other mods now showing a image but not working from what I can tell this is the code ..in template dbtech_bookmark_post whats do I change ..and will there be other changes to other templates thanks again Code:
<img name="newpostbookmarklink" data-hasbookmarked="{vb:var hasBookmarked}" data-postid="{vb:var post.postid}" data-bookmark="dbtech/bookmark/images/post.png" data-bookmarked="dbtech/bookmark/images/delete.png" src="<vb:if condition="$hasBookmarked">dbtech/bookmark/images/delete.png<vb:else />dbtech/bookmark/images/post.png</vb:if>" alt="{vb:raw phrase}" style="cursor:pointer; vertical-align:middle;" /> |
All times are GMT. The time now is 09:11 PM. |
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:
|