This is an old revision of the document!
Table of Contents
Improved quote (pun_quote)
- Status: stable
- Current version: 2.0
General idea
- Allow user to select the part of the message to quote and other quoting improvements.
Specification
- pun_quote 2.0
- On clicking
Quote
(Reply
, ifQuick reply
is enabled), if user has selected a part of the text, only this part will be quoted:[quote=Post Author]selected text[/quote]
. - If
Quick reply
is enabled:- For the post in topic view, replace
Quote
withReply
(just a text). - Add the
Quick Quote
action, on click:- If no text selected, copy the
[quote=Post Author]whole message[/quote]
to theQuick reply
form. - If user has selected some post text, copy the
[quote=Post Author]selected text[/quote]
to theQuick reply
form.
Bugs
- When message starts with
[quote]test[/quote] other text
and no text selected, onQuick Quote
click the message pasted intoQuick reply
form is incorrect. — Anatoly 2008/11/18 06:46 - Quick quote is including the user's signature into the quote (forums post). Maybe actually similar to previous bug.
- If pun_quote is enabled, then those who have javascript disabled can not quote at all. (Forums post by 8k84)
- Reply to post is broken, when URL rewriting is enabled. (Forums topic by hcgtv)
Links
- Trac ticket: #178
- Browse code:
- Forums topic: [extension release] JS post quote (pun_quote)
- Inspired by the 1.2 mod used at punbb.ru.
- Visit PunBB extension repository to download this extension.