The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Postbit_Legacy REVERSED Layout 1 v.1.0 Details »» | |||||||||||||||||||||||||
==============================
============================== "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. 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 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 Show Your Support
|
Comments |
#22
|
||||
|
||||
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? |
#23
|
||||
|
||||
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. |
#24
|
||||
|
||||
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. |
#25
|
||||
|
||||
In the instructions where it states:
Code:
Find (the key here is to look for the start <td> and end </td> tags): Then when you see this: Code:
---------- AFTER add: ---------- <!-- / MESSAGE COLUMN --> <!-- USER COLUMN --> Code:
<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> Code:
------------- Replace with: ------------- <!-- MESSAGE BUTTONS --> Code:
<if condition="$show['moderated']"> <td class="alt2" align="$stylevar[left]"> <else /> <td class="alt1" align="$stylevar[left]"> </if> Code:
<if condition="$show['moderated']"> <td class="alt2" align="$stylevar[left]" colspan="2"> <else /> <td class="alt1" align="$stylevar[left]" colspan="2"> </if> You may of course need to tweak the change of codes to your standards. I hope it gives you a starting point. |
#26
|
||||
|
||||
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. |
#27
|
||||
|
||||
Ooops. I forgot to add the ending quote. The above code where it says:
Code:
<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> Code:
<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> |
#28
|
||||
|
||||
haha thanks that works! But it's not as pretty as I thought it would be
|
#29
|
||||
|
||||
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. |
#30
|
|||
|
|||
Quote:
Don't you have to change the size of the post message box, or am I missing something? :surprised: |
#31
|
|||
|
|||
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). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|