Quote:
Originally Posted by class101
The variable to control de button is $template_hook[postbit_controls]
me I have it setup that way in my postbit template:
Code:
div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
$template_hook[postbit_controls]
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
This put it to the left of the edit button instead of to the full right which is not a really visible position
|
Hi, Thanks for your advice, worked a treat putting the code below instead of above. My only other problem is with:
Quote:
find:
--------------------------------------------------------------------
<!-- post $post[postid] popup menu -->
--------------------------------------------------------------------
place BEFORE:
--------------------------------------------------------------------
$template_hook[postbit_end]
--------------------------------------------------------------------
|
By doing this it ends up looking massive as shown in the attatchement. Ive tried moving the code around but without any luck. Heres a section of my code before and after:
Quote:
<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 -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
|
Ive removed it for the moment until hopefully im able to get this bit sorted. So close to getting it working!
Any help really is greatly appreciated.