Adding check for post visibility being 0 or more to fix #819.
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Merge branch 'feature' of https://github.com/mybb/mybb into featurefix-819
Changing SQL to allow soft deleted posts to show.
Fixes #895 - Upgrade30.php bugs
Implements #905 Add class to smilies
Feature #280 Smilies/Post Icons and theme imgdir
Working on #436 Portal Improvements
Added setting to exclude forums from latest threads box. Also updated some setting descriptions.
Working on #436 Portal Improvements
Setting had the wrong name >_<
Feature #280 Smilies/Post Icons and theme imgdir
Wrong image directory in Admin CP...
Feature #280 Smilies/Post Icons and theme imgdir
Forgot the smilie inserter...
Feature #280 Smilies/Post Icons and theme imgdir
Forgot the smilie inserter part 2...
Merge pull request #827 from euantorano/featurefix-819

Adding check for post visibility being 0 or more to fix #819.
Feature #439 Moderate Groups
Fixed permissions related to #351
Feature #439 Moderate Groups
Fixed bug when editing group permission
Merge remote-tracking branch 'origin/feature' into feature

Conflicts:
	global.php
	inc/class_parser.php
	inc/functions.php
	install/resources/mybb_theme.xml
Fixes PHP warning when logging
Implements #905 Add class to smilies
Implements #893 Add get_user_by_username() helper function.

Update ```verify_username_exists()``` method in
```inc/datahandlers/user.php```.