=== BP Code Snippets === Contributors: imath Donate link: http://imath.owni.fr/ Tags: BuddyPress, groups, sharing, code, snippets Requires at least: WordPress 2.9.2, BuddyPress 1.2.x or higher Tested up to: WordPress 3.0.1, BuddyPress 1.2.5.2 Stable tag: 1.2 BP Code Snippets adds to BuddyPress groups the ability to share safely code snippets == Description == BP Code Snippets requires BuddyPress and adds to BuddyPress groups the ability to share safely code snippets. Only registered members of a group can submit new code snippets or add a comment to one of the code snippets of the group. In the Admin section of groups, it is possible to enable or disable languages. Most of the web languages (thanks to Alex Gorbatchev's syntax highlighter) are supported such as PHP, HTML, Javascript, Css, or SQL If none of the languages are checked, then the group won't display the component. Group admins or Group mods can moderate snippets submissions or comments. In WordPress administration, under the BuddyPress menu, You can manage the look and feel of code snippets and disable/enable the component for groups. You can also disable/enable the member area or the Snippets Public Directory view. == Installation == You can download and install BP Code Snippets using the built in WordPress plugin installer. If you download BP Code Snippets manually, make sure it is uploaded to "/wp-content/plugins/bp-code-snippets/". Activate BP Code Snippets in the "Plugins" admin panel using the "Activate" link. == Frequently Asked Questions == = If you have any question = Please add a comment here == Screenshots == 1. The Snippets Public Directory view. 2. The member area view. 3. The group home view. 4. The admin panel. 5. The widget customization == Changelog == = 1.2 = * trouble in snippet comment count fixed * widget : title is customizable * widget : Recently commented display mode added * widget : displays the snippets of public groups when not on a group single template * widget : once on a group single template, displays the snippets of the group if public or if logged in user is member of the group * Snippets Public Directory : on home page a snippet navigation has been added. * RSS feeds added to member template / group template / Snippets public directory template / single snippet template for the comments feed * In the home group, if you add to the groups/home.php or groups/activity.php template the tag bp_custom_group_boxes(), it will enable some stats for the snippets group (more infos can be found here). = 1.1 = * Into the member area, under the snippets nav, all the snippets written by a user can be displayed * A widget can be added to the sidebar to display the most commented or latest public snippets * New languages are supported (Java, Java FX, Perl, Python, Ruby, ColdFusion, AppleScript, CPP, CSharp, VB, Bash) = 1.0 = * languages supported : PHP, Javascript, CSS, XML / Html, Actionscript, SQL * Plugin birth.. == Upgrade Notice == = 1.2 = If you disabled the snippets nav in admin panel, this upgrade will restore it. It will also add the Snippets Public Directory. If you want to disable these 2 options, go to the admin panel. Just in case : i advise you to back-up (prefix_)code_snippets and (prefix_)code_snippets_comments = 1.1 = No changes to the database, but just in case : i advise you to back-up (prefix_)code_snippets and (prefix_)code_snippets_comments = 1.0 = no upgrades, just a first install..