Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumReporting on postings in forumReporting on postings in forum
Previous
 
Next
New Post
11/2/2007 3:42 PM
 

I'm trying to use the report and/or ReportGrid (not core moduel) to report on postings in several forums.  I'm guessing somebody else has done this before so thought I'd just ask before venturing out.

Basically, I can easily report on some data in the forums using something like:

select ff.ForumID, ft.ThreadID, ff.Name, fp.Subject, fp.Body
from forum_forums ff
inner join forum_threads ft on ft.forumid=ff.forumid
inner join forum_posts fp on fp.threadid = ft.threadid
where Name like 'Feature Requests' and ff.ForumID=13 and ft.ThreadID=16

To get at data I want with whatever restriction needed.  What I'm looking for is a way to easily render the data in the Body field into HTML that can be displayed easily in reporting module.  The data looks like:

<p>Here are some report ideas from a recent prospect RFP for re-usable container area.</p>
<p>
<table style="margin: auto auto auto -1.15pt; width: 354pt; border-collapse: collapse" cellspacing="0" cellpadding="0" width="590" border="0">
    <tbody>
        <tr style="height: 14.25pt">
            <td style="border-right: #f0f0f0; padding-right: 5.4pt; border-top: windowtext 1pt solid; padding-left: 5.4pt; padding-bottom: 0in; border-left: windowtext 1pt solid; width: 28pt; padding-top: 0in; border-bottom: windowtext 1pt solid; height: 14.25pt; background-color: transparent" valign="top" nowrap="nowrap" width="47">
            <div style="margin: 0in 0in 0pt" align="right"><strong><em><span style="font-size: 11pt">157</span></em></strong></div>
            </td>

So is there a stylesheet I could grab from somewhere that would easily format this back into HTML for rendering?  Thought it might save me some time.

Thanks!

 

 

 
New Post
11/3/2007 9:57 PM
 

Hi Ron,

if I understand you you asking for stylesheet for the Report Module.  Why asking in the Forum of the Forum Module.  I did not know how stylesheet is working in the Report Module.  Sorry.

Regards

Matthias

 
New Post
11/5/2007 7:45 AM
 

Reasonable question.  Since I was trying to report on data stored in the forum database, I was hoping somebody had some experience doing that (Report Module was just an example I thought people would be familiar with).  The forum data doesn't appear to be stored in a way that I can easily summarize in output via a SQL query, so I have to reformat it.  Looks like I'll have to reverse the HTML rendering process which is not a huge thing but still inconvenient.  So was just looking to see if anybody else had done any other reporting or summary forum postings (whatever mechanism).  What I'm trying to do is sort through posts (parent level) and list them out for analysis.

Tx,
Ron

 
New Post
11/5/2007 1:27 PM
 

This is not really difficult at all to handle, and all html text entered in any module should be stored in this manner.


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
11/5/2007 4:45 PM
 
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumReporting on postings in forumReporting on postings in forum


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out