掲示板

Table name where Message Board posting get stored

thumbnail
10年前 に Subhasis Roy によって更新されました。

Table name where Message Board posting get stored

Expert 投稿: 275 参加年月日: 12/01/20 最新の投稿
Any one can please tell me the name of the Message board table which stores the message string posted in the message board.

Also can anyone please explain that how Liferay changes the " : ) " to emoticon icon at the time of posting any smiley icon in the message board. I mean where is the code written which is responsible for the change to internal code to show it as smiley.
thumbnail
10年前 に Harish Kumar によって更新されました。

RE: Table name where Message Board posting get stored

Expert 投稿: 483 参加年月日: 10/07/31 最新の投稿
messages are stored in mbmessage table.
thumbnail
10年前 に Subhasis Roy によって更新されました。

RE: Table name where Message Board posting get stored

Expert 投稿: 275 参加年月日: 12/01/20 最新の投稿
Harish Kumar:
messages are stored in mbmessage table.


Thanks harish,, already got that... But I am not able to find out the other part of my posting. i.e. the smiley part.

Can you please tell me part of code is responsible for showing the smiley in the dashboard. As we made some changes in the liferay's message board portlet and smiley is coming as codes.

The editor is not able to change it to smiley while showing the post
thumbnail
10年前 に Harish Kumar によって更新されました。

RE: Table name where Message Board posting get stored

Expert 投稿: 483 参加年月日: 10/07/31 最新の投稿
AFAIK Smilys are part of ckeditor functionality. you can find the related code in portal-web\docroot\html\js\editor\ckeditor_diffs\ckconfig_bbcode.jsp
thumbnail
10年前 に Subhasis Roy によって更新されました。

RE: Table name where Message Board posting get stored

Expert 投稿: 275 参加年月日: 12/01/20 最新の投稿
I found the part of code which is responsible for showing the smiley.

Its in the "view_thread_message.jspf" file.

Code snippet:

String msgBody = BBCodeUtil.getHTML(message);
msgBody = StringUtil.replace(msgBody, "@theme_images_path@/emoticons", themeDisplay.getPathThemeImages() + "/emoticons");


This above code shows the smiley from the theme image path.