vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   legacy_postbit Signature Spacing Mod (https://vborg.vbsupport.ru/showthread.php?t=88542)

moonclamp 05-20-2004 10:41 AM

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

Host Directory 05-24-2004 01:55 AM

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.

Altered_Ego 05-25-2004 11:56 AM

^thats how it is suppose to be.

imported_subu1 06-15-2004 10:36 AM

thx, it's work for me

Jacko 07-08-2004 10:16 AM

worked fine for me.. thx..

Creative210 07-08-2004 10:29 AM

Thanks for contributing!

lange2 04-14-2005 02:00 AM

Thanks Uber.

ambumann 10-24-2005 09:02 PM

Edit: Works in 3.5 as well.

GuaRRand 10-25-2005 11:21 AM

ok...so does this work ok or not :P

GuaRRand 10-25-2005 11:33 AM

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


All times are GMT. The time now is 07:56 AM.

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.01029 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete