Topic: [pun_quote] Quote includes signature code

When you quote this post the signature code appers in the quote, half as bbcode and half as html...

There was anyother post i found which did something like this too.. Ill have a look.

Sorry. Unactive due to personal life.

2 (edited by User33 2009-01-02 01:14)

Re: [pun_quote] Quote includes signature code

This will happen with any post that has a signature.

It's a pun_quote bug.

Re: [pun_quote] Quote includes signature code

Ouch... Im assuming it down to pun_quote  and not something like parser...

Sorry. Unactive due to personal life.

4 (edited by User33 2009-01-02 01:44)

Re: [pun_quote] Quote includes signature code

This can be fixed by adding:

            post = post.replace(/<p class\=\"lastedit\">(.*?)<\/p>/,'');
            post = post.replace(/<div class\=\"sig-content\">(.*?)<\/div>/,'');

between Line 97 and 98 on 'pun_quote/scripts.js'.

Re: [pun_quote] Quote includes signature code

Garciat wrote:

This can be fixed by adding...

Does not work.

6 (edited by User33 2009-01-02 20:51)

Re: [pun_quote] Quote includes signature code

I tried it on my test forum and it did work.

Edit: Works only on Firefox.

Re: [pun_quote] Quote includes signature code

This one works on FF and IE6: http://snipplr.com/view/10831/punquote-scriptsjs-fixed/

Re: [pun_quote] Quote includes signature code

Thank you. That's ok now. tongue
Was it tested at Opera & Google Chrome?

Re: [pun_quote] Quote includes signature code

Nope, but it should work...

Re: [pun_quote] Quote includes signature code

Works fine in Opera and Chrome as well.  Thanks!