Month August 2014

Using zM AJAX Login & Register with BuddyPress

Earlier today we had an excellent support forum question regarding using zM AJAX Login & Register with BuddyPress.  Specifically, the login portion of our plugin with an existing BuddyPress site.

The forum user wanted to do the following:

  • Did not want to enable Registration
  • Only enable Login

STEP 1

Be sure that you disable registration. Go to your general settings and be sure the box “Anyone can register” is not selected.

ALR-Registration-disabled

STEP 2

Be sure that you do not have a register handle, a menu page for registration, nor a menu page for login handle. Since BuddyPress comes already equipped with a login function, if you want to add the login to menus, you can add it using the dashboard.

BuddyPress-menu

If you do not want to add the additional login menu option, leave blank.

No BuddyPress Login Menu

STEP 3

Add the BuddyPress Id to the Login-handle portion under Advance usage of AJAX Login & Register settings.  This will allow you to use our plugin as the login when users visit your site. To find the BuddyPress ID , you can inspect the element or use the ID below (as it is the default).

#wp-admin-bar-bp-login

login-handle-only-enabled

STEP 4

This is what final product should look like. User should only be asked to login.

Login only enabled using BuddyPress

Notes on our Pro Version development

We’re currently working on additional features to make the plugin more accessible and useful to the WordPress community. One of the features we’re working on is making the BuddyPress integration experience more user friendly–with other security features we believe our users will love.

Stay tune, and until next time.

 

 

General WordPress Plugin Development

In July I presented a WordPress Plugin Workshop at Betamore on “General WordPress Plugin Development”. Slides are now available as a PDF for download below. The sample code presented consisted of actions hooks and filters, translations, and plugin settings; these are also available for download via GitHub.

General WordPress Plugin Development – Intro

It was great being able to present on General WordPress Plugin Development at Betamore, which is right in our own backyard, Baltimore! Betamore provides a prime shared co-working space, along with various tech related courses and networking events. It is a must visit for any techie or entrepreneur in or around the Baltimore or Washington D.C., area.

Some of the topics covered:

  • Plugin vs. Theme – What goes where
  • Creating a Plugin – Where to start
  • Creating Custom Settings – Detailing the WordPress Settings API
  • Maintainable Code – Contributor friendly, actions & filters, documentation

The after hours presentation went over well, with lots of hands on practice, and a mini Q&A session.

General WordPress Plugin Development – Material

Below you’ll find the links to download the presentation as a PDF, along with the links to the GitHub repository for each lesson/activity that was given.

Note that each sample code provided in the repository is shown as a WordPress plugin.

Upcoming WordPress Plugin Development Workshops

Although we don’t have anything scheduled at Betamore, there are various events happening in and around Baltimore relating to WordPress. Such as; WordCamp Baltimore (October 18, 2014, University of Baltimore) and php[world], (November 10–14, Washington D.C.).

The php[world] conference is a 5 day event and a great opportunity to learn, network, and have an enjoyable time in Washington D.C. A quick look at the php[world] schedule shows there’s no shortage of WordPress sessions. I’m excited to teach a training day, “Developing On WordPress”.

Hope to see you there!

Loading...