{"id":55529,"date":"2015-06-24T02:44:46","date_gmt":"2015-06-24T02:44:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/side-login\/"},"modified":"2015-06-24T07:28:18","modified_gmt":"2015-06-24T07:28:18","slug":"side-login","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/side-login\/","author":14475752,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"4.0.38","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Side Login","header_author":"FAKHRUDDIN AHMED(0808017),ROBUL ALAM(0908004)","header_description":"","assets_banners_color":"","last_updated":"2015-06-24 07:28:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/sidebar-login\/","header_author_uri":"http:\/\/mikejolley.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1427,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-55529","plugin","type-plugin","status-closed","hentry","plugin_committers-fakhruddin-ahmed"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/side-login.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Sidebar-Login adds a useful login widget which you can use to login from in the sidebar of your WordPress powered blog.<\/p>\n\n<p>Once a user logs in it then redirects them back to the page they logged in from rather than the admin panel (this is configurable).<\/p>\n\n<p>If you'd like to contribute code to the plugin you can do so via GitHub: https:\/\/github.com\/mikejolley\/sidebar-login.<\/p>\n\n<p>If you'd like to contribute a localisation, the project is hosted on Transifex: https:\/\/www.transifex.com\/projects\/p\/sidebar-login\/<\/p>\n\n<h4>Usage<\/h4>\n\n<p>Simply go to <code>Appearance &gt; Widgets<\/code> and drag \"sidebar login\" to the sidebar of your choice. Within the widget are several options you can use for changing the titles or the links displayed to the user.<\/p>\n\n<p>To use this widget in a template, use <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/the_widget\">the <code>the_widget()<\/code> function<\/a> which WordPress provides.<\/p>\n\n<h4>Tags for titles + links<\/h4>\n\n<p>These tags can be used in the widget settings for titles + links and will be replaced at runtime.<\/p>\n\n<ul>\n<li><code>%username%<\/code> - logged in users display name<\/li>\n<li><code>%userid%<\/code> - logged in users ID<\/li>\n<li><code>%admin_url%<\/code> - url to WP admin<\/li>\n<li><code>%logout_url%<\/code> - logout url<\/li>\n<li><code>%buddypress_profile_url%<\/code> - Buddypress Profile URL<\/li>\n<li><code>%bbpress_profile_url%<\/code> - Buddypress Profile URL<\/li>\n<\/ul>\n\n<h4>Filter Reference<\/h4>\n\n<ul>\n<li><code>sidebar_login_js_in_footer<\/code> - return true to show JS file in the footer instead of the header<\/li>\n<li><code>sidebar_login_include_css<\/code> - return false to not include the CSS stylesheet<\/li>\n<li><code>sidebar_login_widget_logged_in_links<\/code> - An array of links shown when logged in.<\/li>\n<li><code>sidebar_login_widget_logged_out_links<\/code> - An array of links shown when logged out.<\/li>\n<li><code>sidebar_login_widget_display<\/code> - Return false to hide the widget.<\/li>\n<li><code>sidebar_login_widget_logged_in_title<\/code> - The widget title shown when logged in.<\/li>\n<li><code>sidebar_login_widget_avatar_size<\/code> - The avatar size - defaulted to 38 (thats in px)<\/li>\n<li><code>sidebar_login_widget_logged_out_title<\/code> - The widget title shown when logged out.<\/li>\n<li><code>sidebar_login_widget_form_args<\/code> - Arguments for the wp_login_form function.<\/li>\n<li><code>sidebar_login_widget_login_redirect<\/code> - Redirect URL after login.<\/li>\n<li><code>sidebar_login_widget_logout_redirect<\/code> - the redirect after logging out.<\/li>\n<li><code>sidebar_login_widget_register_url<\/code> - The URL for registration links.<\/li>\n<li><code>sidebar_login_widget_lost_password_url<\/code> - The URL for lost password links.<\/li>\n<\/ul>\n\n<h4>Action Reference<\/h4>\n\n<ul>\n<li><code>sidebar_login_widget_start<\/code> - Fired before the widget.<\/li>\n<li><code>sidebar_login_widget_{logged_in || logged_out}_content_start<\/code> - Fired before the widget content.<\/li>\n<li><code>sidebar_login_widget_before_{logged_in || logged_out}_links<\/code> - Fired before the links.<\/li>\n<li><code>sidebar_login_widget_after_{logged_in || logged_out}_links<\/code> - Fire after the links.<\/li>\n<li><code>sidebar_login_widget_{logged_in || logged_out}_content_end<\/code> - Fired after the widget content.<\/li>\n<li><code>sidebar_login_widget_end<\/code> - Fired after the widget.<\/li>\n<\/ul>\n\n<h4>Notes<\/h4>\n\n<ul>\n<li>Due to AJAX not working across different domains (see <a href=\"http:\/\/en.wikipedia.org\/wiki\/Same_origin_policy\">same_origin_policy<\/a>), AJAX logins will be disabled if your site it non-SSL, but the FORCE_SSL_LOGIN constant is set to true. Instead it will fallback to a traditional POST.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>2.7.1<\/h4>\n\n<ul>\n<li>Make rememberme show by default, without a widget save.<\/li>\n<\/ul>\n\n<h4>2.7.0<\/h4>\n\n<ul>\n<li>Renamed textdomain from sidebar_login to sidebar-login.<\/li>\n<li>Moved translations to Transifex.<\/li>\n<li>Added Grunt.<\/li>\n<li>Removed deprecated sidebarlogin function.<\/li>\n<li>Option to show\/hide the rememberme checkbox.<\/li>\n<li>Allow login using an email address - username will be queried based on address given.<\/li>\n<\/ul>\n\n<h4>2.6.0<\/h4>\n\n<ul>\n<li>Support for Buddypress Profile URL via %buddypress_profile_url%. Thanks Tim Reeves.<\/li>\n<li>Support for BBPress Profile URL via %bbpress_profile_url%.<\/li>\n<li>Slovakian translation by Alexander Kriss<\/li>\n<li>Swedish translation by Tommy Wahlund<\/li>\n<li>Dutch translation by Bert Smulders<\/li>\n<li>Russian and Ukranian translation by Yarri<\/li>\n<li>Polish translation by Czeslaw Liebert<\/li>\n<\/ul>\n\n<h4>2.5.3<\/h4>\n\n<ul>\n<li>Removed nonce check on frontend due to conflict with caching scripts<\/li>\n<li>Arabic translation by Mamoun Elkheir<\/li>\n<li>Brazillian translation by Marco Andr\u00e9 Argenta<\/li>\n<li>Italian translation by Adriano Calvitto<\/li>\n<\/ul>\n\n<h4>2.5.2<\/h4>\n\n<ul>\n<li>Latvian translation by Lana Mangusa<\/li>\n<li>German translation by Klaus-Peter<\/li>\n<li>Wrapped response to prevent crap plugins breaking the response<\/li>\n<\/ul>\n\n<h4>2.5.1<\/h4>\n\n<ul>\n<li>Filterable error classes<\/li>\n<li>Tweak to how SSL logins are handled.<\/li>\n<li>FR translation<\/li>\n<li>Fix $link_cap<\/li>\n<\/ul>\n\n<h4>2.5.0<\/h4>\n\n<ul>\n<li>Rewrite and code cleanup - class based.<\/li>\n<li>Optionless - Moved all settings to the widgets themselves rather than having a settings page.<\/li>\n<li>Removed all localisations (these are out of date, and need re-doing)<\/li>\n<li>Removed JSONP\/GET request - although this allowed logins between urls of different origin, it poses a security risk as GET requests are logged.<\/li>\n<\/ul>\n\n<h4>2.4.0<\/h4>\n\n<ul>\n<li>XSS Fix<\/li>\n<li>Added classes to tags in widget<\/li>\n<li>Improved\/filtered register and lost password links<\/li>\n<li>Removed the outdated openid\/fb code. Hook it in if you want it.<\/li>\n<li>Removed markup in favour of wp_login_form()<\/li>\n<\/ul>\n\n<h4>2.3.6<\/h4>\n\n<ul>\n<li>Sanitize REQUEST_URI\/$pageURL<\/li>\n<\/ul>\n\n<h4>2.3.5<\/h4>\n\n<ul>\n<li>Use jsonp to enable login from http to https<\/li>\n<li>Fixed remember me logic (in js)<\/li>\n<li>Sanitize redirect url<\/li>\n<li>Removed esc_attr from username and password to prevent breaking login<\/li>\n<li>Updated french and italian langs<\/li>\n<li>Added Swedish lang by Ove Kaufeldt<\/li>\n<\/ul>\n\n<h4>2.3.4<\/h4>\n\n<ul>\n<li>SSL URL tweak<\/li>\n<li>Better handling for force_ssl_login and force_ssl_admin<\/li>\n<\/ul>\n\n<h4>2.3.3<\/h4>\n\n<ul>\n<li>Removed a link after request from WordPress.org staff<\/li>\n<li>wp_lostpassword_url() for lost password link<\/li>\n<li>sanitized user_login<\/li>\n<li>Uses wp_ajax for ajax login instead of init functions<\/li>\n<li>Secure cookie logic change<\/li>\n<\/ul>\n\n<h4>2.3.2<\/h4>\n\n<ul>\n<li>Login redirect fix<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Error loop fix<\/li>\n<li>Added filter for errors - sidebar_login_error<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Put the project on GitHub<\/li>\n<li>Added new localisations<\/li>\n<li>New options panel<\/li>\n<li>AJAX Login<\/li>\n<\/ul>\n\n<h4>2.2.15<\/h4>\n\n<ul>\n<li>FORCE_SSL_LOGIN\/ADMIN double login issue fix (Thanks to bmaupin)<\/li>\n<li>Only added openid styling if other plugin is installed<\/li>\n<li>Added more languages<\/li>\n<\/ul>\n\n<h4>2.2.14<\/h4>\n\n<ul>\n<li>Further revised the |true \/ |user_capability code - only need to use one or the other now.<\/li>\n<\/ul>\n\n<h4>2.2.13<\/h4>\n\n<ul>\n<li>Updated translations<\/li>\n<li>Support for https and style.css<\/li>\n<li>is_date fix<\/li>\n<li>Added option for headings<\/li>\n<li>Removed attribute_escape for esc_attr - therefore this version needs wp 2.8 and above<\/li>\n<li>USER LEVEL option gone - replaced with USER CAPABILITY instead - use a capability like 'manage_options'<\/li>\n<\/ul>\n\n<h4>2.2.12<\/h4>\n\n<ul>\n<li>Headers sent bugs fixed<\/li>\n<li>Avatar display option<\/li>\n<\/ul>\n\n<h4>2.2.11<\/h4>\n\n<ul>\n<li>More\/Updated langs<\/li>\n<\/ul>\n\n<h4>2.2.10<\/h4>\n\n<ul>\n<li>Moved settings to appearance menu<\/li>\n<li>Changed min user level to capilbilty 'manage_options'<\/li>\n<li>Fixed menu showing in wordpress 3.0<\/li>\n<li>Added %USERID% for links<\/li>\n<li>Fixed white space bug for link options<\/li>\n<\/ul>\n\n<h4>2.2.8<\/h4>\n\n<ul>\n<li>Min level setting for links. Add user level after |true when defining the logged in links.<\/li>\n<li>Moved 'settings' from tools to settings.<\/li>\n<li>Encoded ampersand for valid markup<\/li>\n<li>Moved Labels about<\/li>\n<li>Fixed SSL url<\/li>\n<li>Reusable widget<\/li>\n<\/ul>\n\n<h4>2.2.6<\/h4>\n\n<ul>\n<li>Added changelog to readme.<\/li>\n<li>OpenID Plugin (http:\/\/wordpress.org\/extend\/plugins\/openid\/) Integration.<\/li>\n<li>%username% can be used in your custom links shown when logged in (gets replaced with username)<\/li>\n<li>WP-FacebookConnect (http:\/\/wordpress.org\/extend\/plugins\/wp-facebookconnect\/) integration (untested!)<\/li>\n<li>Minor fixes (worked through a big list of em!)<\/li>\n<\/ul>","raw_excerpt":"Easily add an ajax-enhanced login widget to your WordPress site sidebar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/55529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=55529"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fakhruddin-ahmed"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=55529"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=55529"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=55529"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=55529"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=55529"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=55529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}