Version: 1.0.0, by TZ.
Developer Last Online: Jul 2015
Category: Show Thread Enhancements -
Version: 4.x.x
Rating:
Released: 03-23-2012
Last Update: 03-23-2012
Installs: 21
Uses Plugins
No support by the author.
About this hack:
The Post Beautifier to make posts more readable. Corrects punctuation and common misspellings (If you set word list). Remove multiple punctuation marks.
Features:
Punctuation mark and space relationships
Remove multiple punctuation marks
Quotes and space relationships
Brackets and space relationships
Images (example smiles) and space relationships
possibility for autocorrect word list
Sample: before:
Quote:
Lorem ipsum!!!!!!!!!!!!!!!!!!
...........dolor sit amet,consectetur adipisicing elit ,sed do eiusmod tempor incididunt ut,labore et dolore magna aliqua.Ut enim"ad minim "veniam,quis nostrud exercitationullamco laboris nisi ut aliquip ex ea commodo consequat.Duis ( aute)irure dolor in reprehenderit in voluptate( velit esse cillum )dolore eu fugiat nulla pariatur????????????????Excepteur sint occaecat cupidatat non proident ,sunt in culpa qui officia deserunt mollit anim id est laborum..................................
after:
Quote:
Lorem ipsum!!!
... dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut, labore et dolore magna aliqua. Ut enim ?ad minim? veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis (aute) irure dolor in reprehenderit in voluptate (velit esse cillum) dolore eu fugiat nulla pariatur??? Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ...
As I see, every time someone looks at post, it runs the same routine. As thread's page has many posts, for each page it runs multiple times. And so for each thread, for each user, guest also.
Could you maybe add plugin that will do this when post is posted and save corrected post in database, so it's run only once?
And of course, leave this plugin for people who wants to correct looks of old and new posts, without changing posts in database. Maybe you could even do what I suggest as separete mod, or combine both plugins in one mod?
Anyway, I must say that this is really great idea, many people on my forum don't know how to use punctuation, it's really horrible. But, here comes your mod. :up: And if you could make it that it changes post content on post creation, not just looks of it, as it is less server intensive, it would be really fantastic.
Silly question, but will this also change the search functionality? For example, if I wanted to search for "......." (no idea why I would, just theoretically), would this find "bad" posts, but then display them "beautified"? Or would this not even find those posts, since they would already be "beautified"?