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

Reply
 
Thread Tools
legacy_postbit Signature Spacing Mod Details »»
legacy_postbit Signature Spacing Mod
Version: 1.00, by imported_uber imported_uber is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-26-2004 Last Update: Never Installs: 7
 
No support by the author.

Here’s a mod that cleans up the signature & edit note spacing in the legacy_postbit template, leaving them at the bottom of the post regardless of how short the post is.

I replaced the __________________<br /> tag with an <hr> tag making the line cross the entire post.

If you prefer the old style, replace <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> with the old __________________<br />

Show Your Support

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

Comments
  #12  
Old 05-20-2004, 10:41 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually no ... not quite, the edited by bit looks wrong now, I have had a mess with it on my own and come up with this as an alternative:

In postbit_legacy (after the mod has been installed)

Find this:


<!-- Signature -->
<if condition="$post['signature']">

<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<span class="smallfont">$post[signature]</span>
</if>
<!-- / End Signature -->

<!-- Edit Note -->
<if condition="$show['postedited']">

<div class="smallfont">
<hr size="1" 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>

</if>
<!-- End Edit Note -->


Replace with this



!-- Edit Note -->
<if condition="$show['postedited']">

<div class="smallfont" align="right">
<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>

</if>
<!-- End Edit Note -->

<!-- Signature -->
<if condition="$post['signature']">

__________________<br />
<span class="smallfont">$post[signature]</span>
</if>
<!-- / End Signature -->


This will make the "edited by" note move above the signature and justify it to the right, it will also restore the old "________" above the signature rather than the HR tag

Hope that helps people who are after an alternative view
Reply With Quote
  #13  
Old 05-24-2004, 01:55 AM
Host Directory Host Directory is offline
 
Join Date: Feb 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may sound silly.. but how did this website do it?

Notice the sig on Tonys post appears at the bottom even though his post is just a few words long.
Reply With Quote
  #14  
Old 05-25-2004, 11:56 AM
Altered_Ego Altered_Ego is offline
 
Join Date: Aug 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^thats how it is suppose to be.
Reply With Quote
  #15  
Old 06-15-2004, 10:36 AM
imported_subu1 imported_subu1 is offline
 
Join Date: Sep 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx, it's work for me
Reply With Quote
  #16  
Old 07-08-2004, 10:16 AM
Jacko's Avatar
Jacko Jacko is offline
 
Join Date: Mar 2002
Location: UK
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked fine for me.. thx..
Reply With Quote
  #17  
Old 07-08-2004, 10:29 AM
Creative210's Avatar
Creative210 Creative210 is offline
 
Join Date: Nov 2001
Location: Texas
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for contributing!
Reply With Quote
  #18  
Old 04-14-2005, 02:00 AM
lange2 lange2 is offline
 
Join Date: Jan 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Uber.
Reply With Quote
  #19  
Old 10-24-2005, 09:02 PM
ambumann ambumann is offline
 
Join Date: Jun 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit: Works in 3.5 as well.
Reply With Quote
  #20  
Old 10-25-2005, 11:21 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok...so does this work ok or not :P
Reply With Quote
  #21  
Old 10-25-2005, 11:33 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesnt work for me....
Quote:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/www/www.glcoti.com/public_html/includes/adminfunctions_template.php(3519) : eval()'d code on line 177
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 02:53 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.05119 seconds
  • Memory Usage 2,297KB
  • 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
  • (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
  • (2)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