The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
post thanks 7.7 button problom very detailed
ok so i have a very custom skin im working on, and my buttons dont use images i use css. i have my buttons exactally how i like them but when i install post thanks they mess up i came up with a fix for this issue by removing
Code:
$template_hook[postbit_controls] i cant figure out the proper if statements to place around the button, i searched Code:
includes/functions_post_thanks.php so unless anyone could help me come up with the proper if statements to place around the button heres the other thing i did, i left Code:
]$template_hook[postbit_controls] Code:
Post Thank You Hack Templates>post_thanks_button the thing with my buttons are theyre cant be any spaces ie the code has to be all one line with every button together or else they all have spaces here is my postbit buttons code: Code:
<!-- controls --> <if condition="$post['editlink']"><img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" /><a rel="nofollow" class="left pill button" href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><span class="edit icon"></span>Edit</a></if>$template_hook[postbit_controls]<if condition="$post['forwardlink']"><a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a></if><if condition="$post['replylink']"><a class="middle pill button" href="$post[replylink]" rel="nofollow"><span class="quote icon"></span>Quote</a></if><!--<if condition="$show['multiquote_post']"><a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a></if>--><if condition="$show['quickreply'] AND !$show['threadedmode']"><a class="right pill button" href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><span class="kr_reply icon"></span>reply</a></if><if condition="$show['moderated']"><img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /></if><if condition="$show['spam']"><img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" /></if><if condition="$show['deletedpost']"><if condition="$show['managepost']"><a href="postings.php?$session[sessionurl]do=managepost&p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a><else /><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" /></if></if><if condition="$show['redcard']"><a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a><else /><if condition="$show['yellowcard']"><a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a></if></if> <!-- / controls --> note Code:
$template_hook[postbit_controls] here is my thanks button code Code:
<a class="middle pill button" href="post_thanks.php?$session[sessionurl]do=post_thanks_add&p=$post[postid]&securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_thanks_image == 'none'">style="display:none"</if> rel="nofollow"><span class="post_thanks icon"></span>Thanks</a> sorry if this was too much i just figured the more details i could provide the better/faster responces i would get excuse the spelling im a fast typer and dont like to look back |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|