PDA

View Full Version : Force Signature to the Bottom


dancue
27 Mar 2008, 04:26
Here is a small contribution to this community.

I noticed that this template modification was available for 3.0 and 3.5, but not for 3.7.

Credits:
Was motivated by the original hack, created by Brad.


What does it do?
It will allow you to place the signature at the very bottom of the post.

What's the difference between this and the previous versions?

The table area for the signature will shrink to fit the signature. This will avoid the bottom table from directly following the end of a post.
The edited note has been moved to the absolute bottom. (On past versions they have showed directly after the post, before the sig.)


Versions tested and working on:

3.7.0


Notes:

This is ONLY for postbit_legacy users.
Those with very customized templates may reply to this thread or pm me for a different code. Please make a copy of your postbit_legacy before altering it.
Support is offered to the best of my ability and when time permits.
I will only offer support to those who have clicked install.


Installation:

Find in postbit_legacy template:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Find in postbit legacy template:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

bxbigt
27 Mar 2008, 13:10
Thanks Man :)

dancue
27 Mar 2008, 14:02
No problem.

Tom_S
30 Mar 2008, 05:31
Hmmm... I don't have that line:

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


I'm running 3.7.0 RC1 Ideas?

Thanks in advance

EDIT:
I lost that line because of another mod but after looking at the default I learned that is line 27 so I just added it there anyway and modified it as it was. It didn't however work for me. The signature remains as it was. :(

Tom_S
30 Mar 2008, 06:25
Little tinkering an walla..no problemo ;)

Rat1972
30 Mar 2008, 14:46
I have a white stripe in the middle of the posts? Is there a sollution to let it disapear?

tiekie
30 Mar 2008, 14:46
Great mod ... I will get it installed a.s.a.p

dancue
30 Mar 2008, 17:42
Little tinkering an walla..no problemo ;)

I'm glad you figured it out. Sorry I didn't get to you sooner. Forgot to setup pm alerts to new replies...:)

I have a white stripe in the middle of the posts? Is there a sollution to let it disapear?

It has to do with the cellspacing. Refer to this (http://www.vbulletin.org/forum/showpost.php?p=1096869&postcount=12) post. See if that works. Personally, I like the line there, so I will not be making the change.

Great mod ... I will get it installed a.s.a.p

Cool. Glad you liked it.

dancue
30 Mar 2008, 17:50
Ok. None of you hit the installed button...

Doesn't take long to do it.

Tianuc
31 Mar 2008, 00:40
I have a question.
The article content is different from signature color

Please see the attachment.

MR-2ZZ
31 Mar 2008, 02:38
http://www.vbulletin.org/forum/showthread.php?t=128951&highlight=force+bottom


That one works.

Gosef
31 Mar 2008, 04:30
thanks a lot

dancue
31 Mar 2008, 21:52
I have a question.
The article content is different from signature color

Please see the attachment.

Easy fix. Mark as Installed and I'll tell you what to do.

dancue
31 Mar 2008, 21:57
http://www.vbulletin.org/forum/showthread.php?t=128951&highlight=force+bottom


That one works.

That will work also. Like I said on my first post though....this one will not follow the post immediately like the other one does. It also moves the "edited by" note to the bottom of the sig, instead of the bottom of the post.

TTG
31 Mar 2008, 22:17
Easy fix. Mark as Installed and I'll tell you what to do.

Already changed that "Easy fix" 'cos I prefer postbit to remain one colour .. clicked install. :up:

Tom_S
31 Mar 2008, 23:02
Ok. None of you hit the installed button...

Doesn't take long to do it.

Sorry bout that. Got it ;)

dancue
31 Mar 2008, 23:31
Sorry bout that. Got it ;)

Thanks man!:)

GrendelKhan{TSU
01 Apr 2008, 07:46
yay! thanks! :D

yaoren
22 Apr 2008, 17:30
I clicked in install and would like to change the sig bg color to match the post bg color please :)

dancue
24 Apr 2008, 02:55
The post bg color should either be alt1 or alt2. If you installed the code provided here and it did not match then you would have to do the following:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I've highlighted the change in red. This change is replacing the last step mentioned above in my first post.

Hope this helps.

yaoren
27 Apr 2008, 18:19
Worked perfectly, thanks!

Wheezy
03 May 2008, 04:44
I cannot get this to work. I have a custom skin downloaded on my vB 3.7 so I think those templates are interfering with this code. Can someone help me out?

*EDITED CODE OUT*

Also... is there a way to extend the signature line to extend across the entire post? THANKS!!!

dancue
03 May 2008, 05:28
Can you copy your postbit_legacy template and pm it to me? I'd like to take a look at it.

UberDoober
03 May 2008, 18:08
Clicked "Installed" !

I love you, man! Ugraded to 3.7.0 Gold from 3.6.8PL2 and didn't revert my 3.6.8 template. Noticed that "edited by" only showed up on users with no signatures so had to bite the bullet and revert and modify the new one. I'm a noob at this and it scared me to death but all is well! Job Done!

Cheers! Thank you!

dancue
04 May 2008, 14:48
Wheezy, I sent it back to you. Let me know if it works.

Uber,
Your welcome. Thanks for the support.

crashys
07 May 2008, 22:19
I have a question regarding postbit legacy, can anyone give some help?

http://www.vbulletin.org/forum/showthread.php?p=1508063#post1508063

Thanks in advance.

Goomzee
08 May 2008, 06:58
Any screen shot

Vinyljunky
13 May 2008, 11:40
The post bg color should either be alt1 or alt2. If you installed the code provided here and it did not match then you would have to do the following:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I've highlighted the change in red. This change is replacing the last step mentioned above in my first post.

Hope this helps.

Brilliant :up:

crashys
15 May 2008, 21:51
I have a question regarding postbit legacy, can anyone give some help?

