Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

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

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

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

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

In post #34 you removed the Username code that used the popup menu. The Username at the right doesn't use it.
Reply With Quote
  #46  
Old 05-22-2006, 12:08 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No we are using that code and it still doesn't work. The full code from the default skin is:

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

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.

Code:
                <!-- 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 -->
&nbsp;by&nbsp;<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.
Reply With Quote
  #48  
Old 05-22-2006, 12:44 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

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

Hmm. I wonder...

Try replacing this:

Code:
		<td class="thead" style="font-weight:normal;text-align:right;vertical-align:middle">
<strong>$vbphrase[replies]: $thread[replycount]</strong>&nbsp;
With this:

Code:
		<td width="175px" class="thead" style="font-weight:normal;text-align:right;vertical-align:middle">
<strong>$vbphrase[replies]: $thread[replycount]</strong>&nbsp;
And replace:

Code:
<!-- / MESSAGE BUTTONS -->
<!-- IP & REPORT POST -->
	<td class="alt2" align="$stylevar[right]">
And replace it with:

Code:
<!-- / 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?
Reply With Quote
Reply

Thread Tools

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 08:35 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
  • Page Generation 0.04849 seconds
  • Memory Usage 2,311KB
  • 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
  • (6)bbcode_code
  • (3)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