<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Extract Forum data in CSV or other content type - Questions per date, etc."]]></title>
		<link>https://community.jforum.net/posts/list/2.page</link>
		<description><![CDATA[Latest messages posted in the topic "Extract Forum data in CSV or other content type - Questions per date, etc."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Extract Forum data in CSV or other content type - Questions per date, etc.</title>
				<description><![CDATA[ Hi everyone!
<br>
<br>
I wanted to ask about extracting statistical forum data. JForum has boards and rankings with useful insights, but I was wondering if it would be possible to extract that data, let's say in CSV or XLS for Reports. I'm particularly interested in extracting information about topic answers raised per date.
<br>
<br>
Thanks!]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/234/1067.page</guid>
				<link>https://community.jforum.net/posts/preList/234/1067.page</link>
				<pubDate><![CDATA[Thu, 22 Jul 2021 22:40:09]]> GMT</pubDate>
				<author><![CDATA[ Kevin]]></author>
			</item>
			<item>
				<title>Extract Forum data in CSV or other content type - Questions per date, etc.</title>
				<description><![CDATA[ No, JForum has nothing built in for extracting data, so the main option is to get down and dirty with SQL. If you can describe in a bit more detail what data you'd be interested in, I could whip up a few SQL queries to get you started.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/234/1068.page</guid>
				<link>https://community.jforum.net/posts/preList/234/1068.page</link>
				<pubDate><![CDATA[Fri, 23 Jul 2021 15:25:13]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>Re:Extract Forum data in CSV or other content type - Questions per date, etc.</title>
				<description><![CDATA[ Hi!
<br>
<br>
I'm interested in extracting information in CSV or XLS format about the following:
<br>
[list]New topics raised by date and user[/list]
<br>
[list]New answers raised by date and user[/list]
<br>
[list]Views by date[/list]
<br>
<br>
An SQL script would be much appreciated, thanks!]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/234/1069.page</guid>
				<link>https://community.jforum.net/posts/preList/234/1069.page</link>
				<pubDate><![CDATA[Fri, 23 Jul 2021 17:31:48]]> GMT</pubDate>
				<author><![CDATA[ Kevin]]></author>
			</item>
			<item>
				<title>Re:Extract Forum data in CSV or other content type - Questions per date, etc.</title>
				<description><![CDATA[ This gives you all topics created after a specific time, along with number of views, number of replies, the user who started the topic, and the text of the initial post:
<br>
[code=sql]
<br>
select t.topic_id, t.forum_id, t.topic_title, t.topic_time, t.topic_views, t.topic_replies, t.user_id, u.username, pt.post_text
<br>
from jforum_topics t, jforum_users u, jforum_posts p, jforum_posts_text pt
<br>
where t.user_id = u.user_id
<br>
and t.topic_id = p.topic_id
<br>
and p.post_id = pt.post_id
<br>
and t.topic_time &gt; '2021-01-01'
<br>
and p.post_id = t.topic_first_post_id
<br>
[/code]
<br>
<br>
This gives you all replies after a specific time, along with the user name who posted the reply and the text of each reply:
<br>
[code=sql]
<br>
select t.topic_id, t.forum_id, t.topic_title, p.post_time, p.user_id, u.username, pt.post_text
<br>
from jforum_topics t, jforum_posts p, jforum_posts_text pt, jforum_users u
<br>
where t.user_id = u.user_id
<br>
and t.topic_id = p.topic_id
<br>
and p.post_id = pt.post_id
<br>
and p.post_time &gt; '2021-01-01'
<br>
and p.post_id &lt;&gt; t.topic_first_post_id
<br>
[/code]
<br>
<br>
Views are only tracked per topic overall, not on a daily basis.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/234/1070.page</guid>
				<link>https://community.jforum.net/posts/preList/234/1070.page</link>
				<pubDate><![CDATA[Fri, 23 Jul 2021 18:56:30]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
	</channel>
</rss>