YesNoOk
avatar

Changelogs week 41, 2011 (Read 1830 times)

Started by Velvet, October 13, 2011, 08:24:32

0 Members and 1 Guest are viewing this.
#1
Changelogs week 41, 2011 |
October 13, 2011, 08:24:32
October 13, 2011
Commit ID: 1857cb2f9a63d35b6404daa0f96c02f86137d551, 31 changed files with 453 additions and 1,113 deletions.
  • New option for SEF-URLs: do not include board name in the URL, just the topic.
  • Removed the simple mode option for SEF-URLs (basically, this is the same as the default pathinfo-style URLs, so we don't need to duplicate this).
  • Started moving common confirm() and alert() JavaScript actions to custom (better looking) modal dialogs.
  • Message icon inline modify now uses a overlay.
  • getXMLDocument() in script.js is no longer needed.
  • some cleanups in script.js
  • Moved language strings for SimpleSEF to Admin language pack.
  • Remvoed all remaining instances of the smc_Toggle object (most are already using the collapse-able template container, the remaining few will follow).
  • Unified styling for all buttons (form- and non-form buttons).
Last Edit: October 14, 2011, 05:12:32 by Nightwish
#2
Re: Changelogs week 41, 2011 |
October 14, 2011, 09:26:56
October 14, 2011
Commit ID: c87ffe2d57190c7cc4f9afd764ceb074c8108899, 25 changed files with 699 additions and 658 deletions.

One thing I generally do not like is the lack of typographic options in most forums. There isn't much except a few BBCodes for simple formatting - certainly enough for the typical forum post, but way too limited for writing longer articles. Administrators can counter this with HTML posting, but normal users cannot and and using HTML tags in a forum post isn't the best idea anyway. I've already added 4 levels of header BBCodes and now a bit more...
  • New BBCode for column layout. [columns=N]Your text[/columns] can be used to format the text with N columns using CSS3 column-count property. A css class "bbc_columns" can be customized to tweak the column layout (except the number of columns which is applied via an inline style and depends on the parameter passed to the tag). Note that this needs a modern browser to show up properly and if a browser does not support the column-count property, the paragraph(s) will appear just like any normal text.

    This works in Opera, Firefox, Safari, Chrome... not IE though.
  • The [justify] tag can be used to format a paragraph with CSS text-align:justify property.
  • The [class=foo]Text[/class] tag can be used to format text with the given CSS class. The text will be wrapped in a <div> using the parameter as its CSS class.
The BBCode testing thread shows them in action...

Other changes
  • Simplified postbit_normal and postbit_blog a bit.
  • Scrapped the concept of page boards. The topic layout can now be set on a per-topic base when posting a new topic or modifying the first message of any topic (a permission to post with non-standard layout will probably be needed).
  • Some reorganization of postbit templates (again...)
  • Changed how posts from ignored members appear in the topic view and cleaned up the JS that handles ignored posts.
__
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to a single instruction that doesn't work.
My SMF-based forum fork
#3
Re: Changelogs week 41, 2011 |
October 15, 2011, 10:23:29
October 15, 2011
Commit ID: 5c92530d071866b0886bdc61e0aeea96bd96c48d, 31 changed files with 163 additions and 143 deletions.
  • applied new postbit style to personal message display
  • changed style for modal JS dialogs for more contrast vs. the general theme (they should stick out to grab attention).
  • more postbit template(s) cleanup
  • the help window is now using the custom modal JS dialog
  • New theme option to control the appearance of message icons in the last post column (declutter UI)
  • The help links in the admin panel are now more consistent and got rid of 3 million icons

     Posted: October 15, 2011, 13:06:01
  • eliminated one redundant query in Display.php (topic last modified time already known)
  • Moved SpiderCheck() and log_spider() to Load.php (it's not needed anywhere else and including ManageSearchEngines.php just for it is bloat
  • significantly increased cache life time for known spiders
__
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to a single instruction that doesn't work.
My SMF-based forum fork