Auto subscribe all site users to site blogs by default in Liferay - liferay

In Blog portlet in Liferay I want all my site users must be by default subscribed to the blogs for the site. Is there any property that we could set, but i didn't find one. I am new to liferay, so if anybody could help that would be great.
thankyou.

Related

Maintain Liferay session depending upon session in another website

Two components
Liferay site
Another web-site on which we do not have any control
What we have
We would be using apache-httpcomponents to login to the website programmatically through Liferay and get the html page after login. Do some HTML parsing and display the page in liferay.
What we need to do (and this is were i need help or pointers)
So what we need to do is this :
User logs in to Liferay giving credentials
He will only be logged-in when the login is successful in the other website programatically.
Once login successful in that application, a session would be created in liferay.
Once the user is idle for a certain period and is logged-out of website it should log the user out from Liferay as well.
User base is the same in both the website and liferay but password in liferay are different and not same as those in the website.
Also is my approach correct when I am using Apache HttpComponents or is there any other way to do this?
Any help in this direction would help.
Thanks
Note: Cross-posted on Liferay Forums - Maintain Liferay session depending upon session in another website
I'm not sure which is your problem. Liferay log out users automatically when they stop interacting for a time.

Liferay: Custom Role to Add Specific Portlet

I've created a Regular User Role in my Liferay Portal titled Announcement Poster - the purpose of this role is to give all normal, non-administrative users the ability to add only the Announcement and the Alert Liferay out-of-the-box portlets to a page, as well as modify and delete those portlets as needed.
According to this post pertaining to Liferay 6.1, this can be done very simply by defining a Role's permissions and I've seen other users have success with the method, however in Liferay 6.2 I cannot achieve this - With my current settings, the user can still see the Edit and Preview options as well as the Portlet Configuration option. I simply want only the Add option to be displayed to a user assigned to this role.
My defined role permissions are as follows:
So far I've tried many combinations of Site, Site Setting & Application permissions but can't achieve the desired outcome; has anyone had any luck with this or a similar situation?
Subsequent Liferay forum post https://www.liferay.com/community/forums/-/message_boards/message/43455741
I don't think it is a Liferay bug, simply those buttons are not under permission system. You can hide them via css, or better, you can hook the dockbar JSP and render them with your own conditions.
EDIT:
When I say "those buttons are not under permission system" i mean singly.

Sharepoint 2010. All webparts are missing for visitor user

On my site all webparts is missing for visitor user.
I added visitor user for my site but when i trying to access my site with this user all custom and default sharepoint webparths are missing!
In html there is no code for webparts so this is not "visible" problem.
What i am doing wrong?
This could be due to security on the webparts. That the new user is not a member of a group that is required to view the web parts.

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

Adding a custom tab and page MOSS MySites that everyone can see

On MOSS mysites I want to be able to create a new tab that every mysite user can view, it should show a web part page.
How can I do this?
Create a site collection as a parent to all the MySites. Or to put it the other way, make the MySites a subsite to a site collection that has the site that you want all the MySites to see.
In your Shared Services Provider (Central Admin/Shared Services Admin), look under User Profiles and My Sites. You can select Personalization Site Links and point to an existing site that contains the web part page you want to display.
You can also filter the display using the Audiences functionality so that it only displays to a select group of users.
In regards to #Brian Meinertz's comment. This a detailed blog on Microsft's site about feature stapling:
Customizing MOSS 2007 My Sites within the enterprise

Resources