Foros de discusión

Message Board email notification URLs point to Control Panel

Juha Anttila, modificado hace 9 años.

Message Board email notification URLs point to Control Panel

New Member Mensajes: 14 Fecha de incorporación: 19/10/12 Mensajes recientes
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, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
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, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

New Member Mensajes: 14 Fecha de incorporación: 19/10/12 Mensajes recientes
OK - thanks! Think we'll wait for the LR7 then.
thumbnail
David H Nebinger, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
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ý, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

Liferay Master Mensajes: 566 Fecha de incorporación: 22/07/10 Mensajes recientes
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, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

Junior Member Mensajes: 83 Fecha de incorporación: 24/11/14 Mensajes recientes
Hi Jan Tošovský,

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


this works fine!

thank you
Vishal Patel, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

Junior Member Mensajes: 83 Fecha de incorporación: 24/11/14 Mensajes recientes
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 :

Archivos adjuntos:

Jan Tošovský, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

Liferay Master Mensajes: 566 Fecha de incorporación: 22/07/10 Mensajes recientes
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ý, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

Liferay Master Mensajes: 566 Fecha de incorporación: 22/07/10 Mensajes recientes
This variant seems to be working for me:

[$PORTAL_URL$]/group/guest/discussions/-/message_boards/message/[$MESSAGE_ID$]
Vishal Patel, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

Junior Member Mensajes: 83 Fecha de incorporación: 24/11/14 Mensajes recientes
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, modificado hace 9 años.

RE: Message Board email notification URLs point to Control Panel

New Member Mensajes: 14 Fecha de incorporación: 19/10/12 Mensajes recientes
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!