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)

trackpads 10-02-2007 11:44 PM

Great hack! Thanks!

powerful_rogue 10-25-2007 12:23 AM

:confused: Talk about confused!

I think I may have got it sorted, saved a back up just incase but so far so good!

AzH 11-18-2007 04:40 PM

Thanks. Installed.

GhoHan 11-21-2007 12:49 PM

great, just what I need.

installed, dude.

:Judge: 02-06-2008 08:17 PM

Has anyone tried any of these on 3.7.0 ?

TCE Killa 02-08-2008 10:44 PM

Thanks for this, it works but how do I get rid of this black bar shown on the screenshot? Thanks.

TCE Killa 02-09-2008 04:28 PM

Quote:

Originally Posted by DrussRob (Post 1325191)
ok, so I investigated my own advice and think I came up with a fix.

This is what I did to get rid of the line.

AdminCP>Styles & Templates>Style Manager>Main CSS>

Now scroll down to "First Alternating Color". You'll see something like this:
Code:

border-left: 1px solid #212121;
border-right: 1px solid #212121;
border-top: 5px solid #212121;
border-bottom: 5px solid #212121;

Change the 5's to 0's and save. I'm not sure if you have to do it in the "Second Alternating Color", but I did and it didn't seem to hurt.

Thanks so much, it worked.

Thomas P 03-17-2008 01:33 PM

Nice Mod, but the line between the post and the signature is ugly.

The a.m. solution doesn't work for me, as long as cellspacing is set to 1.

todosbaneados 03-17-2008 01:45 PM

For postbit¿?

Thomas P 03-17-2008 01:50 PM

If you're talking to me: yes

todosbaneados 03-17-2008 08:21 PM

I talking to everybody, how can i edit in the postbit?

Thomas P 03-18-2008 11:29 AM

Go into the vB ACP -> Style (dropdown) - edit templates - postbit_legacy

todosbaneados 03-18-2008 11:57 AM

But i use the postbit, no postbit_legacy...

jGas 03-22-2008 08:24 AM

thanks :D

if you use postbit you don't need this modification!
if you want some space between the post and the signature try adding some <br /> inside the <!-- sig --> in your postbit :D

TTG 03-28-2008 11:41 AM

Could use an update for 3.7.0 :up:

cafenetland 04-05-2008 10:07 PM

thx

installed

Defkalion 05-04-2008 10:15 AM

I tried to implement this for 3.7 but didn't succeed.

Anyone has any idas?

pedroenf 05-15-2008 08:13 PM

I use this in 3.7 and it does work.

Majest 05-21-2008 10:26 AM

Works fine on 3.7.0 too, thanks for this.

pigpog 12-03-2008 11:50 PM

Brilliant. Worked like a charm on my 3.7.3 version. :) Thanks!

AzH 12-05-2008 08:45 PM

Confirmed working on 3.7.3

AzH 12-06-2008 01:59 AM

Question: How do I force the "Edited by" note to the bottom along with the signature? I've tried many different types of div tags etc without success. Example: http://left4deadforums.com/20707-post7.html

AzH 12-06-2008 08:38 AM

NVM, I sorted it.

Vinyljunky 12-12-2008 03:20 PM

neat

BigJohnny 02-09-2009 12:41 AM

I didnt read the whole thread, but did anyone mention the hook locations? they werent moved with the sig...
you might want to try this chunk instead.

Code:

                $template_hook[postbit_signature_start]
                $ad_location[ad_showthread_firstpost_sig]
                <if condition="$post['signature']">
                <!-- sig -->
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                        <div valign="bottom">
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>
                $template_hook[postbit_signature_end]


BigJohnny 02-16-2009 01:03 AM

Now ive read the thread, and am having a problem of my own with that damn line in my extremepixels skins.

Ive almost got it sorted but i still cant get the damn thing to go away.

using pieces of code throughout this thread ive come up with this so far. keep in mind im using other customizations as well..... so basically I need to find out where this border is being set and remove it.

PHP Code:

<tr valign="top">
    <!-- 
Signature Forced To Bottom Mod -->
    <if 
condition="$post['signature']">
        <
td class="alt2" width="175" rowspan="3" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
    <else />
        <
td class="alt2" width="175" style="border: $stylevar[cellspacing]px $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
    </if>
    <!-- / 
Signature Forced To Bottom Mod --> 

PHP Code:

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


BigJohnny 02-16-2009 12:18 PM

This change was incorrect.... so i edited this post.

BigJohnny 02-19-2009 01:11 AM

ok ive seen what my problem is, its the cell spacing, however, the code to fix the cellspacing problem is different so i can find and replace the items mentioned.

Is there anyway you could tell me where those locations are to remove the cellspacing, but keep the borders?

ITDarasgah 08-04-2009 06:52 PM

Install and work fine ...thanks


All times are GMT. The time now is 01:05 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.01359 seconds
  • Memory Usage 1,789KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (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
  • (29)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