View Full Version : Signature forced to bottom (postbit_legacy)
Sledgstone
10-12-2006, 10:00 PM
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:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Change to:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Then find:
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
Delete it.
Now find:
<!-- / edit note -->
</if>
</td>
</tr>
Directly underneath add:
<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>
Before: 54617 After: 54618
DJ_aroms
10-13-2006, 02:15 AM
nice mod, thanks. :)
kronikdj
10-13-2006, 04:49 AM
awesome
/me clicks install
canpare
10-13-2006, 09:13 AM
thanks , nice ;)
mhdhallak
10-13-2006, 11:31 AM
AMAZING! Just what I've been looking for. This is how they should've done it from the beginning. Thanks alot. Installed :)
Acido
10-13-2006, 12:58 PM
Excellent!
Thanx for sharing ;)
Kaleem
10-13-2006, 04:44 PM
Great mod Intalled
eNforce
10-13-2006, 05:12 PM
Can I have it completely any of the borders it adds?
<tr>
<td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>" valign="bottom">
<if condition="$post['signature']">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</if>
</td>
</tr>
You can see here:
http://www.areyouserios.com/showthread.php?t=448
tekstylez
10-13-2006, 08:52 PM
very nice
NeitherSparky
10-14-2006, 04:55 AM
Some of my members were asking for this when we first moved from Proboards (on PB the sig is at the bottom so they had gotten used to it). Thanks!
miner
10-14-2006, 08:17 AM
Thank you nice hack...
Sledgstone
10-14-2006, 12:37 PM
Thanks for the nice words everyone. :)
For those of you that have that extra line above your signature, this is because you have cellspacing set to 1 for your main postbit_legacy table. Most people use cellspacing="1" to add that border line inbetween the two main cells of the table and to add the border lines to seperate the online/reputation/etc icons and the edit/quote/etc buttons from their respective cells. As of vb 3.6 there is a border sperating the main cells so you don't need to add any extra code for that one, but for the bottom rows you can still keep those borders by doing the following:
(Before doing this, please look at the screenshots to see the before and after to make sure you like the results and that you still want to do this.)
In postbit_legacy
Find:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">
Replace with:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
Find:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
Replace with:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 1px">
Find:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
Replace with:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 1px">
With cellspacing="1" (Notice the extra line above the sig.) 54666 After these code changes: 54667
Ohiosweetheart
10-14-2006, 11:08 PM
FANTASTIC!!!! Thanks for the great mod!
An attached text file would be good ;)
NeitherSparky
10-16-2006, 01:05 AM
An attached text file would be good ;)
I agree with this.
Also, thank you muchos for the instructions on how to get rid of that stupid line. ;)
As for my users: I presented them with the mod and they said they didn't like it! Said they didn't like the "space" in the middle of the posts. Mind you, when we first moved from Proboards, they were complaining about the space at the BOTTOM of the posts, and they asked me specifically if I could make the sigs go to the bottom. Geez. ;)
Pinky30
10-19-2006, 01:20 PM
Don?t work with the Blue Vision Style from vBDesigns
What must I chance here?
My postbit_legacy Template:
<div class="frbg" $post[scrolltothis]>
<div class="frbgl"></div>
<div class="frbgr"></div>
<div class="fortext" >
<div style="float:right;padding:0;margin:-2px 0 2px 0;">
[ <a href="showthread.php?p=$post[postid]#post$post[postid]"><strong>Diesen Beitrag direkt verlinken</strong></a> ]
<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>
<if condition="$show['announcement']">
<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 />
<!-- status icon and date -->
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date --> </if>
</div>
</div>
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">
<tr valign="top">
<td class="alt2" width="175">
<a name="post$post[postid]"></a>
<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 />
<div class="pibu"><div class="pib"><if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></div></div>
</div>
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</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]">$post[message]</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>
<br />
<fieldset class="fieldset">
<legend><b>Signatur von $post[musername]</b></legend>
$post[signature]<br />
</fieldset>
</div>
<!-- / sig -->
</if>
<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>
<tr>
<td class="alt2" >
$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" align="$stylevar[right]">
<else />
<td class="alt1" align="$stylevar[right]">
</if>
<!-- 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 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>
<a href="cmps_index.php"><img src="$stylevar[imgdir_button]/bportal.gif" alt="$vbphrase[portal]" border="0" /></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>
<a href="#top" onclick="self.scrollTo(0, 0); return false;"><img src="$stylevar[imgdir_button]/btop.gif" alt="$vbphrase[top]" 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>
</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>
<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 -->
thepub
10-19-2006, 04:45 PM
I cannot find the first set of code you are saying to look for in vb3.6.2 postbit legacy. I found it in one style but after carefully reading and searchin, the code is not in my other style :(
|oR|Greg
10-19-2006, 05:15 PM
Well, Thanks for the hack first off, nice idea. However because my board is so heavily modded your code had to have lots of changes. I eventually got it all working, but one thing I did notice. If a user doesn't have a signature, it adds a small empty amount of space between the post and the controls beneath the post. It does this because your hack adds a new row whether or not the user has a signature. To overcome this you can do the following:
Find:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Replace with:
<if condition="$post['signature']">
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<else />
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
</if>
Find:
<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>
Replace with:
<if condition="$post['signature']">
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</td>
</tr>
</if>
thepub
10-19-2006, 06:29 PM
Thanks for the nice words everyone. :)
For those of you that have that extra line above your signature, this is because you have cellspacing set to 1 for your main postbit_legacy table. Most people use cellspacing="1" to add that border line inbetween the two main cells of the table and to add the border lines to seperate the online/reputation/etc icons and the edit/quote/etc buttons from their respective cells. As of vb 3.6 there is a border sperating the main cells so you don't need to add any extra code for that one, but for the bottom rows you can still keep those borders by doing the following:
(Before doing this, please look at the screenshots to see the before and after to make sure you like the results and that you still want to do this.)
In postbit_legacy
Find:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">
Replace with:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
Find:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
Replace with:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 1px">
Find:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
Replace with:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 1px">
With cellspacing="1" (Notice the extra line above the sig.) 54666 After these code changes: 54667
ok I did this and my forum is completely screwed up! Seriously, I have tried to make it normal again and it's not working. my members are freaking out, I'm freaking out and I do not know what to do.
|oR|Greg
10-19-2006, 08:05 PM
Revert your templates pub.
thepub
10-19-2006, 08:34 PM
I did and now my vbplaza is gone and I dont know how to put it in for that template :(
|oR|Greg
10-20-2006, 03:07 PM
Oy, yeah well... by revert I assumed you didn't have other hacks, you should have gone into the template history and compared the 2, and rebuilt the current one minus the changes made by this hack.
Download vbplaza again and go thru the product.xml to see what you're missing for that template, it might take a while, and a lot fo trial and error, but you'll eventually get it. It's just the postbit_legacy so it can't have screwed up plaza too badly.
pascalvisit
10-20-2006, 07:20 PM
i tryed every code in the post and i still have the empty space :(
|oR|Greg
10-21-2006, 03:01 AM
Pascal, I tried all of Sledgstones code as well and I too had the space. I ended up having to customize it for my site because I have so many hacks running.
What his code attempts is continue using cellspacing="1" overall for the template, but to override it in a few spots with the CSS code placement. You'll have to play with your template in order to get it looking right. It IS possible, don't give up. Take a look at mine.
http://www.amacny.com/vb/showthread.php?t=2522 (I'm GTOOOOOH BTW)
Ang3ls
10-21-2006, 05:52 AM
Nice, Thanks for the great mod! :D
pascalvisit
10-21-2006, 08:57 AM
Pascal, I tried all of Sledgstones code as well and I too had the space. I ended up having to customize it for my site because I have so many hacks running.
What his code attempts is continue using cellspacing="1" overall for the template, but to override it in a few spots with the CSS code placement. You'll have to play with your template in order to get it looking right. It IS possible, don't give up. Take a look at mine.
http://www.amacny.com/vb/showthread.php?t=2522 (I'm GTOOOOOH BTW)
Thank you for your answer but when i try to change the styles template, it doesn't appear correctly in the generated source.
BTW, i have nothing installed i try to hack the original (reverted) postbit_legacy so it s probably coz of my style css..
|oR|Greg
10-21-2006, 02:20 PM
What's your site address?
Canis Firebrand
10-23-2006, 01:49 AM
very Nice. I had a similar one installed that was in the 3.5.x section. It looked a bit similar, but it left gaps in the lefthand section with the avatar and all the icons.
this one takes care of that issue.
Nice job!
blacklancer
11-02-2006, 08:07 PM
mine gets all screwed up cuz of rowspan="2" and looks like this :
55444
any help???
DrewzR/T
11-03-2006, 10:29 PM
I also had a different skin so my postbit was jacked. I figured it out. This is all I had for the first edit.
<td class="alt2" width="175">
Then this is what I did to make it work
<td class="alt2" width="175" rowspan="2">
May not help some but hopefully some can use it.
ogameclub
11-04-2006, 05:05 PM
Thanks for useful hack.
thepub
11-16-2006, 06:13 PM
I was able to install this somewhat successfully, but no when typing pm's the pm body box is stretched out side of the style (fixed style and it goes past it on the side)
Netaudio
11-16-2006, 06:39 PM
Hello, Sledgstone
[Hello vbullet.org ... my 1.]
Don?t work with my postbit_legacy Template?!
Can You Help m, please?
<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="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" 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>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- 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 -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$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>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<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>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</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]">$post[message]</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>
<br />
<fieldset class="fieldset">
<legend><b><font color="#DF1818">$post[username]</font>'s Signatur</b></legend>
$post[signature]<br />
</fieldset>
</div>
<!-- / sig -->
</if>
<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>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$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" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- 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 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>
</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>
<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 -->
Flow Fusion
11-17-2006, 01:43 PM
How would I add a text field at the bottom of the signatures? A field for like [fieldx]?
MustangLisa
11-18-2006, 02:57 AM
Fantastic, thanks!!
ripsaw
11-18-2006, 02:58 AM
Doesn´t work with my postbit_legacy Template either?!
Too bad. I'd love to do this.
picardtux
11-18-2006, 07:27 AM
many thX
|oR|Greg
12-11-2006, 02:03 PM
Works great with mine, try my version maybe...
DannyMilner
12-11-2006, 02:50 PM
Thanks for sharing, wanted this for a while
maxicep
12-15-2006, 01:30 PM
thanks installed.
krazycivik
12-18-2006, 06:47 AM
awsome mod thank you makes my forums look alot cleaner and organized great work
IAWBody
12-20-2006, 03:15 AM
thanks I've been needing this! :D
Daracon
12-22-2006, 07:27 AM
thanks! *clicks install*
principino1984
12-22-2006, 11:39 PM
i'll try to install it! I'll let you know...in any case this is a nice mod!
Marco
adonfun
12-26-2006, 01:15 PM
Looks like a great mod if it works. Do you know if it'll work with 3.6.4 ?
Sledgstone
12-29-2006, 08:19 PM
Looks like a great mod if it works. Do you know if it'll work with 3.6.4 ?
Yes, it works fine with 3.6.4
adonfun
12-30-2006, 05:25 PM
Yes, it works fine with 3.6.4
:D Thank you Sledgstone :) Will install it in the beginning of 2007
Happy New year!!
I have been wanting this for a long time. I've always thought sigs look too close to the messages. Having them down at the bottom looks a lot better I think.
But I am having a problem with this hack...and it's not the authors fault....it's the skin I'm using. The following line is missing, so I can't even try some of the posts in this thread to fix this:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
There was a post in this thread about this problem who's attached image was what I am looking for but without the above code in my skin I can't figure out how to accomplish that.
I've been tinkering with this for hours but I just can't seem to be able to get the border from appearing above the sig. The code looks like this:
<td class="alt2" BGCOLOR="white" BORDER="0" BORDERCOLOR=WHITE valign="bottom">
<if condition="$post['signature'] AND (($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">
<td class="alt2" BGCOLOR="white" BORDER="0" BORDERCOLOR=WHITE valign="bottom">
<!-- sig -->
<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</td></if>
</td>
Another problem is that if someone does not have a sig the cell background is black.
If anyone would please go to one of the posts at my site and look at the source I would greatly appreciate it.
Here's one thread that has a few posts in it where you can see the line and an empty sig with the black background:
http://www.politicalforums.net/forums/showthread.php?t=2552
I know this thread probably shouldn't be an HTML tutorial, but I am really stuck with this.
cfish
01-04-2007, 05:50 PM
Thank you very much - works perfectly and should be part of the default vB style.
Click Install.
adnedarn
01-13-2007, 05:40 PM
I ended up having a really wired screen. Turned out I ended up with a extra <tr> above the last data add. I don't know where it came from or if it was related to this... But, removing that fixed it. it looks great! thanks
akulion
01-29-2007, 07:53 AM
couldnt get this to work
the last edit throws off my entire theme (black n blue)
dunn why
but good mod all the same
Sparticus_V2
02-01-2007, 06:18 PM
any solutions for the problem of the skins that dont have the <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> line of code?
BillieJoe
03-24-2007, 07:58 AM
great mod thx. *installed*
InTeNsE-HuMoR
04-16-2007, 04:15 PM
Any way to get it to work for this?
<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 -->
jazzastudios
04-17-2007, 12:27 AM
this was REALLY helpful, thank you SO much, i was looking everywhere and found my solution here. thank you
UaeStar
04-18-2007, 08:12 PM
nice man
InTeNsE-HuMoR
04-20-2007, 02:57 AM
[bump] any fix for my problem posted above?
dbirosel
04-25-2007, 07:52 PM
Thanks for the nice words everyone. :)
For those of you that have that extra line above your signature, this is because you have cellspacing set to 1 for your main postbit_legacy table. Most people use cellspacing="1" to add that border line inbetween the two main cells of the table and to add the border lines to seperate the online/reputation/etc icons and the edit/quote/etc buttons from their respective cells. As of vb 3.6 there is a border sperating the main cells so you don't need to add any extra code for that one, but for the bottom rows you can still keep those borders by doing the following:
(Before doing this, please look at the screenshots to see the before and after to make sure you like the results and that you still want to do this.)
In postbit_legacy
Find:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%" align="center">
Replace with:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
Find:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
Replace with:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 1px">
Find:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
Replace with:
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 1px">
With cellspacing="1" (Notice the extra line above the sig.) 54666 After these code changes: 54667
Tried this and it still had a line. Am i doing something wrong???
GrendelKhan{TSU
05-03-2007, 04:52 PM
OMG THANK YOU!!! been wanting this for this forever!!
(very happy now :))
<< installed!! :D :D
NaughtyStud
05-04-2007, 08:17 AM
Very nice Mod, thank you and clicked install. ;)
SecTa
05-26-2007, 09:15 PM
The line
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
is not that good, cause it's used for "Last edited" separation, so, it's better to leave the original one. Also, when applying this hack, "last edited' info is shown ABOVE the signature, which is not good. And there's signature hooks appear to be misplaced.
Here's my alternative to this hack, with needed fixes:
In postbit_legacy, find:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Change to:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Then find:
$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:
</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>
Works with vB 3.6.7
Sledgstone, could you please update your first post? :rolleyes:
Tulsa
05-27-2007, 11:12 PM
Perfect on 3.6.7 Two thumbs up, this is even better now... Thanks for this SecTa.
dope15gd
05-29-2007, 08:04 PM
snip:
This worked perfectly for me. The OP's way screwed some things up, but yours is perfect. thanks for posting this
Skedoozy
05-30-2007, 02:16 AM
Tried this and it still had a line. Am i doing something wrong???
these changes also did nothing for me
ACIKillJoy
05-31-2007, 06:56 AM
For those who are using postbit_legacy templates that do not include this line:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
I have found a fix.
You need to find this:
<tr valign="top">
<td class="alt2" width="175">
<div id="postmenu_$post[postid]">
then change it to this:
<tr valign="top">
<td class="alt2" width="175" rowspan="2">
<div id="postmenu_$post[postid]">
Then delete this:
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
find this:
<!-- / edit note -->
</if>
</td>
</tr>
and after add this:
<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 -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
<center>$post[signature]</center>
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
</td>
</tr>
I added a center tag around my $post[sig] code just to make it look better on my site. feel free to remove it if you want.
This is working on 3.6.7
To see it working on my site here is a link to a post
http://www.anticheatinc.com/forums/showpost.php?p=83602&postcount=1
Chadi
06-14-2007, 02:44 AM
[edit: fixed, sorry]
foxfirediego
07-04-2007, 08:15 PM
still haven't found a way to fix this line
i've already read the thread
thx for the mod..
Aneurysm
07-13-2007, 04:41 AM
Thanks, it's a great look
4x4 Mecca
07-13-2007, 05:40 AM
remove this line
<hr size="1" style="color:$stylevar[tborder_bgcolor]" /> and that line will be gone
remove this line
<hr size="1" style="color:$stylevar[tborder_bgcolor]" /> and that line will be gone
Actually that won't remove the line he/she is referring to.
That will remove the line that is directly above the signature which you can barely see in the image.
The line he is referring to is due to the rowspan="2" addition and the skin that he is running.
Tmod
Anyone that has a aftermarket skin may have the problem with that line that is directly under the post and then a big space and then the signature.
Well I hated the line there and played with some code until I got it looking the way I wanted it to.
So here is my edition of this mod.
Go to the postbit_legacy template for the skin you are working with.
Find This:
<td class="alt2" width="175">
Replace With This:
<if condition="$post['signature']">
<td class="alt2" width="175" rowspan="2">
<else />
<td class="alt2" width="175">
</if>
Find This:
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
Replace With This:
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<tr height="1">
<td class="alt1" valign="bottom">
<!-- sig -->
<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</td>
</tr>
</if>
$template_hook[postbit_signature_end]
Now save the template and refresh the forum and it should show a bit neater then it did before.
Tmod
flindersredclaw
07-30-2007, 05:59 PM
The original code worked spot on on 3.6.8
flindersredclaw
08-01-2007, 03:38 PM
... However I have not worked out how to apply this to the postbit template
EvilKitty
08-02-2007, 02:47 AM
For those who are using postbit_legacy templates that do not include this line:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
I have found a fix.
You need to find this:
<tr valign="top">
<td class="alt2" width="175">
<div id="postmenu_$post[postid]">
then change it to this:
<tr valign="top">
<td class="alt2" width="175" rowspan="2">
<div id="postmenu_$post[postid]">
Then delete this:
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
find this:
<!-- / edit note -->
</if>
</td>
</tr>
and after add this:
<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 -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
<center>$post[signature]</center>
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
</td>
</tr>
I added a center tag around my $post[sig] code just to make it look better on my site. feel free to remove it if you want.
This is working on 3.6.7
To see it working on my site here is a link to a post
http://www.anticheatinc.com/forums/showpost.php?p=83602&postcount=1
This almost solved it for me - only there's a sort of ugly white long above the black line now.
Ohiosweetheart
08-05-2007, 04:25 PM
I've had a problem with this hack dividing the message side of my postbit_legacy. See my screenshot. It's the same problem that EvilKitty seems to be having.
There are 2 or 3 fixes on this thread in addition to the original post. Do any of them actually work now?
DrussRob
08-24-2007, 11:37 PM
I'm by no means good at this, so just a suggestion here.
Would that line maybe be a function of the css?
DrussRob
08-25-2007, 03:47 AM
ok, so I investigated my own advice and think I came up with a fix.
This is what I did to get rid of the line.
AdminCP>Styles & Templates>Style Manager>Main CSS>
Now scroll down to "First Alternating Color". You'll see something like this:
border-left: 1px solid #212121;
border-right: 1px solid #212121;
border-top: 5px solid #212121;
border-bottom: 5px solid #212121;
Change the 5's to 0's and save. I'm not sure if you have to do it in the "Second Alternating Color", but I did and it didn't seem to hurt.
Cigarcritic
08-27-2007, 12:38 AM
Thanks.....SecTa , works great!
Grunt
09-05-2007, 01:12 PM
I ran into the same thing awhile back with this mod - yes it is the borders defined in alt1/2 tags.
Instead of losing your alt borders throughout your forums just for this mod (unless it's of no consequence), create two 'Additional CSS Definitions' that are duplicates of your alt's minus the borders, which more than likely only leaves the background color. Then, in your postbit_legacy template replace all instances of alt1 and alt2 with the newly created definitions.
.alt1a {background-color: #F5F5FF;}
.alt2a {background-color: #E1E4F2;}Or something along those lines..
SliceofLife
09-10-2007, 11:09 AM
Thank you for this! It works well on my forum. Exactly what I wanted :D
SliceofLife
09-10-2007, 11:34 PM
For some reason, the original code started making all the posts double up, but this code below seems to work fine. Thank you :D
The line
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
is not that good, cause it's used for "Last edited" separation, so, it's better to leave the original one. Also, when applying this hack, "last edited' info is shown ABOVE the signature, which is not good. And there's signature hooks appear to be misplaced.
Here's my alternative to this hack, with needed fixes:
In postbit_legacy, find:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Change to:
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
Then find:
$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:
</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>
Works with vB 3.6.7
Sledgstone, could you please update your first post? :rolleyes:
trackpads
10-02-2007, 11:44 PM
Great hack! Thanks!
powerful_rogue
10-25-2007, 12:23 AM
:confused: Talk about confused!
I think I may have got it sorted, saved a back up just incase but so far so good!
GhoHan
11-21-2007, 12:49 PM
great, just what I need.
installed, dude.
:Judge:
02-06-2008, 08:17 PM
Has anyone tried any of these on 3.7.0 ?
TCE Killa
02-08-2008, 10:44 PM
Thanks for this, it works but how do I get rid of this black bar shown on the screenshot? Thanks.
TCE Killa
02-09-2008, 04:28 PM
ok, so I investigated my own advice and think I came up with a fix.
This is what I did to get rid of the line.
AdminCP>Styles & Templates>Style Manager>Main CSS>
Now scroll down to "First Alternating Color". You'll see something like this:
border-left: 1px solid #212121;
border-right: 1px solid #212121;
border-top: 5px solid #212121;
border-bottom: 5px solid #212121;
Change the 5's to 0's and save. I'm not sure if you have to do it in the "Second Alternating Color", but I did and it didn't seem to hurt.
Thanks so much, it worked.
Thomas P
03-17-2008, 01:33 PM
Nice Mod, but the line between the post and the signature is ugly.
The a.m. solution doesn't work for me, as long as cellspacing is set to 1.
todosbaneados
03-17-2008, 01:45 PM
For postbit¿?
Thomas P
03-17-2008, 01:50 PM
If you're talking to me: yes
todosbaneados
03-17-2008, 08:21 PM
I talking to everybody, how can i edit in the postbit?
Thomas P
03-18-2008, 11:29 AM
Go into the vB ACP -> Style (dropdown) - edit templates - postbit_legacy
todosbaneados
03-18-2008, 11:57 AM
But i use the postbit, no postbit_legacy...
thanks :D
if you use postbit you don't need this modification!
if you want some space between the post and the signature try adding some <br /> inside the <!-- sig --> in your postbit :D
Could use an update for 3.7.0 :up:
cafenetland
04-05-2008, 10:07 PM
thx
installed
Defkalion
05-04-2008, 10:15 AM
I tried to implement this for 3.7 but didn't succeed.
Anyone has any idas?
pedroenf
05-15-2008, 08:13 PM
I use this in 3.7 and it does work.
Majest
05-21-2008, 10:26 AM
Works fine on 3.7.0 too, thanks for this.
pigpog
12-03-2008, 11:50 PM
Brilliant. Worked like a charm on my 3.7.3 version. :) Thanks!
Confirmed working on 3.7.3
Question: How do I force the "Edited by" note to the bottom along with the signature? I've tried many different types of div tags etc without success. Example: http://left4deadforums.com/20707-post7.html
Vinyljunky
12-12-2008, 03:20 PM
neat
BigJohnny
02-09-2009, 12:41 AM
I didnt read the whole thread, but did anyone mention the hook locations? they werent moved with the sig...
you might want to try this chunk instead.
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<!-- sig -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
BigJohnny
02-16-2009, 01:03 AM
Now ive read the thread, and am having a problem of my own with that damn line in my extremepixels skins.
Ive almost got it sorted but i still cant get the damn thing to go away.
using pieces of code throughout this thread ive come up with this so far. keep in mind im using other customizations as well..... so basically I need to find out where this border is being set and remove it.
<tr valign="top">
<!-- Signature Forced To Bottom Mod -->
<if condition="$post['signature']">
<td class="alt2" width="175" rowspan="3" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<else />
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
</if>
<!-- / Signature Forced To Bottom Mod -->
<!-- Signature Forced To Bottom -->
<if condition="$post['signature']">
<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<tr height="1">
<td class="alt1" valign="bottom">
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div valign="bottom">
$post[signature]
</div>
</td>
</tr>
</if>
$template_hook[postbit_signature_end]
</td>
</tr>
</if>
<!-- Signature Forced To Bottom -->
BigJohnny
02-16-2009, 12:18 PM
This change was incorrect.... so i edited this post.
BigJohnny
02-19-2009, 01:11 AM
ok ive seen what my problem is, its the cell spacing, however, the code to fix the cellspacing problem is different so i can find and replace the items mentioned.
Is there anyway you could tell me where those locations are to remove the cellspacing, but keep the borders?
ITDarasgah
08-04-2009, 06:52 PM
Install and work fine ...thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.