Difference between revisions of "JReviews UserProfiles Add-on (WordPress)"
Line 45: | Line 45: | ||
== Module Positions == | == Module Positions == | ||
− | The Add-on comes with two custom | + | The Add-on comes with two custom widget positions in sign-up page allow for ease of integration with 3rd party social login solutions: |
* jr-userprofiles-below-login | * jr-userprofiles-below-login |
Revision as of 13:34, 29 August 2015
Contents
Installation
Once purchased, the UserProfiles add-on can be installed via the Remote Install & Update page in JReviews administration. If you see an "Add-on not active" text instead of the Install button, read this article:
Setup
1. Create one or more WordPress categories that will hold public profiles of users.
2. Create a listing type for user profiles.
3. Create a new directory for the profile categories
4. In the JReviews Categories Manager setup the new categories using the directory and listing type(s) you created for profiles.
5. In the UserProfiles Add-on Configuration select the Directory that you created for profiles.
6. Select the UserProfiles Add-on option in the JReviews Configuration / Community tab in order to display the profile photo as avatar with for user submissions.
7. Create WordPress Pages that the UserProfiles Add-on provides:
- Manage Account - for the "My Account" page where users can manage their profiles
- Signup Page - for the user login and registration page
- Submit Profile - for users to create their public profile listing
Theme Customizations
The MyLists add-on theme files are located in this folder:
- /wp-content/plugins/jreviews_addons/userprofiles/views/themes/userprofiles/
These theme files should not be customized in the default location, instead copy them to your custom JReviews theme in JReviews Overrides.
For example, the user profile page uses this theme file:
- /wp-content/plugins/jreviews_addons/userprofiles/views/themes/userprofiles/listings/detail_profile.thtml
To customize it in JReviews Overrides, copy that file into your custom theme like this:
- /jreviews_overrides/views/themes/your_theme/listings/detail_profile.thtml
If you set a custom suffix for the user profile categories in the Theme Manager (i.e. _authors), the suffix would be set like this: detail_profile_authors.thtml
Module Positions
The Add-on comes with two custom widget positions in sign-up page allow for ease of integration with 3rd party social login solutions:
- jr-userprofiles-below-login
- jr-userprofiles-below-registration
Overriding Add-on Language Strings
Some of the language strings can be customized in the listing type that you created, in the Language Overrides tab. Other strings can be changed via the language file.
The UserProfiles add-on language file is located here:
- /wp-content/plugins/jreviews_addons/userprofiles/locale/eng/LC_MESSAGES/default.po
If you want to customize specific language strings, copy those individual strings into your main JReviews language override file:
- /jreviews_overrides/locale/eng/LC_MESSAGES/default.po