###############################################
####                                        ###
##                                           ##
#   Simple Bulletin Board - SBB4+ Edition     #
#   V4.2                                      #
#   2013-10-11                                #
#   envato@homac.net                          #
##                                           ##
####                                        ###
###############################################
#
#
#	Since 4.0 two versions of SBB are current versions
#	there are 4.x and higher versions -> called SBB4+
#	and 3.x versions -> called SBB4+
#
#
#
# update 2013-10-11 [4.2]
#
# *) added: reCAPTCHA module
# *) added: social share row (facebook, google+ and twitter)
# *) added: like post function
# *) added: don't like post function
# *) refinement: Quickskin auto-cleanup equipped with directory checks
#
# update 2013-06-28 [4.1]
#
# *) sorting rank images in board administration by name
# *) added video BBCode to private message form in all templates
# *) removed overmuch line break from signatures in posts and private messages
# *) Javascript correction for GD-less Captcha Spam protection
# *) fixed some pagination issues when disabling pagination (not suggested to disable pagination)
# *) considered changes caused by the jquery.1.9.1 update
#		- fix for the toggle multiple checkbox function
#		- fix for the maximum image width
# *) added auto cleanup funtion for the temporary compiled QuickSkin (used template engine) files
# *) some template variable changes to make it easier to handle the templates
# *) added footer template file to every template
# *) added template ripping protection 
#
# update 2013-06-19 [4.0]
#
# *) completely replaced the used template engine with QuickSkin
# *) updated jquery to 1.9.1
# *) replaced tooltip plugin with tipsy
# *) moved all js files into the js folder
# *) removed HTML Template (default)
#
#########################################################################
#############						    #############
#############		SBB3+ ends here, SBB4+ starts here  #############
#############						    #############
#########################################################################
# update 2013-06-18 [3.2]
#
# *) small "fixes"
#	- success message after sending mails to all members
#	- added missing value {BOARD_ADMIN} to welcome mail
#	- replaced depricated splits with explodes
# *) changed embedded method of embedding youtube videos to iframes
# *) added possibility to use shorten Youtube Urls (youtu.be...)
# *) added possibility to add vimeo videos too
# *) changed "youtube" BBCode/button to "video" - youtube BBCodes work furthermore
# *) added 4 more dark templates (Silk, sLime, Velvet and Marabellow)
# *) languagecheck (langcheck.php) implemented - useful for language updates
#
# update 2012-11-14 [3.1]
#
# *) some PHP5.3 fixes
# *) added two great performance fixes for bigger boards
# *) possibility to move topics into other forums (for admininistrators and moderators)
# *) possibility to delete multiple topics within topics overview sites  (for admininistrators and moderators)
#
# update 2011-03-26 [3.01]
#
# *) added missing field in questions table (for guest's posting)
# *) IE textarea wrap bugfix in the administration (modrewrite section)
# *) fixed userrank display bug (empty topic starter rank image was shown when no rank was set)
#
# update 2011-03-21 [3.0]
#
# *) fixed bug in User Administration
# *) Private Message system
# *) added Pagination for User Administration
# *) attached images will be displayed within the articles
# *) Fixed Reset Password Function (guests only)
# *) Register Funxtion (guests only)
# *) Fixed sendmail2all bug
# *) Possibility to add Users in the Board Administration
# *) Considering empty forums on start page 
# *) Added possibility to handle your own board avatars
# *) Gravatar support on profile view
# *) Added automatic resizing of uploaded avatars if gd_info-fuction exists
# *) New and unread topics since last visit will be marked now
# *) Added possibility to define different permissions (viewing/posting/replying) for each forum (including guests)
# *) Added Orderby function (asc/desc) rfor user lists in the frontend and in the backend
# *) added JQuery Tooltips to the topics overview
# *) improved BBCode (W3C changes - img, target, u)
# *) changed previously working max image width module from CSS to JQuery
# *) Added XHTML Template
# *) Added CarbonCity Template
# *) Added external Latest Topics module
# *) Added external Board Statistics module
#
# update 2010-05-11 [2.01]
#
# *) Poll fix
#	each was only able to vote for only ONE poll, this is fixed now
# *) fixed missing language entry
#
#
# update 2010-05-07 [2.0]
#
# *) completely new language system makes it easier to add and modify languages
# *) redesigned mostly to classes
# *) some bugfixes
#     - really hide deactivated users and fix for not founds
#     - strip_tags answer
#     - dynamic template path (css)
#     - some permission checks
# *) added activation 
#     - disable activation
#     - by user
#     - by admin
# *) added possibility to upload attachments to posts
# *) added possibility to add polls to topics
# *) added infos about "WhoIsOnline"
# *) added some board statisitics to frontpage
# *) added pagination for single topics (for the posts within)
# *) added possibility to give users a timeslot for editing their posts
# *) added possibility to post youtube videos to posts (BBCoded)
# *) added pagination for userlist
# *) possibility to use a default avatar
# *) possibility to add external smilies
# *) possibility to use gravatars
# *) Printversion  (Textexport)
# *) RSS-Feed for Forums
# *) added pagination for search results
# *) strip bbcode in searchresults
# *) added categories
# *) added preview for topics (Mouseover title tag
# *) added welcomemail
#
#
# update 2010-01-17 [1.57]
#
#   *) Small security update
#	Now it's not possible to add own HTML or JS Codes
#
#
# update 2009-12-29 [1.56]
#
#   *) fixed watch forum / watch topic bug
#       was accessible for non-logged in users too - no impact but unattractive :) 
#
#
# update 2009-12-26 [1.55]
#
#   *) Already documented avatar width bug fixed
#   *) Added image dimensions to every image in the templates to prevent of some IE troubles
#   *) The usermanagement is now part of the board administration
#   *) Added ability for board admins to send a message to all active users
#   *) Added watch topic / watch forum function
#   *) Added forgotten password function
#   *) Moderators can edit users through the users profile
#   *) Some small fixes
#       Redirecting to active forum after deleting topic
#       Redirecting to active forum after lock/unlock topic
#   *) Ability to disable/enable avatars
#
#
# update 2009-12-03 [1.5]
#
#   *) Most settings can now be defined in the Board Administration and
#       are stored in the database
#   *) Fixed relative path calculation for Windows machines
#   *) Added ability to define maximium width of images in posts 
#       to prevent breakout of the content
#   *) Added posibility to enable/disable registration of new users
#   *) !!! New integration method for the sbb into your site !!!
#   *) Enabling/Disabling user messaging boardwide
#   *) Enabling/Disabling board notification
#   *) Added SEO option (can be enabled/disabled) - requires mod_rewrite
#       Most of the links will be transformed into search engine friendly ones
#   *) Now categories (forums) can be defined within the board
#   *) Added Board description 
#   *) Added more infos for user (website, interests, birthday (age), place of residence, occupation)
#       Information can be found next to posts, and in profiles
#   *) Added ability to quote posts by one click
#   *) Added overall-search function
#
#
# update 2009-11-05 [1.46]
#
#   *) Fixing troubles with magic_quotes, double_escapes
#       PHP magic_quotes will be no longer supported with PHP 5.3
#       so SBB now will check if magic_quotes are enabled or not and 
#       uses mysql_real_escape_string for SQL-Queries
#
#
# update 2009-10-18 [1.45.1]
#
#   *) Small bugfix
#	More information can be found in the update_1.4x_to_1.45.1.BUGFIX.txt
#
#
# update 2009-10-15 [1.45]
#
#   *) Added CAPTCHA alternative for servers which doesn't support GD-Library
#   *) Improved and extended BB-Code support
#       Now supporting
#         [b][/b] ... bold
#         [i][/i] ... italic
#         [u][/u] ... underlined
#         [list][/list] ... list
#         [list][*][/list] ... list
#         [*] ... element of list
#         [quote][/quote] ... quoted text
#         [code][/code] ... codeblock
#         [img]URL[/img] ... image
#         [url]URL[/url] ... url
#         [url=URL][/url] ... url with description
#   *) Signatures supports BBCode now too
#       all BBCodes, expect the [url]-BBCodes, 
#       cause SBB detects links and make them clickable within the signatures
#   *) Added total posts and joining date to poster's info (below avatar) on topic view
#
#  
# update 2009-10-08 [1.4]
#
#   *) Re-coded the default-template
#      Almost all Style-definitions are now controlled by the template stylesheet
#      Expect some margins, floats, widths, heights
#   *) Protecting from doubleposts caused by reloading or double-clicks
#   *) Ability to make single topics sticky
#      Sticky topics are marked and ranked at the top in the topic overview
#      Can be set by moderators and administrators
#   *) Ability to lock and unlock topics
#      Locked topics are marked in the topics overview and cannot be extended till the topic is unlocked
#
#
# update 2009-09-24 [1.3]
#
#   *) Added signature function
#      now the users can create their own signatures which will be shown below the user's posts
#      signature detects links and make them clickable
#   *) Added avatar upload function
#      users can upload their avatars, the dimensions of the allowed avatars can be defined within the conf.php
#      avatars will be shown next the username in topic views and profile views
#   *) new setup routine
#
#
# update 2009-09-18 [1.2]
#
#   *) Increased the comfort of the paging function
#      e.g. for page 7 of 21:
#       1 ... 5 6 7 8 9 ... 21
#   *) Added possibility to edit posts
#      currently only available for ADMINs and MODs
#   *) Updated CSS-file from the default template
#      all definititions are only assigned to the CSS-ID 'sbb' - this should prevent from overruling parent style definitions
#      the 'old' CSS-file is still included (V1.2)   
#   *) Some small fixes
#
#
# update 2009-09-17 [1.1]
#
#   *) Added CAPTCHA protection for the reigistration of new users (thx phpcaptcha.org)
#      Can be enabled/disabled within the config file
#   *) Added topics-per-page option
#      The value can be set in the config file
#   *) Some small fixes
#
#
# released 2009-09-15 [1.0]
#
