Great work on Advanced Forum - things are coming on so well.

I would like to have a view of the most recent posts on the forum in a flat list, sorted by date, with the newest at the top. However, I can't see how to do this with a simple view to show both the comments and the original forum nodes, I can only do one or the other.

Furthermore, I would like this to be themed in the same style as the forum. I suspect this would be a relatively easy view to generate within the module code, but not using views?

For an example from SMF forum of what I would like to achieve, see:
http://www.charityrallies.org/forums/index.php?action=recent

Any suggestions?

Comments

michelle’s picture

"Any suggestions?"

Unfortunately, no. I spent about 2 hours trying to figure this out some months ago and had no luck. It can probably be done in 6.x with Views 2 but Views 1 just isn't that flexible.

I'll leave this open for a bit in case someone else has ideas but there's nothing I can do here.

Michelle

scedwar’s picture

Is the problem that views will not create a list of comments and nodes in a single view, or is there more to it than that?

michelle’s picture

Yes, that's the problem. Comments and nodes are two different things and I couldn't figure out any way to mix them in one view.

Michelle

scedwar’s picture

I have not tried it, but I understand this is supported in Views 2 (in short, an OR operator on the filter). That doesn't help us on D5 though. :-(

Have you ever tried (it looks a little neglected):
http://drupal.org/project/issues/views_union

If not, a small helper module to provide "Nodes or Comments" in the type selector in Views on D5 should get us there?

michelle’s picture

Status: Active » Closed (won't fix)

No, I haven't tried it. You'll probably have better luck asking in the forums. Asking in this queue isn't going to be seen by many people other than me and it's not something I can help with.

Good luck,

Michelle

scedwar’s picture

Status: Closed (won't fix) » Active

There are a couple of us working on this so we'll leave this open and log progress here. The comments and nodes problem is relevant to other parts of our site too.

btw apart from this and some very minor issues specific to our setup, Advanced Forum is very impressive and maturing nicely. Thanks for all your hard work on this - it has been a long slog from when you first dived into this (more than a year ago?) but it was certainly worth it!

michelle’s picture

I closed it because I like to keep the issue queue cleaned up and this issue doesn't have anything to do with AF. You'd have better luck discussing it in the forums where other people are likely to see it. If you really must use this issue, I'll keep it open a while but I'll close it again if no one is using it.

Michelle

michelle’s picture

Status: Active » Closed (won't fix)
scedwar’s picture

Some D6 related work on this issue:
http://drupal.org/node/339434
http://drupal.org/node/349584

We will get round to fixing this eventually. Will report back when we do.