Differences
This shows you the differences between the selected revision and the current version of the page.
punbb13:pun_quote 2009/03/23 05:40 | punbb13:pun_quote 2020/02/06 11:04 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Improved quote (pun_quote) ====== | + | Moved to [[punbb13:extensions:pun_quote]] |
- | [[punbb13:Official extensions|PunBB 1.3 official extension]] | + | |
- | * Status: **stable** | + | |
- | * Current version: **[[http://punbb.informer.com/extensions/pun_quote/pun_quote.zip|2.0]]** | + | |
- | + | ||
- | ===== General idea ===== | + | |
- | * Allow user to select the part of the message to quote and other quoting improvements. | + | |
- | + | ||
- | ===== Specification ===== | + | |
- | === pun_quote 2.1 === | + | |
- | == Main == | + | |
- | * On the viewtopic page there are two links: "Quick post" and "Reply". When a user clicks on the "Quick post" link, a selected portion of text is copied to the "Quick post" form; when a user clicks on "Reply", the selected text is copied to the reply form. | + | |
- | * When "Quick post" is enabled | + | |
- | * "Quick quote" link. | + | |
- | * If no text is selected, copy the ''[quote=Post Author]whole message[/quote]'' to the ''Quick reply'' form. | + | |
- | * If user has selected some text of a post, copy the ''[quote=Post Author]selected text[/quote]'' to the ''Quick reply'' form. | + | |
- | * "Reply" link. | + | |
- | * If no text is selected, copy the ''[quote=Post Author]whole message[/quote]'' to the reply form. | + | |
- | * If user has selected some text of a post, copy the ''[quote=Post Author]selected text[/quote]'' to the reply form. | + | |
- | * When "Quick post" is disabled | + | |
- | * "Quick quote" link. | + | |
- | * Don't show up | + | |
- | * "Reply" link. | + | |
- | * If no text is selected, copy the ''[quote=Post Author]whole message[/quote]'' to the reply form. | + | |
- | * If user has selected some text of a post, copy the ''[quote=Post Author]selected text[/quote]'' to the reply form. | + | |
- | * If JavaScript is disabled: | + | |
- | * "Quick quote" and "Reply" links: | + | |
- | * Copy the ''[quote=Post Author]whole message[/quote]'' to the reply form. | + | |
- | == Technical details == | + | |
- | * Posts of the topic are stored at the viewtopic page in the JavaScript array. | + | |
- | * "Quick post" link. | + | |
- | * Initial post is cleared from all symbols, except letters and numbers. | + | |
- | * If a selected text is inside a cleared post, the extension only quotes this selected text, if not - the whole post. | + | |
- | * If JavaScript is disabled, standard quoting mechanism will redirect the user to the reply form. | + | |
- | * "Reply" link. | + | |
- | * Implements the standard quoting mechanism. | + | |
- | * Even though JavaScript is disabled, this link is displayed on the page. | + | |
- | + | ||
- | ===== Bugs ===== | + | |
- | * When message starts with ''[quote]test[/quote] other text'' and no text selected, on ''Quick Quote'' click the message pasted into ''Quick reply'' form is incorrect. --- //[[anatoly@punbb.org|Anatoly]] 2008/11/18 06:46// --- fixed | + | |
- | * //Quick quote is including the user's signature into the quote// ([[http://punbb.informer.com/forums/post/119506/#p119506|forums post]]). Maybe actually similar to previous bug. --- fixed | + | |
- | * If pun_quote is enabled, then those who have javascript disabled can not quote at all. ([[http://punbb.informer.com/forums/post/119554/#p119554|Forums post by 8k84]]) --- fixed | + | |
- | * Reply to post is broken, when URL rewriting is enabled. ([[http://punbb.informer.com/forums/topic/20345/punquote-bug-reply-to-post-broken/|Forums topic by hcgtv]]) --- fixed | + | |
- | * If the whole message is citing BB-codes are ignored. --- //[[Denis]] 2008/12/2 17:50// --- fixed | + | |
- | + | ||
- | ===== Feature requests ===== | + | |
- | * The selected text is always added to the end of Quick Post, but it would better add it just at the current cursor position. --- //[[anatoly@punbb.org|Anatoly]] 2008/11/26 07:01// | + | |
- | * Don't output JS-arrays for guests. | + | |
- | + | ||
- | ===== Links ===== | + | |
- | * Trac ticket: #178 | + | |
- | * Browse code: | + | |
- | * Trac: [[http://punbb.informer.com/trac/browser/additions/punbb-1.3/extensions/pun_quote/|/trac/browser/additions/punbb-1.3/extensions/pun_quote/]] | + | |
- | * SVN: [[http://punbb.informer.com/svn/additions/punbb-1.3/extensions/pun_quote/|/svn/additions/punbb-1.3/extensions/pun_quote/]] | + | |
- | * Forums topic: [[http://punbb.informer.com/forums/topic/20104/extension-release-js-post-quote-punquote/|[extension release] JS post quote (pun_quote)]] | + | |
- | * Inspired by the 1.2 mod used at [[http://punbb.ru/|punbb.ru]]. | + | |
- | * Visit [[http://punbb.informer.com/extensions/|PunBB extension repository]] to download this extension. | + | |
- | ===== Screenshots ===== | + | |
- | {{:punbb13:pun_quote.png|}} | + |