<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Q: html tags, online-status, captcha, statistics, Moderation of replies"]]></title>
		<link>https://community.jforum.net/posts/list/3.page</link>
		<description><![CDATA[Latest messages posted in the topic "Q: html tags, online-status, captcha, statistics, Moderation of replies"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Q: html tags, online-status, captcha, statistics, Moderation of replies</title>
				<description><![CDATA[ 1. [b]are html tags really supported?[/b] i can't get the html tags work. when i write some thing like
<br>
[code]&lt;a href="www.google.com"&gt;google&lt;/a&gt;[/code]
<br>
for some reason is translated to something like
<br>
[code]&lt;a &gt;google&lt;/a&gt;[/code]
<br>
(the href attribute is trimmed, i think in client side)
<br>
+ i've tried to add the &lt;div&gt; tag. with no success.
<br>
when i update the configuration file, where my update is saved? ( in which file/db table)
<br>
<br>
2. [b]online-status [/b] in user profile there is a "show online status" attribute, which is not working (?) - every time i set it to no it is set back to yes.
<br>
<br>
3. [b]captcha [/b]- is too damn hard for humans!
<br>
<br>
4. [b]lucene statistics[/b] - is there any way to update automatically? just to be sure, only pages that were indexed (by lucene) are shown in search result, right?
<br>
<br>
5. [b]moderation of replies[/b] - is an attribute in group permission control (is there any individual permission control?) which is not working...
<br>
<br>
thanks!
<br>]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/7/24.page</guid>
				<link>https://community.jforum.net/posts/preList/7/24.page</link>
				<pubDate><![CDATA[Mon, 1 Aug 2011 21:42:08]]> GMT</pubDate>
				<author><![CDATA[ yoyogin]]></author>
			</item>
			<item>
				<title>回覆:Q: html tags, online-status, captcha, statistics, Moderation of replies</title>
				<description><![CDATA[ 1.[b]HTML tags[/b]:
<br>
Allowed HTML tags is defined in the properties file SystemGlobals.properties or redefined by jforum-custom.conf with this key:
<br>
html.tags.welcome
<br>
And for tag name [b]a[/b] and [b]img[/b], you should include the "http://" at the beginning of the URL.
<br>
For examples:
<br>
<a href="http://www.google.com">google</a>
<br>
<img src="http://jforum.andowson.com/templates/default/images/logo.jpg">
<br>
<br>
2.[b]Hide Online-Status[/b]: This is a TODO feature. You can modify GenericUserDAO.java by removing this line to get the data displayed correctly:
<br>
[code=java; first-line:202] protected void fillUserFromResultSet(User user, ResultSet rs) throws SQLException
<br>
{
<br>
user.setAim(rs.getString("user_aim"));
<br>
user.setAvatar(rs.getString("user_avatar"));
<br>
user.setGender(rs.getString("gender"));
<br>
user.setRankId(rs.getInt("rank_id"));
<br>
user.setThemeId(rs.getInt("themes_id"));
<br>
user.setPrivateMessagesEnabled(rs.getInt("user_allow_pm") == 1);
<br>
user.setNotifyOnMessagesEnabled(rs.getInt("user_notify") == 1);
<br>
user.setViewOnlineEnabled(rs.getInt("user_viewonline") == 1); // this is what we need
<br>
user.setPassword(rs.getString("user_password"));
<br>
user.setViewEmailEnabled(rs.getInt("user_viewemail") == 1);
<br>
//user.setViewOnlineEnabled(rs.getInt("user_allow_viewonline") == 1); // remove this line
<br>
...
<br>
}[/code]
<br>
However, currently there is no implementation for hiding online status in JForum :shock: .
<br>
<br>
3.[b]Captcha[/b]: Just keep trying with generating a new one until you can recognize it. :mrgreen:
<br>
<br>
4.[b]Lucene Statistics[/b]: Lucene is automatically updated when you add/remove/modify posts. Yes, you're right. You can only search back indexed pages by Lucene.
<br>
<br>
5.[b]Moderation of Replies[/b]: Forum moderation is a little complicated. Moderation of a forum needs to be enabled first.
<br>
First, you have to enable moderation setting on the Forum Management. After that, go back to Group Management and modify the moderation of replies setting.
<br>
JForum's permission control is reverse. You highlight a forum in the lists means that forum is out of control(Don't need moderation on replies, but first post is still need to be moderated). And the other unselected forums are still need moderation when reply to an existing post.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/7/25.page</guid>
				<link>https://community.jforum.net/posts/preList/7/25.page</link>
				<pubDate><![CDATA[Wed, 3 Aug 2011 19:27:38]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>