Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: Kian on January 29th, 2015, 08:28 PM

Title: Impossibility to edit user signatures
Post by: Kian on January 29th, 2015, 08:28 PM
Hi again,

On PnR, it's impossible to set a signature in the profile section. Whenever we try to write one, the text disappears as it is written. On the second, dead, forum I host, the signtures work so I guess I may have a specific problem, perhaps coming from my migration.

This issue is more difficult to show as there is no error log for it. You go to the signature section, type in it, and the letters disappear as fast as they appear.

My only current solution, which of course works, is to let the members send me the signature they want and insert it in the SQL database.  (and the pre-existent signatures are there)
Title: Re: Impossibility to edit user signatures
Post by: Bunstonious on January 30th, 2015, 12:27 AM
Do users also have issues posting to the forum?
Title: Re: Impossibility to edit user signatures
Post by: Jurien on January 30th, 2015, 09:03 AM
Admin->Members->Signatures Check Enable signatures and or Minimum number of posts for signatures to be visible
Title: Re: Impossibility to edit user signatures
Post by: Kian on February 1st, 2015, 05:30 PM
Quote from Bunstonious on January 30th, 2015, 12:27 AM
Do users also have issues posting to the forum?
No.
Quote from Freñiçh on January 30th, 2015, 09:03 AM
Admin->Members->Signatures Check Enable signatures and or Minimum number of posts for signatures to be visible
Everything is set to 0 and checked.
Title: Re: Impossibility to edit user signatures
Post by: Nao on February 1st, 2015, 11:53 PM
Does this happen for all users, on all browsers..? Does the Javascript console show any errors? Would disabling Javascript entirely help? (I guess so... :P)
Title: Re: Impossibility to edit user signatures
Post by: Nao on February 1st, 2015, 11:59 PM
Oh... If maxLength is set to 0, then it might do what it's doing. Try setting the admin > members > member options > signatures > maximum length setting to 5000, instead of 0. I bet it'll fix the problem...! It's probably a bug, I'll have to check.
Title: Re: Impossibility to edit user signatures
Post by: Nao on February 2nd, 2015, 12:00 AM
Or try replacing line 2804 in Profile.template.php with:

Code: [Select]
if (maxLength > 0 && currentSignature.replace(/\r/g, "").length > maxLength)
Title: Re: Impossibility to edit user signatures
Post by: Kian on February 14th, 2015, 09:52 PM
Quote from Nao on February 1st, 2015, 11:59 PM
Oh... If maxLength is set to 0, then it might do what it's doing. Try setting the admin > members > member options > signatures > maximum length setting to 5000, instead of 0. I bet it'll fix the problem...! It's probably a bug, I'll have to check.
Thanks :cool:
I should have tried that.
Title: Re: Impossibility to edit user signatures
Post by: Nao on February 15th, 2015, 08:59 PM
Please make sure this is fixed in the latest release..?
Title: Re: Impossibility to edit user signatures
Post by: Kian on March 17th, 2015, 02:59 PM
Quote from Nao on February 15th, 2015, 08:59 PM
Please make sure this is fixed in the latest release..?
Testing with maximum length set to 0 : it's fixed, thanks !