Support Forum

Any way for users to hide signatures?

18 Answers

New Answer

MO mike olson
mike olson
Member

Unfortunately it only sort of worked. It caused an error on threads with many replies. Once it calculated that it was going to need to go to another page it created a link to the next page but then the signatures being hidden made that page unnecessary so if you clicked the link to go to the next page it threw a database connection error. 

 

I need to figure out how to keep that from happening. 

YS Yellow Swordfish
Yellow Swordfish
Member

I don’t see any way that the change can possibly cause that sort of problem. That makes no logical sense at all. While I am not that fond of the way you have written it, the code is valid. (Personally we would have written it – assuming your new field is a checkbox so true/false):

if (! $spThisUser->hidesignatures) sp_PostIndexUserFlexSignature(‘tagClass=spPostUserSignature’);

Take a look in the error log (toolbox). Clear the error log out, run the page, replicate the problem and then take another look. Anything relevant?

MO mike olson
mike olson
Member

I will give this a go tonight and post the error logs