{"id":4832,"date":"2009-02-23T16:09:48","date_gmt":"2009-02-23T16:09:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ajax-login-widget\/"},"modified":"2009-03-26T22:02:12","modified_gmt":"2009-03-26T22:02:12","slug":"ajax-login-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ajax-login-widget\/","author":2001489,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"2.7.1","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"AJAX Login Widget++","header_author":"David Underhill","header_description":"","assets_banners_color":"","last_updated":"2009-03-26 22:02:12","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=3461746","header_plugin_uri":"http:\/\/dound.com\/projects\/word-press\/ajax-login-widget\/","header_author_uri":"http:\/\/www.dound.com","rating":0,"author_block_rating":0,"active_installs":100,"downloads":54052,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1573768","resolution":"5","location":"plugin","width":1036,"height":476},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1573768","resolution":"4","location":"plugin","width":1036,"height":485},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1573768","resolution":"3","location":"plugin","width":1034,"height":403},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1573768","resolution":"1","location":"plugin","width":1034,"height":475},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1573768","resolution":"2","location":"plugin","width":1035,"height":479},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"1573768","resolution":"7","location":"plugin","width":1037,"height":487},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1573768","resolution":"6","location":"plugin","width":1034,"height":481}},"screenshots":{"1":"Before the user logs in","2":"Waiting for authentication","3":"After the user logs in","4":"When the user wants to register","5":"After the user has registered","6":"When the user has lost their password","7":"After the user has requested that a new password be sent to their email"}},"plugin_section":[],"plugin_tags":[221,3831,5917,602,4233],"plugin_category":[38,58,59],"plugin_contributors":[83675,82159],"plugin_business_model":[],"class_list":["post-4832","plugin","type-plugin","status-closed","hentry","plugin_tags-ajax","plugin_tags-log-in","plugin_tags-log-out","plugin_tags-login","plugin_tags-logout","plugin_category-authentication","plugin_category-user-management","plugin_category-utilities-and-tools","plugin_contributors-dound","plugin_contributors-jonaseinarsson","plugin_committers-dound"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ajax-login-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/ajax-login-widget\/trunk\/screenshot-1.png?rev=1573768","caption":"Before the user logs in"},{"src":"https:\/\/ps.w.org\/ajax-login-widget\/trunk\/screenshot-2.png?rev=1573768","caption":"Waiting for authentication"},{"src":"https:\/\/ps.w.org\/ajax-login-widget\/trunk\/screenshot-3.png?rev=1573768","caption":"After the user logs in"},{"src":"https:\/\/ps.w.org\/ajax-login-widget\/trunk\/screenshot-4.png?rev=1573768","caption":"When the user wants to register"},{"src":"https:\/\/ps.w.org\/ajax-login-widget\/trunk\/screenshot-5.png?rev=1573768","caption":"After the user has registered"},{"src":"https:\/\/ps.w.org\/ajax-login-widget\/trunk\/screenshot-6.png?rev=1573768","caption":"When the user has lost their password"},{"src":"https:\/\/ps.w.org\/ajax-login-widget\/trunk\/screenshot-7.png?rev=1573768","caption":"After the user has requested that a new password be sent to their email"}],"raw_content":"<!--section=description-->\n<p><a href=\"http:\/\/dound.com\/projects\/word-press\/ajax-login-widget\/\">Plugin Homepage<\/a><\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Integrate<\/strong> login functionality into your site (rather than having it on a separate page).<\/li>\n<li>User can login, register, and retrieve a lost password <strong>without ever leaving the page<\/strong> they are on.<\/li>\n<li><strong>AJAX<\/strong>-based.<\/li>\n<li><em>XHTML 1.1 and CSS 3 compliant<\/em>.<\/li>\n<\/ul>\n\n<h4>Current Ideas for the Next Version<\/h4>\n\n<ul>\n<li>Beautify for IE7<\/li>\n<li>Minify JS and put it in the footer<\/li>\n<li>Better support for styling via CSS<\/li>\n<li>Option to include a customizeable title above the widget<\/li>\n<li>Provide an additional non-table-based template<\/li>\n<li>Internalization support<\/li>\n<li>Add login form to page\/post with [insert-login] tag<\/li>\n<li>Options<\/li>\n<li>\n<ul>\n<li>Show gravatar after user logs in<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>Customize welcome message<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>Titles for login form<\/li>\n<\/ul><\/li>\n<li>\n<ul>\n<li>Captcha support<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p>Please continue to give me ideas for the next version\n<a href=\"http:\/\/dound.com\/2009\/02\/my-first-wordpress-plugin-ajax-login-widget\">on my blog<\/a>\nor <a href=\"http:\/\/wordpress.org\/support\/topic\/246843\">on the forums here<\/a>.<\/p>\n\n<p>This plugin provides an XHTML-compliant AJAX login form which can be easily\ninserted (one line of code) into your WordPress sidebar.  The form doubles as\nlost-password-recovery and registration forms too.<\/p>\n\n<p>AJAX allows the page to be dynamically updated so that the user does not have to\nleave the page they were on when they decided to sign in or sign up.  This means\nusers do not have to interrupt what they were looking at in order to login!  If\nan error occurs (like the entry of an incorrect password), then the user is\nalerted with a message box.  The only full page refresh which occurs is when the\nuser logs in successfully, though it does not change which page the user is\nlooking at (so as not to interrupt them).<\/p>\n\n<p>One the user is logged in, the login form is replaced with a \"You are logged in\nas XYZ\" message along with links to go to their profile or logout.  An\nadministrative user will be presented with the \"Site Admin\" link instead of a\nprofile link.<\/p>\n\n<p>The plugin uses the normal WordPress 2.7 authentication process so it can easily\nbe added to your WordPress site as a sidebar widget or by adding a single line\nof PHP code to your theme.<\/p>\n\n<p>This plugin extends the former <a href=\"http:\/\/wordpress.org\/extend\/plugins\/ajax-login\/\">AJAX\nLogin<\/a> plugin written by Jonas\nEinarsson.  This version fixes a number of bugs with a previous implementation\n(incompatibility with the latest WordPress versions) and contributes a cleaner\nuser interface with better and more reliable AJAX functionality (including\nanimated loading icons).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip and then copy the <code>ajax-login-widget<\/code> folder to your <code>wp-content\/plugins\/<\/code> folder.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Add the widget to your page in one of two ways:<\/li>\n<\/ol>\n\n<p>3a) If you are using the dynamic sidebar, you can add the AJAX Login Widget++ widget using the widgets administration menu.<\/p>\n\n<p>3b) Add it to one of your theme's template with the PHP call \"add_ajax_login_widget()\" - see below for an example.<\/p>\n\n<p><em>Example<\/em>: Adding AJAX Login Widget++ to your theme's <code>sidebar.php<\/code> template page:<\/p>\n\n<ol>\n<li><p>Open wp-content\/themes\/your-theme-name\/sidebar.php<\/p><\/li>\n<li><p>Look for \"wp_register()\" and \"wp_loginout()\".  It probably looks like this:<\/p>\n\n<pre><code>    &lt;!-- meta --&gt;\n    &lt;div class=\"widget\"&gt;\n            &lt;h3&gt;Meta&lt;\/h3&gt;\n            &lt;ul&gt;\n                    &lt;?php wp_register(); ?&gt;\n                    &lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;\/li&gt;\n            &lt;\/ul&gt;\n    &lt;\/div&gt;\n<\/code><\/pre><\/li>\n<li><p>Replace the section with those two function calls with a call to\n add_ajax_login_widget, so it now looks like this:<\/p>\n\n<pre><code>    &lt;!-- meta --&gt;\n    &lt;div class=\"widget\"&gt;\n         &lt;?php add_ajax_login_widget(); ?&gt;\n    &lt;\/div&gt;\n<\/code><\/pre><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I customize the widget?<\/dt>\n<dd><p>Yes.  Just modify the al_template.php in the plugin directory.<\/p><\/dd>\n<dt>The login form does not work and has some JavaScript error<\/dt>\n<dd><p>If the Firefox Error Console finds an error about 'sack is not defined', then add\n\"\"\nafter the '...' tags in your wp-content\/themes\/your-theme\/templates\/start.php\nfile.  Hopefully we'll come up with less of a hack for this later.<\/p><\/dd>\n<dt>Why is there an option for loading delay?<\/dt>\n<dd><p>It is set to zero by default.  But it is there in case your site is really fast\nand your users are confused by delay-less logins.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"A clean AJAX-based login, registration and lost password retrieval widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4832","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=4832"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dound"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4832"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4832"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4832"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4832"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4832"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}