View Full Version : Postbit_Legacy REVERSED Layout 1 v.1.0
Freesteyelz
05-06-2006, 10:00 PM
==============================
==============================
"Postbit_Legacy REVERSED Layout 1" by Freesteyelz
Version: 1.0
Re-Inspired By: Ricky6039's thread: https://vborg.vbsupport.ru/showthread.php?t=114862
Thank Yous: Ricky6039, Boofo and Chris M
==============================
==============================
Description:
The posbit_legacy is displayed in reverse. For fluid and fixed-width layouts.
Here's an idea that was re-inspired by Ricky6039's thread. It was a layout I did in UBB back in the day (2001) and now releasing it for vB. This is the first layout in the series. Future releases may come depending on requests, capability and energy. :D
Examples:
See attachments below.
What to expect?:
- Thread/Post title is displayed in place of Post Date.
- Post Date and Username are displayed in place of Thread/Post title.
- The user popup menu will display only in the first Username (left column). The second username link will go straight to user's profile.
- Replies will display just left of post #.
- User Online Status and User ID are displayed in the Username column.
- Online Status, Report Bad Post and IP images are replaced with text for a cleaner look.
- Message/Signature and User's info are bordered.
Requirements:
vB versions 3.5.3+ (3.5.4 should work; 3.5 versions possibly but I haven't tried it.)
Assumptions:
That you are editing the Default vB Style or at least using the Default vB Style as a Parent Style.
Can it work for custom styles? Yes. You may, however, need to re-work some of the codes for the layout to display properly. I successfully did this on several custom templates. Since many of us are using different styles I thought it would be better to use the Default vB Style for the instructions.
PLEASE!!!
Read the instructions carefully. Take your time when editing.
This is a template edit with quite a few steps so pace yourself. :)
Browsers Tested:
Internet Explorer & Firefox
Supported:
I'll try to answer your questions the best I can. Please click install to notify you if any changes are made.
Instructions:
Download the .zip file, extract and read the instructions.
If you use this mod click the https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=114968) link for any updates via e-mail. Thank you.
Attachements in order:
1. posbit_legacy 100%
2. posbit_legacy 770px
3. postbit_legacy menu 770px
Rickie3
05-07-2006, 05:00 AM
sorry didnt read,cant wait to test this out
Freesteyelz
05-07-2006, 05:01 AM
I just uploaded it now. :)
I was in the process of creating the thread.
Ricky6039
05-07-2006, 05:18 AM
Thanks again Freesteyelz for your time to do this
william5
05-07-2006, 05:21 AM
Thanks allot! I'll try this out :D
*clicks install
Freesteyelz
05-07-2006, 05:26 AM
Please remember to go through the instructions thoroughly and slowly. Just the slightest miss of code can mess it up.
Click the "Install" only if you are satisified and use the mod. :)
Thanks again Freesteyelz for your time to do this
NP. Thank you for re-inspiring the design. I didn't know it was something people was interested in. :)
VBUsers
05-07-2006, 07:12 AM
i get the done but with errors on page. what could it be?
this is the error i get. please help
line: 158
car: 2
Error: 'This.controlobj.' is null or not an object
code: 0
url: http://www.thenextelforums.com/showthread.php?t=4782&styleid=73
Freesteyelz
05-07-2006, 07:13 AM
What are the exact errors you're receiving?
VBUsers
05-07-2006, 07:37 AM
What are the exact errors you're receiving?
its the little exclamtion point on the bottom left of my IE. i posted the error above your post. im not sure if its a space in the code or where. but i followed it 4 times and still the same thing.
Freesteyelz
05-07-2006, 07:49 AM
i get the done but with errors on page. what could it be?
this is the error i get. please help
line: 158
car: 2
Error: 'This.controlobj.' is null or not an object
code: 0
url: http://www.thenextelforums.com/showthread.php?t=4782&styleid=73
That error is from the vbulletin_menu.js file but I'm unable to replicate it. It doesn't look like it's coming from my modification.
By any chance did you install vBShout?
VBUsers
05-07-2006, 07:56 AM
yes i have vbshout but its disabled. should i completly remove it? or the template edits if any are the cause?
ok i uninstalled the shout and the im online product i had disabled and it fixed my issue. thank you very much great hack.
Freesteyelz
05-07-2006, 08:05 AM
NP. I think Zero Tolerance released an update for the vBShout fix. You may want to check it out. :)
Thank you for clicking Install. :classic:
apn3a
05-07-2006, 08:18 AM
Thanks for sharing sir. I love that alternative design!!!
*clicks install
GamerJunk.net
05-07-2006, 02:30 PM
What if I wanted 2 postbit boxes? 1 on each side?
Similiar to a portal layout. Of course I would display other info not repeat the info.
Holidazed
05-07-2006, 05:23 PM
This is cool. However, I would like to see is swap from left to right on every other post in the thread. Can this be done?
Snake
05-07-2006, 05:40 PM
Thanks, this looks nice.
VBUsers
05-07-2006, 05:55 PM
is there a way we can make it an option to go back and forth? like with posbit and postbit legacy. i had some memebers ask that so there it is.
Freesteyelz
05-08-2006, 12:34 AM
Thanks for sharing sir. I love that alternative design!!!
Thanks. :) While I've enjoyed the style for years and so have my members/guests, it can take some getting used to since most people use the conventional layout. The majority of the comments I've received was that having the post in the left column made reading easier.
What if I wanted 2 postbit boxes? 1 on each side?
Similiar to a portal layout. Of course I would display other info not repeat the info.
A three column? Yes, that's possible. What type of info will the 2nd postbit box contain?
This is cool. However, I would like to see is swap from left to right on every other post in the thread. Can this be done?
While I haven't tried that I'm sure that's possible. Though, I think it would make reading less enjoyable to your users.
Thanks, this looks nice.
Thank you. :)
is there a way we can make it an option to go back and forth? like with posbit and postbit legacy. i had some memebers ask that so there it is.
Yes. While there is a plugin mod here at vB.org take a look at this post (http://www.vbulletin.com/forum/showpost.php?p=569294&postcount=5) by Freddie Bingham, a vB Developer.
*In order for it to work you will need to go to your vB Options --> Style & Language Settings and set postbit_legacy to "No". The postbit (Top) will be the default view for the user. For postbit_legacy view, users can go to their User CP and change the value to "Left". :)
Holidazed
05-08-2006, 01:35 PM
Quote:
Originally Posted by bitg
This is cool. However, I would like to see is swap from left to right on every other post in the thread. Can this be done?
While I haven't tried that I'm sure that's possible. Though, I think it would make reading less enjoyable to your users.Well, that is one opinion I suppose. I disagree with you on this.
Freesteyelz
05-08-2006, 10:56 PM
This is true. I actually thought about that for the vertical postbit view since all text are aligned left anyway. :)
GamerJunk.net
05-12-2006, 10:58 PM
Freestylez...the second box would be for gaming stuff on my site. I would display the users contact information for each type of console.
How could this be done?
Freesteyelz
05-13-2006, 12:40 AM
Ahh...I see. You'll utilize the left and right sides to the User's profile and information bits; the middle column will contain the post? While what you're asking is another modification I can give you a general idea on how to accomplish what you want.
First, can you please give me in detail what will be contained in the left column and then the right column. If it's not a complicated edit I can give you the instructions in this thread.
GamerJunk.net
05-13-2006, 01:42 AM
On the left side the basic standard postbit info
On the right side it would be Field X probably about 8 of them all with if conditions.
Freesteyelz
05-14-2006, 12:25 AM
In the instructions where it states:
Find (the key here is to look for the start <td> and end </td> tags):
Skip it.
Then when you see this:
----------
AFTER add:
----------
<!-- / MESSAGE COLUMN -->
<!-- USER COLUMN -->
Remove the codes between the <td> and </td> tags. Then add the Profile Field bits with conditionals something like:
<div class="smallfont">
<if condition="$post['fieldx']>
$post[fieldx]<br />
</if>
<if condition="$post['fieldy']>
$post[fieldy]<br />
</if>
<if condition="$post['fieldz']>
$post[fieldz]<br />
</if>
</div>
Then when you see the instruction:
-------------
Replace with:
-------------
<!-- MESSAGE BUTTONS -->
In that code replace this:
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[left]">
<else />
<td class="alt1" align="$stylevar[left]">
</if>
With:
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[left]" colspan="2">
<else />
<td class="alt1" align="$stylevar[left]" colspan="2">
</if>
I haven't tested it but it should work. All I added in the last step is the colspan.
You may of course need to tweak the change of codes to your standards. I hope it gives you a starting point. :)
GamerJunk.net
05-14-2006, 06:50 PM
I get this error message when saving
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected '<' in /home/********/public_html/forum/includes/adminfunctions_template.php(3537) : eval()'d code on line 178
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Freesteyelz
05-14-2006, 10:19 PM
Ooops. I forgot to add the ending quote. The above code where it says:
<div class="smallfont">
<if condition="$post['fieldx']>
$post[fieldx]<br />
</if>
<if condition="$post['fieldy']>
$post[fieldy]<br />
</if>
<if condition="$post['fieldz']>
$post[fieldz]<br />
</if>
</div>
Change it to:
<div class="smallfont">
<if condition="$post['fieldx']">
$post[fieldx]<br />
</if>
<if condition="$post['fieldy']">
$post[fieldy]<br />
</if>
<if condition="$post['fieldz']">
$post[fieldz]<br />
</if>
</div>
See if that helps. :)
GamerJunk.net
05-17-2006, 04:40 PM
haha thanks that works! But it's not as pretty as I thought it would be :(
Freesteyelz
05-17-2006, 11:25 PM
It can be. Show me what you have now and we'll think something up.
*Again, this isn't part of the modification for anyone else who is wondering what we're doing. :D
Bubble #5
05-20-2006, 08:52 PM
this isn't part of the modification for anyone else who is wondering what we're doing.
Actually I think this is a GREAT idea and the possibilities on how to use it are endless :bunny:
Don't you have to change the size of the post message box, or am I missing something? :surprised:
Bubble #5
05-20-2006, 10:40 PM
Under certain circumstances this does NOT display correctly in Firefox. Works good in Safari though....
With Firefox, when there is one post (original thread post) or 3 or more posts it works in Firefox, BUT if there are two posts then the first post becomes too large and doesn't render correctly :(
(see screenshot).
Freesteyelz
05-21-2006, 01:11 AM
Actually I think this is a GREAT idea and the possibilities on how to use it are endless
Don't you have to change the size of the post message box, or am I missing something?
Does that occur every time the postbit loads or on some occasions? I ask because the screenshots I provided in my first post displays the modification with two posts. Sometimes browsers upon refresh will do funky stuff; it generally occurs with Table layouts.
-------------
Actually I think this is a GREAT idea and the possibilities on how to use it are endless :bunny:
Don't you have to change the size of the post message box, or am I missing something? :surprised:
You shouldn't have to, unless you've defined the width for the message area like I did with my forum. Everything is so precise that 1 pixel off will mess my layout.
Bubble #5
05-21-2006, 03:04 AM
Does that occur every time the postbit loads or on some occasions?
Everytime, as long as it's A)the latest version of Firefox, and B)one or two posts are in the thread.
IE and Safari 2.0 do not show this problem.
Freesteyelz
05-21-2006, 03:42 AM
I'll run some tests again...
Bubble #5
05-21-2006, 04:29 PM
Here's an update: Upon further testing it does also show this problem when the initial thread is made (one post) in Firefox. Refreshing seems to take care of it BUT it needs to be refreshed everytime there is one or two posts so it's not a browser problem. Three or more posts do not seem to show this problem. Something in the code isn't being rendered properly the first time the page gets loaded. We removed this code as it was redundant anyway and it seems to help a little when there is one post.
<!-- USERNAME -->
by <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a><!-- / USERNAME -->
If we find anything else we'll post in this thread ;)
Ricky6039
05-21-2006, 06:33 PM
Hmm thats strange that your having this trouble using FireFox i use both IE and firefox and everything works fine no matter how many posts there is in the thread
Bubble #5
05-21-2006, 07:22 PM
What version are you using, and is it on a PC or Mac? If Mac, PPC or Intel?
Also, it seems to have something to do with the admin account, as regular members don't see it.
Haven't tested mod accounts yet.
Freesteyelz
05-21-2006, 08:21 PM
I and several of my members ran numerous tests and came up with nothing conclusive with the code. Before editing the code, clear all of your Internet cache and see if the problem still exists. If it does then try the following below:
The Usercolumn, which the code switches from left to right, is nearly identical to vB's default code which uses the "175" for its width. See if by changing it to "175px" will help. It that doesn't help then, just as an experiment, in the Usercolumn, where you see:
<div class="smallfont alt1" style="width:150px;margin:0 auto;padding:3px;text-align:left;border:1px dashed #000000">
Temporarily change that to:
<div class="smallfont">
When we tested it, using the newly edited or mod code, didn't affect the layout either way. If there is a bug in the code we haven't been able to pinpoint it yet.
<!-- USERNAME -->
by <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a><!-- / USERNAME -->
The above code, while not necessary, is the Username that uses the popup menu. The Username at the right, when clicked, takes the user straight to the poster's profile bit. Whether it's used or not it shouldn't affect the overall code.
Bubble #5
05-21-2006, 08:45 PM
several of my members
Your members won't see this because they are not logged in as the original admin...
clear all of your Internet cache
We already tried this yesterday. Didn't help :(
If there is a bug in the code we haven't been able to pinpoint it yet.
We just installed Firefox on two other computers and it happens there too. Both PC and Mac, when Firefox 1.5.3 is used and logged in as the Admin. Maybe this is a 3.5.4 issue.
Bubble #5
05-21-2006, 08:55 PM
See if by changing it to "175px" will help.
This 'may' have fixed it....
Freesteyelz
05-21-2006, 08:56 PM
Edited: Ahh. Let me know how it goes. :)
I wanted to cover all basis so I asked some of my members for assistance. I was logged in as the admin. You never know sometimes. :)
Bubble #5
05-21-2006, 09:05 PM
Ahh. Let me know how it goes.
So far, so good ;)
I really haven't had time to test it thoroughly though as I'm smack in the middle of designing a new skin :surprised:
Freesteyelz
05-21-2006, 09:43 PM
I'm glad that (so far) it's working. If the fix becomes true then we can blame the faulty display on vB developers for missing the "px". Hehe. :D
Bubble #5
05-21-2006, 11:46 PM
Well it's doing it again :bunny: Another thing that we noticed is that the username menu doesn't work, which might have something to do with it. We're looking at that part now.
Freesteyelz
05-21-2006, 11:54 PM
In post #34 you removed the Username code that used the popup menu. The Username at the right doesn't use it. :)
Bubble #5
05-22-2006, 12:08 AM
No we are using that code and it still doesn't work. The full code from the default skin is:
<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>
Freesteyelz
05-22-2006, 12:20 AM
It won't work if the left column Username with the <div> tag is in the code. In post #34 you removed the Username bit but you may have left the <div> tag there.
<!-- POST DATE & USERNAME -->
<div id="postmenu_$post[postid]">
<!-- 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 -->
<!-- USERNAME -->
by <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<!-- / USERNAME -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
</div>
<!-- / POST DATE & USERNAME -->
The bolded code should also be removed for post #34 and #45 to work properly.
Only one, same <div> ID tag will work at a time.
Bubble #5
05-22-2006, 12:44 AM
Only one, same <div> ID tag will work at a time.
Yes that fixed that part :banana: Thank You! BTW, the over sized user column problem, it's not always the first post. Sometimes it's every other post, and some times it's a random post (for example; post 1,2 4... are fine but #3 is over sized). It's a new forum so I know no other hacks are conflicting with this one. Also, I just learned that it doesn't matter who makes the posts (admin or member). When viewed from the admin account the problem always shows up. I may install a test forum later where you will be able to log in and see this problem for yourself, just in case you're thinking that I'm drunk on Scotch ;)
Freesteyelz
05-22-2006, 01:03 AM
Nah. Frankly, I appreciate the input. It's all about helping each other as your signature correctly states. :)
I have been stripping down the code and looking for any hints of a problem. I am focusing on the Admin account since that seems to be where you're experiencing the problem.
Bubble #5
05-22-2006, 01:11 AM
I am focusing on the Admin account since that seems to be where you're experiencing the problem.
Yeah it's something to do with the admin account. Only difference offhand that I can see is the checkbox and the IP code. I will check tomorrow to see if moderators have the problem too. I'm guessing yes, but I'll post back either way for you :bunny:
Freesteyelz
05-22-2006, 01:16 AM
Hmm. I wonder...
Try replacing this:
<td class="thead" style="font-weight:normal;text-align:right;vertical-align:middle">
<strong>$vbphrase[replies]: $thread[replycount]</strong>
With this:
<td width="175px" class="thead" style="font-weight:normal;text-align:right;vertical-align:middle">
<strong>$vbphrase[replies]: $thread[replycount]</strong>
And replace:
<!-- / MESSAGE BUTTONS -->
<!-- IP & REPORT POST -->
<td class="alt2" align="$stylevar[right]">
And replace it with:
<!-- / MESSAGE BUTTONS -->
<!-- IP & REPORT POST -->
<td width="175px" class="alt2" align="$stylevar[right]">
I've set all right postbit (right) columns to 175px width. Since I'm not getting the problem as you are can you let me know if that helps?
Bubble #5
05-22-2006, 05:14 PM
I've set all right postbit (right) columns to 175px width.
Actually, to my surprise, I think that may have fixed it :bunny: One thing is for certain, the page now loads 3 times quicker. I'll let you know if the problem creeps back ;)
THANK YOU :)
Freesteyelz
05-22-2006, 10:05 PM
NP. :classic: Let me know if the issue arises again. :)
GamerJunk.net
05-23-2006, 09:42 PM
Here is what the double layout looks like.
Bubble #5
05-23-2006, 09:49 PM
Here is what the double layout looks like.
Can't wait to start on our next skin. That will work out incredibly good for it :banana:
GamerJunk.net
05-23-2006, 09:59 PM
See what I would want is the gradient to stretch all the way over same with the space where the quote button is. That way it is symetrical. Also make the sides thinner so the actual area where you post is larger.
Here is the code for my postbit with the double post for anyone who wants to do a quick try of how it would look on their site..
<!-- post #$post[postid] -->
<if condition="$show['spacer']">
$spacer_open
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</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="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>
</td>
<else />
<td class="thead" style="font-weight:normal" $post[scrolltothis]>
<!-- MESSAGE TITLE -->
<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>
<!-- / icon and title -->
</if>
<!-- / MESSAGE TITLE -->
</td>
<td class="thead" style="font-weight:normal;text-align:right;vertical-align:middle">
<strong>$vbphrase[replies]: $thread[replycount]</strong>
<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]" onclick="inlineMod.toggle(this)" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175">
<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]" 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['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</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]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>
<!-- POST DATE & USERNAME -->
<div id="postmenu_$post[postid]">
<!-- 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 -->
<!-- USERNAME -->
by <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<!-- / USERNAME -->
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
</div>
<!-- / POST DATE & USERNAME -->
<div class="alt2" style="width:97%;margin:0 auto;padding:3px;text-align:left;border:1px solid #000000">
<!-- 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 /><HR>
<fieldset><legend>$post[username]'s Sig:</legend>$post[signature]</fieldset> </div>
<!-- / sig -->
</div>
</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>
<!-- / MESSAGE COLUMN -->
<!-- USER COLUMN -->
<td width="175" class="alt2" style="text-align:center">
<div class="smallfont">
<if condition="$post['fieldx']">
$post[fieldx]<br />
</if>
<if condition="$post['fieldy']">
$post[fieldy]<br />
</if>
<if condition="$post['fieldz']">
$post[fieldz]<br />
</if>
</div>
</td>
<!-- / USER COLUMN -->
</tr>
<tr>
<!-- MESSAGE BUTTONS -->
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[left]" colspan="2">
<else />
<td class="alt1" align="$stylevar[left]" colspan="2">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<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['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>
<!-- / controls -->
</td>
<!-- / MESSAGE BUTTONS -->
<!-- IP & REPORT POST -->
<td class="alt2" align="$stylevar[right]">
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[report_bad_post]</a></if>
$post[iplogged]
</td>
<!-- / IP & REPORT POST -->
</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 -->
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<!-- / post #$post[postid] -->
Freesteyelz
05-24-2006, 02:19 AM
To stretch out the gradient change colspan="2" to colspan="3". I think you'll have to do that twice. As for cleaning the 3-column layout it shouldn't be a problem. :)
GamerJunk.net
05-24-2006, 04:01 AM
So how else can we clean it up?
GamerJunk.net
05-24-2006, 04:11 AM
Btw it looks worse using colspan="3"
Freesteyelz
05-24-2006, 06:44 AM
Ooops. Yeah, with colspan="3" it assumes you have 4 columns and not 3 as you do. My bad. :D
As for the cleaning up I can fiddle around with it. I'm kinda working on something at the moment but I'll do it soon after. :)
GamerJunk.net
05-31-2006, 09:33 PM
Anything yet?
Freesteyelz
06-01-2006, 03:22 AM
Unless something urgent comes up I'll work on it this weekend. :)
GamerJunk.net
06-05-2006, 03:47 AM
Sweet thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.