vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Signature forced to bottom (postbit_legacy) (https://vborg.vbsupport.ru/showthread.php?t=128951)

Tulsa 05-27-2007 11:12 PM

Perfect on 3.6.7 Two thumbs up, this is even better now... Thanks for this SecTa.

dope15gd 05-29-2007 08:04 PM

Quote:

Originally Posted by SecTa (Post 1255194)
snip:

This worked perfectly for me. The OP's way screwed some things up, but yours is perfect. thanks for posting this

Skedoozy 05-30-2007 02:16 AM

Quote:

Originally Posted by dbirosel (Post 1235412)
Tried this and it still had a line. Am i doing something wrong???

these changes also did nothing for me

ACIKillJoy 05-31-2007 06:56 AM

For those who are using postbit_legacy templates that do not include this line:
PHP Code:

<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"

I have found a fix.

You need to find this:
PHP Code:

<tr valign="top">
    <
td class="alt2" width="175">
            
            <
div id="postmenu_$post[postid]"

then change it to this:
PHP Code:

<tr valign="top">
    <
td class="alt2" width="175" rowspan="2">
            
            <
div id="postmenu_$post[postid]"

Then delete this:
PHP Code:

$template_hook[postbit_signature_start]
       
        <if 
condition="$post['signature']">
        <!-- 
sig -->
            <
div>
                
__________________<br />
                
$post[signature]
            </
div>
        <!-- / 
sig -->
        </if>
       
        
$template_hook[postbit_signature_end

find this:

PHP Code:

<!-- / edit note -->
        </if>
    
    </
td>
</
tr

and after add this:
PHP Code:

<tr>
    <
td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
        
$template_hook[postbit_signature_start]
            <if 
condition="$post['signature']">
        <!-- 
sig -->
                <
hr size="1" style="color:$stylevar[tborder_bgcolor]/>
                <
div valign="bottom">
                <
center>$post[signature]</center>
                </
div>
        <!-- / 
sig -->
            </if>
        
$template_hook[postbit_signature_end]
    </
td>
</
tr

I added a center tag around my $post[sig] code just to make it look better on my site. feel free to remove it if you want.
This is working on 3.6.7
To see it working on my site here is a link to a post
http://www.anticheatinc.com/forums/s...02&postcount=1

Chadi 06-14-2007 02:44 AM

[edit: fixed, sorry]

foxfirediego 07-04-2007 08:15 PM

still haven't found a way to fix this line
i've already read the thread
thx for the mod..

Aneurysm 07-13-2007 04:41 AM

Thanks, it's a great look

4x4 Mecca 07-13-2007 05:40 AM

remove this line
Code:

                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
and that line will be gone

tmod 07-14-2007 01:55 AM

Quote:

Originally Posted by 4x4 Mecca (Post 1289766)
remove this line
Code:

                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
and that line will be gone

Actually that won't remove the line he/she is referring to.

That will remove the line that is directly above the signature which you can barely see in the image.

The line he is referring to is due to the rowspan="2" addition and the skin that he is running.

Tmod

tmod 07-15-2007 03:47 AM

Anyone that has a aftermarket skin may have the problem with that line that is directly under the post and then a big space and then the signature.

Well I hated the line there and played with some code until I got it looking the way I wanted it to.

So here is my edition of this mod.

Go to the postbit_legacy template for the skin you are working with.

Find This:
Code:

<td class="alt2" width="175">
Replace With This:
Code:

<if condition="$post['signature']">
<td class="alt2" width="175" rowspan="2">
<else />
<td class="alt2" width="175">
</if>

Find This:
Code:

$template_hook[postbit_signature_start]
               
                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>
               
                $template_hook[postbit_signature_end]

Replace With This:
Code:

$template_hook[postbit_signature_start]
                <if condition="$post['signature']">
<tr height="1">
<td class="alt1" valign="bottom">
                <!-- sig -->
                        <div valign="bottom">
                                $post[signature]
                        </div>
                <!-- / sig -->
                </td>
</tr>
</if>

                $template_hook[postbit_signature_end]

Now save the template and refresh the forum and it should show a bit neater then it did before.

Tmod


All times are GMT. The time now is 09:19 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.03726 seconds
  • Memory Usage 1,775KB
  • 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
  • (6)bbcode_code_printable
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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