View Single Post
  #1987  
Old 06-06-2006, 08:41 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sydude
Hi guys. Andrew, I love this hack more and more every day. Thank you again for your wonderful work.

Can someone please help me change the main linkbit template to make everything within the link bit align to the top? See image of what I have now.

Also, maybe in a future version you can give the user the choice of alignment in the cp? Just a thought.

Thanks!

Sy
Hmm... well, i think this is waht you want. Columns with vertical alignment to TOP. :bunny:

OK, i'll wait, thanks Andrew

Code:
<tr id="linkid$linkid">
<td colspan="2">
<fieldset class="fieldset">
<legend>
<strong>
<if condition="$linknew">$linknew</if>
$linktypebit
$linkurljump
</strong>
</legend>
<div style="margin-top:3px">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$linkimg">
<td width="$linkimgsize" align="$stylevar[right]" valign="top">
$linkimgjump
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</td>
<td width="5">&nbsp;</td>
</if>
<td valign="top">
<span class="smallfont">
$linkdesc
<if condition="$showcatname"><br /><br />$vbphrase[ll_cat] $linkothercatsbit<else />
<if condition="$linkshowothercatbit>0"><br /><br />$vbphrase[ll_seealso] $linkothercatsbit</if>
</if>
</span>
</td>
<td width="5">&nbsp;</td>
<td width="30%">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign="top">
<fieldset class="fieldset">
<legend>$linkfavbit $linkeditbit
<if condition="$links_permissions[can_send_tofriend]">
<a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkcatid&amp;linkid=$linkid" target="_blank" title="$vbphrase[ll_sendtofriend]"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[ll_sendtofriend]" border="0" /></a>
</if>
<if condition="$links_permissions[can_report_link] and $linkuserid != $bbuserinfo[userid]"> <if condition="$links_permissions[can_report_link] and $linkuserid != $bbuserinfo[userid]"><a href="$LINKS_SCRIPT.php?action=reportlink&amp;linkid=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if></if>
</legend>
<table width="100%"><tr><td align="$stylevar[right]">
<span class="smallfont">
<if condition="$links_defaults[enable_doi] and $linkdoi">$vbphrase[ll_doi] $linkdoi<br /></if>
<if condition="$links_permissions[can_view_names]">$vbphrase[ll_submitby] <a href="member.php?u=$linkuserid">$linkusername</a><br /></if>
<if condition="$linkmoderate==$LINK_TO_MODERATE and ($links_permissions[can_moderate_links] or $links_permissions[can_moderate_forums])">
[<a href="$LINKS_SCRIPT.php?action=domod&catid=$viewcatid" title="$vbphrase[ll_moderate]">$vbphrase[ll_moderate]</a>]<br />
</if>
$linkdate
<if condition="$links_permissions[can_view_hits]"><br />$vbphrase[ll_hits] $linkhits</if>
<if condition="$linksize"><br />$linksize $vbphrase[ll_kb]</if>
<if condition="!$linkstatus"><br />[$vbphrase[ll_unknown_status]]</if>
<if condition="$links_permissions[can_moderate_links] and $linkstatus==$LINK_HIDDEN"><br />[$vbphrase[ll_hidden]]</if>
<if condition="$links_permissions[can_set_display_order]"><br />$vbphrase[ll_displayorder] $thisorder</if>
<if condition="$linkkeys"><br />$vbphrase[ll_keywords] $linkkeys</if>
</span>
</td>
<if condition="$linkavatar"><td valign="top">$linkavatar</td></if>
</tr></table>
</fieldset>
</td>
</tr>
<if condition="$linkratebit">
<tr>
<td id="ratings$linkid" align="$stylevar[left]">
<if condition="$linkraters"><script type="text/javascript"> vbmenu_register("ratings$linkid"); </script>&nbsp;</if>
<span class="smallfont">
$linkratebit
</span>
</td>
</tr>
</if>
</table>
</td>
</tr>
</table>  
</div>
</fieldset>
</td>
</tr>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01613 seconds
  • Memory Usage 1,792KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete