Foren

Message Board email notification URLs point to Control Panel

Juha Anttila, geändert vor 9 Jahren.

Message Board email notification URLs point to Control Panel

New Member Beiträge: 14 Beitrittsdatum: 19.10.12 Neueste Beiträge
Hi!

We have this issue https://issues.liferay.com/browse/LPS-43724 in Liferay 6.2.0 GA1 CE. Fix versions listed in this bug report are 6.2.X EE, 7.0.0 M1.

Has this issue been fixed in Liferay 6.2.0 GA2 CE or is there a way to fix this in Liferay 6.2.0 GA1 CE?
thumbnail
David H Nebinger, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
Given the push on Liferay 7, I don't know that I'd be looking for a 6.2 GA3 release. Your only option may be to find the change in Liferay in github and instrument the change yourself in a custom build.
Juha Anttila, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

New Member Beiträge: 14 Beitrittsdatum: 19.10.12 Neueste Beiträge
OK - thanks! Think we'll wait for the LR7 then.
thumbnail
David H Nebinger, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
Yeah, your issue there is that 7.0 will probably not be GA until end of next year. Then, of course, you don't want to be the first one using 7, you want to wait for a later GA so the initial round of bugs are found, filed, and fixed before trying to use it.

That translates to probably an early adoption in about June, 2016 (if they get it out by end of 2015) but a realistic adoption in Q4 of 2016.
Jan Tošovský, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

Liferay Master Beiträge: 566 Beitrittsdatum: 22.07.10 Neueste Beiträge
You can override email templates in portal-ext.properties file:

message.boards.email.message.added.signature=com/liferay/portlet/messageboards/dependencies/email_message_added_signature.tmpl
message.boards.email.message.updated.signature=com/liferay/portlet/messageboards/dependencies/email_message_updated_signature.tmpl


and copy your version of signatures into:
/webapps/ROOT/WEB-INF/classes/com/liferay/portlet/messageboards/dependencies/...

with e.g. the following content:
[$COMPANY_NAME$] Message Boards<br />
[$PORTAL_URL$]/c/message_boards/find_message?messageId=[$MESSAGE_ID$]<br />
[$PORTAL_URL$]

Jan
Vishal Patel, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

Junior Member Beiträge: 83 Beitrittsdatum: 24.11.14 Neueste Beiträge
Hi Jan Tošovský,

[$PORTAL_URL$]/c/message_boards/find_message?messageId=[$MESSAGE_ID$]


this works fine!

thank you
Vishal Patel, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

Junior Member Beiträge: 83 Beitrittsdatum: 24.11.14 Neueste Beiträge
Hi,

PLEASE NOTE IT:

URL :
$PORTAL_URL$]/c/message_boards/find_message?messageId=[$MESSAGE_ID$]
does not work in case user does not logged into to Liferay & He click on Url from email.

I have view permission on page enable for logged-in user only. & This url is not redirecting to login page. emoticon

If someone have any solution , Please do reply?

My Scenario :

Page : Message Board
Public Page : No
Private Page : Yes
User Log in: No
Error Message Screen :

Anhänge:

Jan Tošovský, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

Liferay Master Beiträge: 566 Beitrittsdatum: 22.07.10 Neueste Beiträge
You are right, I am getting the same error, I haven't tested it thoroughly :-(

I need a fix for this as well.
Jan Tošovský, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

Liferay Master Beiträge: 566 Beitrittsdatum: 22.07.10 Neueste Beiträge
This variant seems to be working for me:

[$PORTAL_URL$]/group/guest/discussions/-/message_boards/message/[$MESSAGE_ID$]
Vishal Patel, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

Junior Member Beiträge: 83 Beitrittsdatum: 24.11.14 Neueste Beiträge
I haven't tries with updated URL you have used.

But I had already found solution for that issue, but little bit busy to post here.

I have add simple extra URL before that Url & it works!

URL : [$PORTAL_URL$]/c/portal/login?redirect=[$PORTAL_URL$]/c/message_boards/find_message?messageId=[$MESSAGE_ID$]


Hope this will help others!
Juha Anttila, geändert vor 9 Jahren.

RE: Message Board email notification URLs point to Control Panel

New Member Beiträge: 14 Beitrittsdatum: 19.10.12 Neueste Beiträge
Based on your fix ideas I just copy-pasted the correct URL of the message and replaced the actual number of the message id with the [$MESSAGE_ID$]. Then replaced the faulty [$MESSAGE_URL$] in the Message board settings signature with this concatenated string, tested and it works! No need to edit portal-ext.properties and restart LR.

Thanks!