Support Forum

Forum Signatures – Formatting problems

13 Answers

New Answer

BR Brandon
Brandon
Member

In the Forum Admin section Profiles – Profile Options there is a signature Width and Height setting.  You would need to increase the settings to allow space for those large signatures.

MP Mr Papa
Mr Papa
Member

Brandon, thats not really right… that only limits the size of the signature image… but the real issue here is that the theme is limiting the entire signature height to 55px…

so, if you want a taller signature you will need to change the sp theme to allow bigger areas…  you do this in the spTopicView.php template file of the sp theme you are using… remember, we strongly urge you to make your own theme and not edit one of the core themes lest lose changes on upgrade…

look for the template function:  

sp_PostIndexUserSignature(‘tagClass=spPostUserSignature spCenter&maxHeightBottom=55’);

and change the 55 to the height you want to allow…

JL John Lee
John Lee
Member

Hey Mr. Papa,

Adjusting the height of 55 to 90 does help a bit. But I can’t adjust past that number cause the signature starts to overlap the content in the forum post. Do you know what other parameter needs to be adjust so that the max height of the signature can be increased without overlapping with the forum post?

YS Yellow Swordfish
Yellow Swordfish
Member

What SP theme is this please? Or if a custom one – which theme is it based on? We definitely have users who have made this change beyond 90.

MP Mr Papa
Mr Papa
Member

when I look at your site, the signature height is still set to 55px…

JL John Lee
John Lee
Member

I think I see what the issue is.

I was hoping I didn’t have to change the php files directly, so I tried to adjust the height via css in a child theme (I’m using the Standard Theme). That resulted in some unexpected formatting issues. By changing it directly in the php file it works as expected. 

Thanks for your help!

 

BTW – How do I create my own theme, so I don’t mess up the original files which get overridden in an update? Is there a tutorial somewhere in the forums?

MP Mr Papa
Mr Papa
Member

you can read our codex article on creating your own theme from one of ours:

http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/

LO Loic
Loic
Member

Hello,

 

I must be doing something wrong, I am using a copy of the default theme, and when I change the value in 

sp_PostIndexUserSignature(‘tagClass=spPostUserSignature spCenter&maxHeightBottom=55’);


to a higher number, it grows the white space from the end of the text in the post to the bottom of the post window, but the signature which sits in a seperate box below never changes..

hopefully this screenshot helps.SS-signatureheight.jpg

 

I want  to be able to grow the Signature space to a higher value.

MP Mr Papa
Mr Papa
Member

what are you trying to do???  yes, the signature is afixed to the bottom… so if you make the max sig height higher and the sig is small, more white space…  your example has a small signature… 

can you explain further this issue please…

LO Loic
Loic
Member

if I want users signatures to apear like this:

NAME

TITLE

SITE

 

instead of :

NAME TITLE SITE

 

YS Yellow Swordfish
Yellow Swordfish
Member

Signatures are free-form created by your users – you can’t really control how they set them up having given them permission to do so. Askthem to stick to standard I guess…

Having said that, 5.1.4 does have a small bug which strips some html from signatures which is fixed in the next update due very soon. And that will make things easier.