აღწერა
This is an extension plugin for the Connections Business Directory Plugin please be sure to install and active it before adding this plugin.
What does this plugin do?
It adds an entry content block, a shortcode and a highly configurable widget which displays a login form when a user is not logged into your site.
Version 3.1 introduced a [user_]
shortcode that allows you to display the currently logged-in user or specified user profile information, including user meta and the user avatar.
Version 3.2 introduced a [link_]
shortcode that allows you to output a login, logout, edit profile, registration, forgot password, or a dynamic login/logout link on a page.
Ok, great, but how does this benefit me?
Well, if you have the directory setup to require login, you can add the [connections_login] shortcode to the login required message setting (or any page you want, the shortcode is not limited to this setting). When it is added and the user is not logged in and visit your directory, they’ll be shown your message plus the login form.
The content block login form and the login widget are best used with Link installed and activated. You can set up the login form content block to be shown on a single entry, that way when a user visits the page, and they are not logged in, they’ll be shown a login form right on their page. Alternatively, you could use the widget which will only be displayed on the single entry page when a user is not logged in. It’s your choice, you could use either one or both.
Here are some great free extensions (with more on the way) that enhance your experience with Connections Business Directory:
Utility
- Toolbar :: Provides quick links to the admin pages from the admin bar.
Custom Fields
- Business Open Hours :: Add the business open hours.
- Local Time :: Add the business local time.
- Facilities :: Add the business facilities.
- Income Level :: Add an income level.
- Education Level :: Add an education level.
- Languages :: Add languages spoken.
- Hobbies :: Add hobbies.
Misc
- Face Detect :: Applies face detection before cropping an image.
- Authored :: Displays a list of blog posts written by the entry on their profile page.
- Contact :: Displays a contact form on the entry’s profile page to allow your visitors to contact the entry without revealing their email address.
- CSV Import :: Bulk import your data in to your directory.
- Custom Category Order :: Order your categories exactly as you need them.
- Custom Entry Order :: Allows you to easily define the order that your business directory entries should be displayed.
- Enhanced Categories :: Adds many features to the categories.
- Form :: Allow site visitor to submit entries to your directory. Also provides frontend editing support.
- Link :: Links a WordPress user to an entry so that user can maintain their entry with or without moderation.
- ROT13 Encryption :: Protect email addresses from being harvested from your business directory by spam bots.
- SiteShot :: Show a screen capture of the entry’s website.
- Widget Pack :: A set of feature rich, versatile and highly configurable widgets that can be used to enhance your directory.
ეკრანული სურათები
დაყენება
Using the WordPress Plugin Search
- Navigate to the
Add New
sub-page under the Plugins admin page. - Search for
connections business directory login
. - The plugin should be listed first in the search results.
- Click the
Install Now
link. - Lastly click the
Activate Plugin
link to activate the plugin.
Uploading in WordPress Admin
- Download the plugin zip file and save it to your computer.
- Navigate to the
Add New
sub-page under the Plugins admin page. - Click the
Upload
link. - Select Connections Business Directory Login zip file from where you saved the zip file on your computer.
- Click the
Install Now
button. - Lastly click the
Activate Plugin
link to activate the plugin.
Using FTP
- Download the plugin zip file and save it to your computer.
- Extract the Connections Business Directory Login zip file.
- Create a new directory named
connections-business-directory-login
directory in the../wp-content/plugins/
directory. - Upload the files from the folder extracted in Step 2.
- Activate the plugin on the Plugins admin page.
ხდკ
None yet…
მიმოხილვები
მონაწილეები & დეველოპერები
“Connections Business Directory Login” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.
მონაწილეებიგადათარგმნეთ Connections Business Directory Login თქვენს ენაზე.
დაინტერესებული ხართ დეველოპმენტით?
დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.
ცვლილებები
3.4 12/01/2023
- OTHER: Correct misspelling.
- OTHER: Correct README.txt error.
- DEV: phpDoc updates.
- DEV: Add WPCS.
- DEV: Update
.gitignore
and.gitattributes
for Composer. - WPCS: There must be exactly one blank line after the file comment.
- WPCS: Not using strict comparison for
in_array()
; supply true for$strict
argument. - WPCS: Various minor code sniff corrections.
3.3 11/22/2023
- NEW: Add support for the enclosing shortcode form to the
[user_]
shortcode. - BUG: In addition to checking for a logged-in user the
id
attribute should check for a positive integer in case a user ID was specified in the[user_]
shortcode.
3.2.1 11/14/2023
- BUG: Correct the namespace for the Login form Content Block, so it does not throw a fatal error.
3.2 11/10/2023
- FEATURE: Introduce the
[link_]
shortcode. - TWEAK: Do not capitalize keywords.
- BUG: Correct the namespace for the form classes.
- BUG: Correct filter name. Steven A. Zahm A minute ago
- OTHER: Add screenshots to the README.txt.
- OTHER: Update README.txt to include a link to the documentation to the
[user_]
shortcode. - OTHER: README.txt tweaks.
- DEV: phpDoc updates.
3.1 11/03/2023
- FEATURE: Introduce the
user_
shortcode. - TWEAK: Refactor the shortcode to utilize the Shortcode API.
- TWEAK: Refactor the plugin initialization to occur on the
Connections_Directory/Loaded
action hook. - TWEAK: Include the Request Reset Password, Reset Password, and User Register forms.
3.0 10/23/2023
- TWEAK: Remove unnecessary check for the
WPINC
constant. - TWEAK: Make
Connections_Login
classfinal
. - TWEAK: Add
Connections_Login
class properties. - TWEAK: Refactor loading the translations to use the
cnText_Domain
class. - TWEAK: Refactor
getLoginFormDefaults()
to useRequest\Redirect
to set the default redirect value. - TWEAK: Refactor
loginForm()
to utilizeForm\User_Login
instead ofwp_login_form()
. - BUG: Ensure the “Login Form” Content Block setting name is translation ready.
- OTHER: Update plugin header requirements.
- OTHER: Correct misspelling.
- DEV: phpDoc corrections.
2.2.2 12/23/2021
- TWEAK: Update widget save settings so checkboxes are properly saved in WordPress >= 5.8.
- DEV: Do not evaluate widget instance setting when setting form field value.
- OTHER: Correct misspelling.
- DEV: phpDoc correction.
2.2.1 05/03/2021
- TWEAK: Remove use of
create_function()
. - OTHER: Update copyright year.
- OTHER: Update
http
tohttps
. - DEV: Correct code formatting.
- DEV: phpDoc corrections.
2.2 06/23/2020
- TWEAK: If
get_permalink()
returns an empty URL, then default toget_home_url()
for the login redirect parameter. - OTHER: Update copyright year.
- OTHER: Update URLs from
http
tohttps
. - OTHER: Update “Test up to” version 5.4.
2.1 05/15/2019
- BUG: Check if variable is an array before counting to prevent PHP notice.
- I18N: Update POT file.
- I18N: Update Spanish (Spain) translation.
- I18N: Add French (France) translation.
- OTHER: Update copyright year.
- OTHER: Update plugin header name to match naming conventions used in other addons.
- OTHER: Update readme tags.
- OTHER: Update readme meta tags; requires, tested and minimum PHP version.
2.0.3 06/05/2018
- BUG: Shortcode returns content, not echo it.
- DEV: phpDoc update.
2.0.2 12/14/2017
- BUG: Prevent PHP warning; “Illegal string offset ‘echo’”.
2.0.1 03/17/2016
- NEW: Introduce the
cn_login_widget_link_anchor
filter. - BUG: Use correct bbPress function to return the user topics created URL.
- TWEAK: Default logout link redirect URL to the current page.
- OTHER: Correct version number in changelog section of readme.txt.
2.0 03/02/2016
- FEATURE: Option to configure widget to be visible site wide in the sidebar or limited to only the entry detail/profile page in Connections.
- FEATURE: Configurable widget title based on if user is logged in or not.
- FEATURE: Option to disable the “Remember me” checkbox in the login form.
- FEATURE: Option to disable the “Lost Password” link in the login form.
- FEATURE: Add support for adding custom links which can be displayed to a logged out user.
- FEATURE: Option to display the users Gravatar when they are logged in.
- FEATURE: Option to set the Gravatar’s image size.
- FEATURE: Option to display the user’s admin profile link.
- FEATURE: Option to display the logout link.
- FEATURE: Add support for adding custom links which can be displayed to a logged in user.
- FEATURE: Support for bbPress.
- FEATURE: Support for BuddyPress.
- FEATURE: Extension support and integration with the Link extension.
- FEATURE: Add shortcode options to the [connections_login] shortcode so the labels can be configured.
- NEW: Introduce the
cn_login_supported_tokens
filter. - NEW: Introduce the
cn_login_avatar_size
filter. - NEW: Introduce the
cn_login_logout_url
filter. - NEW: Introduce the
cn_login_login_url
filter. - NEW: Introduce the
cn_login_replace_tokens
filter. - NEW: Introduce the
cn_login_image_types
filter. - NEW: Introduce the
cn_login_widget_update_settings
filter. - NEW: Introduce the
cn_login_before_widget_common_settings
action. - NEW: Introduce the
cn_login_after_widget_common_settings
action. - NEW: Introduce the
cn_login_before_widget_logged_out_settings
action. - NEW: Introduce the
cn_login_after_widget_logged_out_settings
action. - NEW: Introduce the
cn_login_after_widget_logged_in_settings
action. - NEW: Introduce the
cn_login_widget_before
action. - NEW: Introduce the
cn_login_widget_logged_in_before
action. - NEW: Introduce the
cn_login_widget_logged_in_after
action. - NEW: Introduce the
cn_login_widget_logged_out_before
action. - NEW: Introduce the
cn_login_widget_logged_out_after
action. - NEW: Introduce the
cn_login_widget_after
action. - NEW: Introduce the
cn_login_display_image_{$type}
action. - NEW: Introduce the
cn_login_widget_lost_password_url
filter. - NEW: Introduce the
cn_login_widget_register_url
filter. - NEW: Introduce the
cn_login_widget_register_url
action. - NEW: Introduce the
cn_login_widget_{$context}_links
filter. - NEW: Introduce the
cn_login_widget_before_{$context}_links
action. - NEW: Introduce the
cn_login_widget_after_{$context}_links
action. - TWEAK: Escape translated strings.
- I18N: Update POT file.
- I18N: Update es_ES PO/MO files.
1.1 07/06/2015
- BUG: Load the text domain immediately on plugins_loaded action so the translation files will be loaded.
- BUG: Remove stray period from version number.
- TWEAK: Refactor loadTextDomain() so it is consistent with the other extensions for Connections.
- I18N: Include the POT file.
- I18N: Add a Spanish (Spain) translation (machine translated).
- DEV: Update .gitignore.
1.0 08/08/2014
- Initial release.