Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Postbit_Legacy REVERSED Layout 1 v.1.0 Details »»
Postbit_Legacy REVERSED Layout 1 v.1.0
Version: 1.0, by Freesteyelz Freesteyelz is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 05-06-2006 Last Update: 05-06-2006 Installs: 13
Template Edits
 
No support by the author.

==============================
==============================
"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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-12-2006, 10:58 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #23  
Old 05-13-2006, 12:40 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 05-13-2006, 01:42 AM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 05-14-2006, 12:25 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the instructions where it states:

Code:
Find (the key here is to look for the start <td> and end </td> tags):
Skip it.

Then when you see this:

Code:
----------
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:

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>
Then when you see the instruction:

Code:
-------------
Replace with:
-------------
<!-- MESSAGE BUTTONS -->
In that code replace this:

Code:
	<if condition="$show['moderated']">
	<td class="alt2" align="$stylevar[left]">
	<else />
	<td class="alt1" align="$stylevar[left]">
	</if>
With:

Code:
	<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.
Reply With Quote
  #26  
Old 05-14-2006, 06:50 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #27  
Old 05-14-2006, 10:19 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Change it to:

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>
See if that helps.
Reply With Quote
  #28  
Old 05-17-2006, 04:40 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haha thanks that works! But it's not as pretty as I thought it would be
Reply With Quote
  #29  
Old 05-17-2006, 11:25 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 05-20-2006, 08:52 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freesteyelz
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:
Reply With Quote
  #31  
Old 05-20-2006, 10:40 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04987 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete