×
K5.1.1 is released (10 Jun 2018)

The Kunena team is pleased to announce Kunena 5.1.1 [K 5.1.1].
Please read the blog post for information:

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Question no bbcode in signature

More
5 years 1 month ago #1 by Heurazio
hello everybody,

if you are on the search for a solution to get your signatures bbcode free, here is what i did.

you have to replace / outcomment the following lines
/httpdocs/components/com_kunena/views/user/view.html.php :110
/httpdocs/components/com_kunena/views/topic/view.html.php :760

and replace them with this code
$this->signatureHtml = substr ( $this->profile->signature , 0 , $this->config->maxsig );
$this->signatureHtml = htmlspecialchars($this->signatureHtml);

all what it does is to cut of any text above the "max signature length" limit and replacing all html special chars.

i hope it's a help for you.

best regards
alex

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.074 seconds