The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Signature forced to bottom (postbit_legacy) Details »» | |||||||||||||||||||||||||||
Signature forced to bottom (postbit_legacy)
Developer Last Online: Feb 2013
This mod will force all user's signatures to the bottom of their post. This is helpful if you have custom fields displayed under your avatars. Only 3 code changes are required in the postbit_legacy template. It'll take you about one minute to install this.
I have attached a couple screenshots showing what this mod does. I also have enabled this on my forums and you can see an example there: http://forums.ancientclan.com/ In postbit_legacy, find: Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code:
<if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> Now find: Code:
<!-- / edit note --> </if> </td> </tr> Code:
<tr> <td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]"> <if condition="$post['signature']"> <!-- sig --> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <div valign="bottom"> $post[signature] </div> <!-- / sig --> </if> </td> </tr> Show Your Support
|
Comments |
#52
|
|||
|
|||
any solutions for the problem of the skins that dont have the
Quote:
|
#53
|
|||
|
|||
great mod thx. *installed*
|
#54
|
|||
|
|||
Any way to get it to work for this?
Code:
<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)"> <br /> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="98%" align="center" style="border-bottom-width:0px"> <tr> <td class="alt1" width="30"><img src="$stylevar[imgdir_misc]/verified.gif" width="27" height="32" alt="Verified!" /></td> <td class="alt2"><strong><font size="2" color="#339900">V E R I F I E D</font></strong><br /><font size="1">This message was sent by an official <strong>$vboptions[bbtitle]</strong> staff member. It's contents can be trusted.</font></td> </tr> </table> <br /> </if> <if condition="THIS_SCRIPT != 'private'"> <div class="tcat_top_iefix"> <table class="tcat_big" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr> <td class="tcat_left"></td> <td class="tcat"> <if condition="$post['title']">$post[title]<else />Re: $thread[title]</if> </td> <td class="tcat_right"><img src="$stylevar[imgdir_misc]/skin/spacer.gif" class="spacer" alt="" /></td> </tr> </table> </div> <div class="tborder_big"> <div class="tborder_big_right"> </if> <table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr> <if condition="$show['announcement']"> <td class="thead" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor];font-weight:normal;" colspan="2"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /> <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase> <else /> <td class="thead" colspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor];font-weight:normal;" $post[scrolltothis]> <div style="float: $stylevar[right];"> <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if> <if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align: middle; padding:0px; margin: 0px 0px 0px 5px;" value="$post[checkbox_value]" /> </if> </div> <!-- status icon and date --> <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a> $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if> $post[firstnewinsert] <!-- / status icon and date --> </if> </td> </tr> <tr valign="top"> <td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0; border-bottom: 0; border-top: 0; text-align: center;"> <img src="$stylevar[imgdir_misc]/skin/spacer.gif" style="width: 175px; height: 1px;" alt="" /> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> <if condition="$show['avatar']"> <div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> </if> <div class="smallfont"> <br /> <if condition="$post['joindate']"><div class="postbit_field"><span class="postbit_text">$vbphrase[join_date]:</span> $post[joindate]</div></if> <if condition="$post['field2']"><div class="postbit_field"><span class="postbit_text">$vbphrase[location_perm]:<span> $post[field2]</div></if> <if condition="$post['age']"><div class="postbit_field"><span class="postbit_text">$vbphrase[age]:</span> $post[age]</div></if> <div class="postbit_field"><span class="postbit_text"> $vbphrase[posts]:</span> $post[posts] </div> <!-- Start Post Thank You Hack --> <if condition="$post[userid]"><div class="postbit_field"><span class="postbit_text"> $vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount] <br /> <if condition="$post[post_thanks_thanked_times_on] == 1"><div class="postbit_field"><span class="postbit_text"> $vbphrase[post_thanks_time_post] <else /> <if condition="$post[post_thanks_thanked_posts_on] == 1"><div class="postbit_field"><span class="postbit_text"> <phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase> <else /> <phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase> </if> </if> </if> </div> </div> </div> <!-- End Post Thank You Hack --> <if condition="$post[FIELD_HASBLOG]"><div class="postbit_field"><span class="postbit_text"> <a href="$vboptions[blog_url]/viewblog.php?$session[sessionurl]userid=$post[userid]"> <span style="font-weight:bold; font-size:11px; text-decoration:none;"> <phrase 1="$post[username]"> $vbphrase[blog_visit_x_blog] </phrase> </span></a> </if> <if condition="$show['infraction']"><div class="postbit_field"><span class="postbit_text">$vbphrase[infractions]:</span> $post[warnings]/$post[infractions] ($post[ipoints])</div></if> <if condition="$show['reputation']"><if condition="$show['reppower']"><div class="postbit_field"><span id="reppower_$post[postid]_$post[userid]" class="postbit_text">$vbphrase[reppower]</span>: $post[reppower]</if></div><div class="postbit_field"><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if> <if condition="$post[icqicon] OR $post[aimicon] OR $post[msnicon] OR $post[yahooicon] OR $post[skypeicon]"><div class="postbit_icons">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></if> </div> $post[onlinestatus] <if condition="$show['reputationlink']"> <span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span> <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if> </if> <if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if> $post[iplogged] </td> <if condition="$show['moderated']"> <td class="alt2" id="td_post_$post[postid]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-bottom: 0; width: 100%;"> <else /> <td id="td_post_$post[postid]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-bottom: 0; width: 100%; height: 100%;" class="alt1"> </if> <if condition="$show['messageicon'] OR $post['title']"> <!-- icon and title --> <div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> <if condition="$post['title']"><strong>$post[title]</strong></if> </div> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <!-- / icon and title --> </if> <!-- message --> <div id="post_message_$post[postid]" class="overflow_parent"><div class="overflow_child">$post[message]</div></div> <!-- / message --> <if condition="$show['attachments']"> <!-- attachments --> <div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"> $post[thumbnailattachments] </div> </fieldset> </if> <if condition="$show['imageattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div> </fieldset> </if> <if condition="$show['imageattachmentlink']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[imageattachmentlinks] </table> </fieldset> </if> <if condition="$show['otherattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_files]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[otherattachments] </table> </fieldset> </if> <if condition="$show['moderatedattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attachments_pending_approval]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[moderatedattachments] </table> </fieldset> </if> </div> <!-- / attachments --> </if> <if condition="$post['signature']"> <!-- sig --> __________________ <div class="overflow_parent"><div class="overflow_child"> $post[signature] </div></div> <!-- / sig --> </if> </td> </tr> <tr valign="bottom"> <td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0; border-top: 0; "> </td> <if condition="$show['moderated']"> <td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0; text-align: right; padding: 3px; height: 23px;"> <else /> <td class="alt1" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0; text-align: right; width: 100%; padding: 3px; height: 23px;"> </if> <!-- controls --> <!-- Start Post Thank You Hack --> $post_thanks_button <!-- End Post Thank You Hack --> <if condition="$post['editlink']"> <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" /> <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> </if> <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 href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></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 href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> </if> <if condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> </if> <if condition="$show['deletedpost']"> <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" /> </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 --> </td> </tr> <if condition="$show['postedited']"> <tr> <td class="alt1" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0;" colspan="2"> <!-- edit note --><em class="smallfont"> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> </em><!-- / edit note --> </td> </tr> </if> </table> </div> </div> <div class="tbottom"> <div class="tbottom_left"></div> <div class="tbottom_right"></div> </div> <!-- 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> <if condition="$show['emaillink']"> <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr> </if> <if condition="$show['homepage']"> <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr> </if> <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> <if condition="$post['userid'] AND $show['member']"> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> </if> </table> </div> <!-- / post $post[postid] popup menu --> <!-- Start Post Thank You Hack --> $post_thanks <!-- End Post Thank You Hack --> |
#55
|
|||
|
|||
this was REALLY helpful, thank you SO much, i was looking everywhere and found my solution here. thank you
|
#56
|
|||
|
|||
nice man
|
#57
|
|||
|
|||
[bump] any fix for my problem posted above?
|
#58
|
|||
|
|||
Quote:
|
#59
|
||||
|
||||
OMG THANK YOU!!! been wanting this for this forever!!
(very happy now ) << installed!! |
#60
|
||||
|
||||
Very nice Mod, thank you and clicked install.
|
#61
|
|||
|
|||
The line
HTML Code:
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
Here's my alternative to this hack, with needed fixes: In postbit_legacy, find: HTML Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
HTML Code:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
HTML Code:
$template_hook[postbit_signature_start] <if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> $template_hook[postbit_signature_end] <if condition="$show['postedited']"> <!-- edit note --> <div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <em> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> </em> </div> <!-- / edit note --> </if> </td> </tr> Replace With: HTML Code:
</td> </tr> <tr> <td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]"> $template_hook[postbit_signature_start] <if condition="$post['signature']"> <!-- sig --> <div valign="bottom"> __________________<br /> $post[signature] </div> <!-- / sig --> </if> $template_hook[postbit_signature_end] <if condition="$show['postedited']"> <!-- edit note --> <div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <em> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> </em> </div> <!-- / edit note --> </if> </td> </tr> Sledgstone, could you please update your first post? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|