create registration and login page in wordpress - custom-wordpress-pages

I have a page called journal in my wordpress site. So my requirement is only the users which are registered with us should be able to access the journal page from site.
when users try to access journal page it should show login screen to them.
please guide

you need to use membership plugins, there is lots of plugin for membership, I preferred membership-pro plugin. Read the documentation there is a setting option if user not registered or signing.
https://wordpress.org/plugins/paid-memberships-pro/
let me know if further problem.

Related

How to disable MediaWiki user account from the wiki website as an administrator

I'm the administrator of a wiki that's only accessible via login from a user with an account. I need to remove/disable/delete a user, but from the special pages on the website, I only seem to be able to delete their contributions and block the user. What I want is to prevent the user from ever being able to login and I've seen a few solutions such as changing their password and merging his account with someone else but those options seem to be accessible only via the Mediawiki software, which I've been having trouble installing. So is there any way to do this on the website itself?
Set $wgBlockDisablesLogin to true and block the account.

How do we provide two different url's for different users in Liferay?

i have developed a portal using Liferay.I have two kind of users, guest user and Admin user. The login should be possible by the Admin only. The guest user should not be able to login , or even see the sign in button. How do i achieve this? through different url's?
You might consider the following approach:
Remove the login portlet from the theme template. (portal-normal.vm)
Create a hidden page on your Guest group. On this page you place only the login portlet. So only the people who know the direct URL are able to login. AFAIK there is no other way to achieve this, as you don't know if someone is an Admin before he entered his credentials ;)
[EDIT]
To remove the login portlet from the template you have to do the following steps:
A) If you don't have a custom theme
- Create a new Theme
- Parent of your new theme is classic
- Place portal_normal.vm in /docroot/_diffs/templates
- Remove these lines:
#if (!$is_signed_in)
<a data-redirect="$is_login_redirect_required" href="$sign_in_url" id="sign-in" rel="nofollow">$sign_in_text</a>
#end
That should remove the login link.
- Compile and deploy your theme
- Assign the theme to the portal as default theme. Assign the theme to your guest group Site.
Now you only have to create your hidden page and place the login portlet on it.
[/EDIT]
You can also consider an alternative approach if you know sth more about the admin users - e.g. their IP address / addresses, then you could modify the contents of a page in a similar manner as stated by Gevatterjan, but then you check not for the signed-in users, but the ones with specfic IPs.

Difference between Dashboard and My profile

I have been using Liferay portal. Its very easy and user friendly. Actually developer friendly ! But i have few doubts. Would want to get them clarified.
What is the difference between dashboard and my profile?
How do you restrict a user from adding portlets?
3.How to add animation effects/slideshow ?
yeah. That is all for now. Please help me get them clarified. Thanks in advance
Dashboard --> User's own Page, where user can have own set of portlets
My Profile --> Basically Users's Information Page, where user can add/edit them manually.
for more info :
User Personal Sites
The provided answer is not correct. My Profile is a page where you can add portlets. My Dashboard is a page where you can add portlets. See the difference? Neither do I. After much digging I found this:
Finally, the user section shows the users name and provides links to the user’s profile (his or her publicly-accessible pages), dashboard (his or her private pages) ...
https://dev.liferay.com/discover/portal/-/knowledge_base/6-2/touring-liferay-portals-user-interface
So it looks like "My Profile" = publicly-accessible pages, while
"My Dashboard" = private pages. For an admin user, the dashboard appears to
contain links/portlets to manage the website, user accounts, etc.

Liferay's default guest page and it's purpose in a Website

I'm currently building a website for a company, that will for the moment contain 3-5 static pages (i.e, just content). User registration may be added in time to come.
Now, I've been reading through the Liferay docs, forums and wiki, and I'm still pretty unclear on the approach to take in designing this website:
If I were to model my company Website as an organization in Liferay where I would have the public pages of the Website, what would be the purpose of the default guest page? (/web/gues/home)? Do I remove this and redirect the guest to my organization? If so, how do I do this?
Who is the creator of an organization in the real world? Is this site administrator? or the person responsible for adding content?
Who is the creator of an organization in Liferay? Is this the administrator to Liferay (i.e the default Test user)?
The best way to do is is to put your pages in the Public Pages of your organization and setup a virtual host (see Manage Pages -> Virtual Hosts in the Control Panel) for those pages. This way, www.my-homepage.com will redirect to the public pages of your organization. You should of course be owner of the domain and link the domain to the IP address of the server the website runs on.
In Liferay, by default only users with the role of Administrator can add organizations. For managing content you should setup other roles. Create f.e. a Content Editor role and add permissions for the Web Content portlet (Create Content, Approve, Edit, Delete, View in Control Panel). This also answered your third question.
Add this lines of code in your portal-ext.properties
mail.session.mail.pop3.host=pop.gmail.com
mail.session.mail.pop3.password=PASSWORD
mail.session.mail.pop3.port=110
mail.session.mail.pop3.user=USER
mail.session.mail.imap.host=imap.gmail.com
mail.session.mail.imap.port=993
mail.session.mail.store.protocol=imap
mail.session.mail.transport.protocol=smtp
mail.session.mail.smtp.host=smtp.gmail.com
mail.session.mail.smtp.password=PASSWD
mail.session.mail.smtp.user=USERID#gmail.com
mail.session.mail.smtp.port=465
mail.session.mail.smtp.auth=true
mail.session.mail.smtp.starttls.enable=true
mail.session.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
Please user your password in place of PASSWD and your gmail user id in place of USERID.
By three different ways we can configure mail server in Liferay. I am using Liferay 6.2 and initially I got an error that could not connect to smtp host localhost port 25 in liferay by using different code. So I used above code and my mail server is configured properly and my application is able to send mail to the user in forgot password case.
And please see this link. This link help me to solve the issue.
https://www.permeance.com.au/web/tim.telcik/home/-/blogs/how-do-i-configure-liferay-portal-to-use-google-mail
Thanks
asif aftab

Where can I find information on how to customize the user registration process of Liferay + Sun Web Space Portal

I need to quickly customize the user registration form of the liferay/web space portal? Have not found any direct information on this so would appreciate any tips.
There are several possibilities:
The source is available, so you might want to patch the existing process
The API is available (e.g. see this thread in the liferay forum), so you can batch-create users or implement your own registration portlet and just use the API. AFAIK you can even register users via a webservice interface.
You can batch-insert users into the database
If your existing user data is stored in LDAP, you can connect Liferay to the database.

Resources