Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Signature forced to bottom (postbit_legacy) Details »»
Signature forced to bottom (postbit_legacy)
Version: 1.00, by Sledgstone Sledgstone is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.6.2 Rating:
Released: 10-12-2006 Last Update: Never Installs: 228
 
No support by the author.

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

Show Your Support

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

Comments
  #42  
Old 12-20-2006, 03:15 AM
IAWBody IAWBody is offline
 
Join Date: Sep 2006
Location: Cedar Rapids, IA
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks I've been needing this!
Reply With Quote
  #43  
Old 12-22-2006, 07:27 AM
Daracon Daracon is offline
 
Join Date: Nov 2005
Location: Germany
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks! *clicks install*
Reply With Quote
  #44  
Old 12-22-2006, 11:39 PM
principino1984 principino1984 is offline
 
Join Date: Jul 2006
Location: Italy
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'll try to install it! I'll let you know...in any case this is a nice mod!

Marco
Reply With Quote
  #45  
Old 12-26-2006, 01:15 PM
adonfun adonfun is offline
 
Join Date: Jul 2006
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like a great mod if it works. Do you know if it'll work with 3.6.4 ?
Reply With Quote
  #46  
Old 12-29-2006, 08:19 PM
Sledgstone's Avatar
Sledgstone Sledgstone is offline
 
Join Date: Aug 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adonfun View Post
Looks like a great mod if it works. Do you know if it'll work with 3.6.4 ?
Yes, it works fine with 3.6.4
Reply With Quote
  #47  
Old 12-30-2006, 05:25 PM
adonfun adonfun is offline
 
Join Date: Jul 2006
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sledgstone View Post
Yes, it works fine with 3.6.4
Thank you Sledgstone Will install it in the beginning of 2007

Happy New year!!
Reply With Quote
  #48  
Old 01-04-2007, 04:31 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been wanting this for a long time. I've always thought sigs look too close to the messages. Having them down at the bottom looks a lot better I think.

But I am having a problem with this hack...and it's not the authors fault....it's the skin I'm using. The following line is missing, so I can't even try some of the posts in this thread to fix this:

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

There was a post in this thread about this problem who's attached image was what I am looking for but without the above code in my skin I can't figure out how to accomplish that.

I've been tinkering with this for hours but I just can't seem to be able to get the border from appearing above the sig. The code looks like this:

HTML Code:
<td class="alt2" BGCOLOR="white" BORDER="0" BORDERCOLOR=WHITE valign="bottom">

<if condition="$post['signature'] AND (($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">
<td class="alt2" BGCOLOR="white" BORDER="0" BORDERCOLOR=WHITE valign="bottom">		
		<!-- sig -->
			
			<div valign="bottom">
				$post[signature]
			</div>
		<!-- / sig -->
		</td></if>
		</td>

Another problem is that if someone does not have a sig the cell background is black.

If anyone would please go to one of the posts at my site and look at the source I would greatly appreciate it.

Here's one thread that has a few posts in it where you can see the line and an empty sig with the black background:

http://www.politicalforums.net/forum...ead.php?t=2552

I know this thread probably shouldn't be an HTML tutorial, but I am really stuck with this.
Reply With Quote
  #49  
Old 01-04-2007, 05:50 PM
cfish's Avatar
cfish cfish is offline
 
Join Date: Aug 2006
Location: Hampshire, UK
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much - works perfectly and should be part of the default vB style.

Click Install.
Reply With Quote
  #50  
Old 01-13-2007, 05:40 PM
adnedarn adnedarn is offline
 
Join Date: Jan 2007
Location: Tucson, Arizona
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ended up having a really wired screen. Turned out I ended up with a extra <tr> above the last data add. I don't know where it came from or if it was related to this... But, removing that fixed it. it looks great! thanks
Reply With Quote
  #51  
Old 01-29-2007, 07:53 AM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

couldnt get this to work

the last edit throws off my entire theme (black n blue)

dunn why

but good mod all the same
Reply With Quote
Reply

Thread Tools

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 06:03 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.07465 seconds
  • Memory Usage 2,313KB
  • 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
  • (5)bbcode_code
  • (2)bbcode_html
  • (2)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
  • (4)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