 |
 |
 |
 |
Registered: 06/23/06
Posts: 842
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#247300 - 12/18/11 01:01 PM
Re: New Features + Bug Fixes for 7.6 ( implemented )
[Re: SD]
|
|
Registered: 04/19/07
Posts: 4205
Loc: SoCal, USA
|
|
Feature: Remove all the copyright baggage from each file and put into ONE copyright.txt in ubb rootWe've carried around a huge copyright header in every script file that was unneeded to maintain proper copyright info. Additionally, whenever things changed, all those headers had to be modified. Now, the copyright is in one file and covers all files underneath ( excluding the add on libraries -- those are mentioned as well however ) For modders, this was a HUGE pain in the ass when running compares. Now, the headers are short, sweet and even more meaningful ( ie: i give you a blurb on WTF the file does! ) Every script and lib file has a consistent header like:
<?php defined("UBB_MAIN_PROGRAM") or exit;
Templates are also consistent like: {*
Version: 7.6
Purpose: Displays the Public Calendar Island
Future:
*}CSS like so: /*
Version: 7.6
Purpose: Performs 2 major functions.
1st is to set defaults for many of the elements, much like Eric Meyer's reset.css does.
2nd is to pull the inline markup that was in *.tpl files into CSS form for more flexibility
Future: As themes become less dependent ( backward compatibility ), this file will shrink.
*/and Javascript files as well... /*
Version: 7.6
Purpose: All of the legacy ubbthreads javascript into one file
Future: This will slowly dwindle away as jQuery takes over
*/ Now, with this consistent structure, it will also be possible to add automation to updates and file comparisons in the future... ( can you say more automated upgrades? -- maybe ) All in all, this just cleans up the code and makes it a better foundation for moving forward
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#247522 - 12/28/11 12:42 AM
Re: New Features + Bug Fixes for 7.6 ( implemented )
[Re: SD]
|
|
Registered: 04/19/07
Posts: 4205
Loc: SoCal, USA
|
|
Feature(s) - Editpost, approvepost, deletepostThe code for these 3 functions were spread out over too many files to reliably manage. I've now made all the editors and positions of the buttons consistent. A ton of code cleanup was done ( cleaned out a ton of obsolete code ). Security holes were fixed and common functions ( validation / permissioning ) were used to ensure consistency and non-corrupt databases. The number of things that could potentially go wrong are too long to list here, but we now have a more solid foundation. To take just edit post for an example: the total code size in 756 was 29K.. now with the combined / cleaner code, it is 17K and does fewer unnecessary queries as well. Smaller things, like LOCKING THE TOPIC that is about to be deleted have also been added. Before, there was a chance that a use could be replying to a topic that was about to go gonzo and produce a post that was an orphan. ( the same idea / cleanup has been applied to deleting a user -- 756 leaves stray unhooked PMs from users -- spammers -- who get deleted ) This happens on this forum all the time and is very annoying!  Anyway, for many forums, there is a desire to only make the topic subject be the subject for all replies after that. Some people change the subject and especially in flat mode, it makes no sense at all. There is now a way to configure the board to disallow this:  When a user edits any reply, they just see the subject and cannot change it.  All of the save buttons go thru a common fadeout message as well..  I really should post another 10 screens here to show all the possibilities, but this should just be considered a template for all editors now with the buttons right below the editor. Additionally all templates are chock full of CSS goodness for the stylers to go crazy with..
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|