Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Post Beautifier - Punctuation and Spelling Details »»
Post Beautifier - Punctuation and Spelling
Version: 1.0.0, by TZ. TZ. is offline
Developer Last Online: Jul 2015 Show Printable Version Email this Page

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 ...
How to Install/Configure?
  1. Import XML file (as product): AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]
  2. Configure: AdminCP -> Settings -> Options -> Post Beautifier
  3. That is it!

History:
  • [24-03-12] v1.0.0 - First Release

Sorry for my bad english...

Download Now

File Type: xml product-post_beautifier_by_tz.xml (8.3 KB, 111 views)

Screenshots

File Type: jpg PostBeautifierSettings.jpg (174.9 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
Alan_SP, babyv0x, djbaxter, nacaruncr, Sunka

Comments
  #12  
Old 04-01-2012, 01:28 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How server intensive is this mod?

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.

Great work, really, I'm impressed. :up:
Reply With Quote
Благодарность от:
TZ.
  #13  
Old 06-09-2012, 03:12 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In vB 4.2.0 PL1 gives the following PHP error when trying to view a thread or post:

Quote:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /includes/class_postbit.php(345) : eval()'d code(267) : eval()'d code on line 3
Reply With Quote
  #14  
Old 08-06-2012, 10:24 PM
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"?
Reply With Quote
  #15  
Old 08-28-2012, 12:47 AM
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those that don't want the "bottom" left quote, edit the Plugin and change each instance of with .
Reply With Quote
  #16  
Old 03-02-2013, 10:45 AM
Spangle Spangle is offline
 
Join Date: Jun 2011
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like this one is abandoned ( another), seems to be good, but I need a couple of questions.

Does it use "American English" ?( I hate that phrase, it's a contradiction in itself)

Does it use American grammar ?

If so it's blooming use on an English board.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05212 seconds
  • Memory Usage 2,292KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete