Add a profile picture in user registration page in Liferay - liferay

I want to add a profile picture while creating an account.....we can get this while editing the myaccount but i want this while creating account. Is there any way of doing this using the default Liferay User registration page?

Make it as a wizard. Before all you ask default user data to register new user. When the new user is created, put a second step to upload the avatar.

Related

B2C Custom Policy - add button to redirect to another Custom Policy

Is it possible to add a button to a screen on a custom policy, so that if a user clicks on it, they are redirected to the start of a different custom policy?
This is not possible directly through custom policy logic.
You need to add a link to your app using custom HTML, eg myapp.com/launchPolicy2, and put this link on your login page. When the user clicks this link, the user is sent to your app, and the app should start a new authentication flow using the new authority URL (which contains the new B2C policy Id).
Use this guide to add custom HTML:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-with-html?pivots=b2c-custom-policy

How to customize the type of a User Attribute in Azure?

I have created a set of new User Attributes and used them in my new User flow (Policy) in Azure AD B2C.
These attributes are of data type "Boolean" but when I run the user flow I get a textbox input instead of a checkbox.
Usually, I get the possibility to change it on the portal but now I can not find where to do so now.
Have anything changed?
Once the custom user attribute is added, go to page layout. In my case the attribute to add is on the local account registration page, you select where you have added it or want to add it.
Below you will have appeared the user attributes that that part of the flow has (yours should appear). From there you change the type of ticket, you can also change if it is optional or mandatory ...
Go to Azure AD B2C > User flows (policies) > Your user flow > Page layouts.
The User attributes section of the Page layouts page allows you to change the user input type.

NetSuite customized Customer Login

My use case is that I would like customers to log in via a custom Login Form I have created, but not from NetSuite Login which is publicly accessible. How can I achieve that?Any ideas?
One way to do your own branded custom login page (with your own HTML/CSS), is by creating a form that on submit sends a POST request to https://system.netsuite.com/app/webservices/wslogin.nl?c=######
where ##### is your netsuite account number
the form must submit following attributes:
email
password
taskid // see the help topic Task Ids for valid values e.g.: LIST_MYROLES
role // not required if has a default role specified on the View All Roles page
I don't think that there is a way to block the normal UI login so, that only custom login is allowed.
In addition to what Prasun wrote there are a couple of different approaches to custom login/reg forms.
One is to just hack the login form so that it looks and behaves like you want it to. See the login/registration at http://www.lablearning.com/
The other is to create your own login page using an SSP page and install it to override the built-in login/registration.

Orchard: Creating a user from the register screen NOT dashboard

Hey Guys…So im using Orchard CMS 1.6 and instead of creating a user/role from the dashboard, I would like the user to register from the home page.
This is done by leaving the ‘username’ and ‘password’ field blank on the home page and clicking ‘Sign In’. They are then navigated to a ‘Log On’ page which displays a ‘Register link’.
This allows the user to enter 4 fields to create an account. ‘Username, Email, Password, and confirm password’. I would like to add additional fields to this form but am having no luck.
I’ve tried to install the profile, Users personal Info, and extended Reg modules.
These add additional fields to creating a user, when the user is created from the dashboard. (Users/ Add new user)…but not to the register screen.
Does anyone have any idea how to add fields to the register screen(access from the home page)?
Thanks for any replies…
tl;dr:
Check out: Extended Registration
Details:
You can accomplish this with combination of the Profile module and the Extended Registration module. By default, the Registration page (Found in Orchard.Users) is hard-coded to display only the four fields you mentioned. Extended Registration takes the Profile part from the Profile module and also displays it on the Registration page.
Build out your registration field to however you want by extending the User content type, though it sounds like you have done this since you have access to these fields via New User in the Admin dashboard.
Note: Extended Registration requires the Profile module.

How to use Drupal View

i am using Drupal 6.x
I had created two users i.e. a user with all permission i.e. Webmaster and other is member. The permissions of member are restricted and are allowed only to create story, delete own story and edit own story. However when i logged in with member name i got only three option i.e.:
My account
Create Content
Log Out
The post submitted by that user is not visible. I want to display all post published by that user in its account detail, and here he/she can easily edit, delete or modify his/her content. How it can be possible. Have you any idea. If yes then please guide me step by step. waiting for your reply. Thanks in advance for this support.
This is because of permission issue, steps to solve this issue
Create a view to list the story with edit button.
Go to the admin/user/permissions and give create, edit and view permission for the user.
publish the created article via admin user.
Last assign the created view block to users home page.

Resources