MyBB Community Forums
[How To?] Remove <p><br></p> from signature - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Remove <p><br></p> from signature (/thread-225051.html)



Remove <p><br></p> from signature - KlausT - 2019-10-20

Hi

I need your help with a strange error that now shows up on every signature <p><br></p> 
How to remove this?

I dunno where it is in the admin CP, 
can someone please help me out

Thank you


RE: Remove <p><br></p> from signature - noyle - 2019-10-20

Do you have similar problems when submitting new posts?

Also have a check on the postbit_signature template.


RE: Remove <p><br></p> from signature - KlausT - 2019-10-20

(2019-10-20, 06:58 PM)noyle Wrote: Do you have similar problems when submitting new posts?

Also have a check on the postbit_signature template.
I have that in any group and user
I went to users and opened to check and on signature there is nothing there

Sorry to be a newb but where can I find postbit_signature template Huh

Found it under 'template sets' > 'Myforumtemplate' - 'expand templates'

but on 'Postbit templates' > 'postbit_signature'

<div class="signature scaleimages">
{$post['signature']}
</div>

I have to honest I am lost with a simple error or so I thought it was


RE: Remove <p><br></p> from signature - noyle - 2019-10-20

Could you please post a link to the page showing <p><br></p> in signatures?


RE: Remove <p><br></p> from signature - HLFadmin - 2019-10-20

1. Enable "Output template start/end comments?" in Server Optimization Options.
2. View page source for post in question, copy paste segment marking signature.
3. See what the actual signature contains.

Using Default theme, my original signature is a simple line ending with period.
Quote:<!-- start: postbit_signature -->
<div class="signature scaleimages">
Too old for bullshit.
</div>
<!-- end: postbit_signature -->


Then, just for grins and giggles, I edited my signature to add a line break, resulting in:
Quote:<!-- start: postbit_signature -->
<div class="signature scaleimages">
Too old for bullshit.<br />

</div>
<!-- end: postbit_signature -->


If your signatures are delimited by <p><br></p>, then it either exists in the stored signature, or in the template.

Check all themes.


RE: Remove <p><br></p> from signature - KlausT - 2019-10-20

I am sorry but in all templates, both the original and the altered one 'postbit_signature' do not have <p><br></p>

You say in the stored signature ( I checked every single member and no one has it also) is this found elsewhere
or by ftp doing a search on any file

The inspector gives me
<div class="signature scaleimages"> <p><br></p></div>

sorry to bother you but I am literally banging my head over this annoying 'bug'


RE: Remove <p><br></p> from signature - makpaolo - 2019-10-21

Revert codebuttons template to default.

This will prevent it from happening further but it won't remove previous text