http://www.vbulletin.org/forum/showthread.php?p=1508063#post1508063

Thanks in advance.
Anyone?

dancue
15 May 2008, 22:35
Sorry, haven't really tried to do that before.

crashys
15 May 2008, 23:34
Sorry, haven't really tried to do that before.
Hmm okay, thanks anyway.

siNix
17 May 2008, 16:02
Hi, it works good! my question is: How can i change the colour and the size of the tekst inside the signiture? expample : see attchement

hilfe-forum
17 May 2008, 18:59
Luv it:up:

dancue
18 May 2008, 04:50
Hi, it works good! my question is: How can i change the colour and the size of the tekst inside the signiture? expample : see attchement

click on install

siNix
18 May 2008, 11:11
Dancue, i clicked on the instal button. do you have the anwser to my question ? :) if its possible also the colour of the text :)

dancue
18 May 2008, 13:56
The color and size of text in a signature is determined by the user who is creating his signature.

If you are wanting to change the default, that is different. I haven't done that myself. In fact, those who do not create their own signature, simply do not have one.

Do you have it set to give the user a saying automatically? Is that another hack?

Subah
22 May 2008, 00:32
Great mod , thanks a lot :)

Subah
23 May 2008, 00:38
I don`t find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



this is my hole postbit legacy code:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Subah
24 May 2008, 06:32
Hello !!

dancue
24 May 2008, 15:52
Hi !!

dancue
24 May 2008, 16:00
First of all, I don't know if you meant to come off as being rude, but those two exclamation points, sure indicated that that was the case.

Second. Remember this is a free mod supported when I have the TIME.

Third. Replace your postbit_legacy with this one:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Let me know if that works out.

Subah
25 May 2008, 10:43
First thank you for your help
Second if i`am asking for help is that being rude to you ?

dancue
25 May 2008, 13:55
No. exclamation points come off as being rude or insistent. That's all.

Anyways, it's not a big deal anymore...did it work?

Subah
25 May 2008, 19:00
I`am sorry for the exclamation points i don`t know that befor.

Yes thank you again it is work fine , but there is some thing i want to ask you about it , are you arabic ?
because the postbit code that you give it to me having arabic words ?

dancue
26 May 2008, 07:16
No, I am not. Sorry. I simply copied your postbit and then made a minor adjustment. I did not add any arabic words.

Schnee
31 May 2008, 16:48
Hi, I think this is what I want, but does anyone have a picture of how things looked BEFORE they installed this hack and then after?

Thanks!

0_0Zee0_0
04 Jun 2008, 18:01
greetings,

i have installed the mod ... but its showing 2 shades on the postbit ... how can this be fixed to one color as it would have been without the mod ...

MY POSTBIT_LEGACY



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



i have also tried changing ...



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



the "alt1" to "alt2" ... it still didnt change anything ...

hope 2 hear from u ...

best wishes.

dancue
05 Jun 2008, 01:07
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Try this code. You had the wrong "alt" changed. I've highlighted the change I made.

0_0Zee0_0
05 Jun 2008, 05:25
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Try this code. You had the wrong "alt" changed. I've highlighted the change I made.

nope that doesnt work ... maybe becoz of my theme's settings ... anyother fixes ?

dancue
05 Jun 2008, 05:50
send me admincp login via pm. I'll take a look at it sometime tomorrow and see what I can do.

LCN2007
15 Jun 2008, 04:54
Could you please help me i dont see the required code lines.
Here is my Post bit_legacy



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

dancue
15 Jun 2008, 07:39
do a search for this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



replace it with this:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



That should do it for the first bit of coding.

Let me know if you need help with the second.

LCN2007
15 Jun 2008, 18:03
Great it worked but how do i get rid of the line that makes it look like to seperate boxes?

I would like it if it looked like one box instead of being seperated by a line and t shades of color.

LCN2007
17 Jun 2008, 00:16
any help?

dancue
19 Jun 2008, 03:12
The shade of colors is controlled by the value "alt" is set to.

The line is controlled by cellspacing I believe. Change the value to 0.

Raptor
20 Jun 2008, 03:07
fyi this one worked perfect on vb 3.7.1

http://www.vbulletin.org/forum/showthread.php?t=128951&highlight=force+bottom

rolfw1
16 Jul 2008, 10:53
Thanks, Installed and changed the Alt value to 1 to make it match, works a treat. :)

pooffck1
16 Jul 2008, 14:14
This is my postbit_legacy template but i dont see any of the top lines that u stated, what do i do?



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Ohiosweetheart
29 Jul 2008, 08:50
Love it! Thanks so much :D

GaryT
29 Jul 2008, 13:31
Excellent!!, keep'em coming, great work :D

Ohiosweetheart
30 Jul 2008, 03:56
I didn't like the line going all the way across, and I didn't like it being in the middle when I made it narrower, so I edited it as follows -

Find -


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------





Replace with (or just edit, and add the part in red) -


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Adjust the width % to your liking.

dancue
01 Aug 2008, 17:12
Thank you Ohiosweetheart!

DungBeetle
28 Oct 2008, 11:26
I have different vb style, can somebody help me to make this work?



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

brhoom
29 Oct 2008, 03:38
Thanks Man

MrEyes
11 Dec 2008, 20:57
Unless I have made some sort of mistake with this installed your thread pages will no longer contain valid HTML, to a human they will look fine but to bots (i.e. google) they the markup is invalid.

If you take the standard legacy postbit and only change it to include this change 61 errors are created when checking validation here:

http://validator.w3.org/

Dingo14
12 Dec 2008, 14:14
i tried this but i dont have this line in my postbit legacy anyone help thanks

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

kurti
28 Dec 2008, 23:17
thanks! works fine in 3.7.4 :)