Quote Improvements
What is this
this product should help you remove the clutter when users quote long posts and their images. It simply replaces all quoted images with links New in version 1.2 Now with admin options so you can change the regular expressions easily. (see attached screenshot) Installation simply import the attached file as new product: AdminCP > Plugin System > Manage Products > [Add/Import Product] What it does when a user replies with quotes, the plugins replace the [IMG] and [VIDEO] in the quoted text with [url] using regular expressions: PHP Code:
$pagetext = preg_replace('/\[img\]([^\[]*)\[\/img\]/i','[url]$1[/url]', $pagetext);
Compatibility Since this product only uses two hooks (newreply_post_quote and newreply_quote) it should work on any VB version that supports those hooks. Be aware that other plugins that also rewrite quotes with those hooks might conflict with this product. (Simply test yourself) How to add more replacements Go to Admin -> Options -> Quote Improvements and add this as new line in the regular expression field: Code:
/BLA/i || BLUB History
Download
product-quote_improvements.xml (3.5 KB, 88 downloads) Supporters / CoAuthors
Screenshots |
Similar Mods
Convert [IMG] to [URL] in quoted text | vBulletin 3.5 Add-ons |