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)

Sledgstone 10-12-2006 10:00 PM

Signature forced to bottom (postbit_legacy)
 
This mod will force all user's signatures to the bottom of their post. This is helpful if you have custom fields displayed under your avatars. Only 3 code changes are required in the postbit_legacy template. It'll take you about one minute to install this.

I have attached a couple screenshots showing what this mod does. I also have enabled this on my forums and you can see an example there:

http://forums.ancientclan.com/



In postbit_legacy, find:

Code:

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

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

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

Delete it.


Now find:
Code:

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

Directly underneath add:

Code:

<tr>
<td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">

                <if condition="$post['signature']">
                <!-- sig -->
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                        <div valign="bottom">
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>
                </td>
</tr>

Before: Attachment 54617 After: Attachment 54618

DJ_aroms 10-13-2006 02:15 AM

nice mod, thanks. :)

kronikdj 10-13-2006 04:49 AM

awesome

/me clicks install

canpare 10-13-2006 09:13 AM

thanks , nice ;)

mhdhallak 10-13-2006 11:31 AM

AMAZING! Just what I've been looking for. This is how they should've done it from the beginning. Thanks alot. Installed :)

Acido 10-13-2006 12:58 PM

Excellent!
Thanx for sharing ;)

Kaleem 10-13-2006 04:44 PM

Great mod Intalled

eNforce 10-13-2006 05:12 PM

Can I have it completely any of the borders it adds?

Code:

<tr>
<td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>" valign="bottom">
                <if condition="$post['signature']">
                <!-- sig -->
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                        <div valign="bottom">
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>
                </td>
</tr>

You can see here:
http://www.areyouserios.com/showthread.php?t=448

tekstylez 10-13-2006 08:52 PM

very nice

NeitherSparky 10-14-2006 04:55 AM

Some of my members were asking for this when we first moved from Proboards (on PB the sig is at the bottom so they had gotten used to it). Thanks!


All times are GMT. The time now is 11:45 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.01225 seconds
  • Memory Usage 1,734KB
  • 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
  • (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