=== Buddypress UX === Author: Charl Kruger == Description == Description: Focused on enhancing the user experience - 3 column layout: multiple sidebars allowing for relative context to context, zebra activity styling, an enhanced logged-in widget and more.. The theme serves to be a base to work and learn from whilst offering an alternative to the buddypress default theme. Do not use the theme on a live site as it is a beta version If you find this plugin useful, please rate it. == What’s been changed in the theme? == The theme has been customised for a better user experience there are a lot of small changes and I will try to list them all. -added a query to check if the member is logged in or not, if the member is not logged in, they will be shown a custom home page with the focus on signing up and some info about your site. -added custom menu support, thanks to the tutorial provided by modemlooper: http://modemloop.wordpress.com/ *note that I have edited the css of menu and page selected. -added multiple sidebars: home/index, activities, members, groups, forums, blog. -added a smaller header and content padder for the following pages; so users can focus on the task at hand, also removed the sidebars: registration page, create groups page, 404 error. -added zebra styled activity streams for better readability* note there is an issue with IE -customised the logged-in widget, previously located in the buddypress default sidebar ( sidebar.php ). This was done to improve 'user navigation'. -customised the activity form ( what's new *user* ). -added a 'change avatar' link to a members profile, ( ../members/single/member-header.php ). This is only visable by the 'profile owner'. == Themes intended purpose according to the author == This theme has been created to allow 'new comers' to Buddypress to have a bit more of a variety and a base to work from ( being a child theme of the buddypress default theme ) whilst maybe learning a thing or two - as the theme is well documented. Along with the above, I have tried to create a theme where by the user experience is better enhances, alowing for better usability and readability. == To do == -fix the issue with the zebra styled activity streams not showing in IE. -fix a issue where by if the content area is 'shorter' than the sidebars ( being 'taller' from widgets ), the content boarder breaks. == Frequently Asked Questions == = What happened to the buddypress admin bar? = The buddypress admin bar has been removed from the theme using the a custom function, you may remove the function but note that the admin bar does not scale with 'registration page' and 'create groups page'. This has been achieved using a custom function in functions.php. Search for: /*remove buddypress admin bar */ = Where’s the code for the modified log-in/log-out widget? = You can find the 'widget' in the static sidebar ( static-sidebar.php ) from line 7 to line 72. = What happened to the normal home page ( index.php )? = The home page has been modified to focus on sign-up; you may customise the home page for non logged in members. If you dont want your non-logged-in members to be show different info, simple delete the current index.php and rename index-normal.php to index.php Note that one you have chosen your prefered 'index', delete the one not in use. = What sidebar is used for 'pages' and 'achieves'? = The index sidebar ( index-sidebar.php ). So the widget that you use in the right hand side sidebar on your home page, these widget will display on new/existing 'pages' ( page.php ). = Why are there so many sidebars? = There is a sidebar relative to each 'element' of buddypress - example: members page and members single can now have content that is relative to the context. = What happened to the default buddypress sidebar = The default buddypress sidebar has been removed, using a custom function in functions.php. Search for: /* Function to remove the Buddypress default sidebar note for every side bar added or removed the 'sidebar count' will have to be adjusted example: removing the blogs sidebar will result in 'sidebar-7' in the below function */ = There’s a widget in the forums sidebar 'I' didn’t add = The forums sidebar ( forums-sidebar.php ) has an existing widget included. The 'Show forum tags on the forums directory' is what is used in the default buddypress sidebar ( sidebar.php ). If you would like to remove it, remover the code from line 6 to 15 from forums-sidebar.php == How to make use of additional theme functionality == = how to add a custom menu? = 1. Navigate to wp-admin, in the left hand sidebar, under apearance; click menus. 2. fill in a name for your menu, then click create menu. 3. Under 'theme locations', select your new menu from the drop down list, and click save. 4. Under 'custom links', in the url field - fill in your sites url followed bu a /thepageyouwouldliketonavigateto/ example: url: http://example.com/activity/ Then fill in your desired page name, relative to the url. Like 'Activity' for http://example.com/activity/ and click 'add to menu'. 5. Once you have more than one menu, under your menu ( from step 2 ), you can drag your 'custom links' ( from step 4 ) left or right, by moving one 'notch' right, the 'custom links' will become a sub-nav of the parent 'custom links' above it, resulting in a drop down menu. = how to change number of activity items to display? = In functions.php you can set the number of activity items to display by changing '&per_page=10', change 10 to what ever you like. To find the function, search for /* Change the number of activity items to show per page */