![]() |
Postbit_Legacy REVERSED Layout 1 v.1.0
==============================
============================== "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/ 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 |
sorry didnt read,cant wait to test this out
|
I just uploaded it now. :)
I was in the process of creating the thread. |
Thanks again Freesteyelz for your time to do this
|
Thanks allot! I'll try this out :D
*clicks install |
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. :) Quote:
|
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/showt...782&styleid=73 |
What are the exact errors you're receiving?
|
Quote:
|
Quote:
By any chance did you install vBShout? |
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. |
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: |
Thanks for sharing sir. I love that alternative design!!!
*clicks install |
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. |
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?
|
Thanks, this looks nice.
|
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.
|
Quote:
Quote:
Quote:
Quote:
Quote:
*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". :) |
Quote:
|
This is true. I actually thought about that for the vertical postbit view since all text are aligned left anyway. :)
|
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? |
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. |
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. |
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:
---------- Code:
<div class="smallfont"> Code:
------------- Code:
<if condition="$show['moderated']"> Code:
<if condition="$show['moderated']"> You may of course need to tweak the change of codes to your standards. I hope it gives you a starting point. :) |
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. |
Ooops. I forgot to add the ending quote. The above code where it says:
Code:
<div class="smallfont"> Code:
<div class="smallfont"> |
haha thanks that works! But it's not as pretty as I thought it would be :(
|
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 |
Quote:
Don't you have to change the size of the post message box, or am I missing something? :surprised: |
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). |
Quote:
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. ------------- Quote:
|
Quote:
IE and Safari 2.0 do not show this problem. |
I'll run some tests again...
|
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.
Code:
<!-- USERNAME --> |
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
|
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. |
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: Code:
<div class="smallfont alt1" style="width:150px;margin:0 auto;padding:3px;text-align:left;border:1px dashed #000000"> Code:
<div class="smallfont"> Quote:
|
Quote:
Quote:
Quote:
|
Quote:
|
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. :) |
All times are GMT. The time now is 05:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|