On a site running both Drupal 6 and vB 3.8, I am seeking a means to simply display a list of recent threads in a Drupal block (with links to the threads). I have no need to do anything else in terms of bridging the two systems (e.g. no user integration).

If I use this module, what would be a good approach? Would a standard, full-blown installation be required, or is there a simpler implementation scenario available?

CommentFileSizeAuthor
#2 get-vb-posts.php_.txt2.25 KBbpirkle

Comments

silurius’s picture

Should have clarified that I am familiar with vBulletin's External Data Provider.

Just wondering if this module might offer me a means of managing the displays via Drupal forms rather than via raw code in blocks. (And without adding other unneeded features such as user bridging).

Thanks in advance!

bpirkle’s picture

StatusFileSize
new2.25 KB

There may be a better way, but we wrote custom SQL for this. See attached, hope it helps. We used it from a module, but I suppose you could drop the PHP into a block if you like. You'd just want to iterate the array of posts and print whatever HTML is appropriate for your site.

silurius’s picture

Bpirkle, your timing is fantastic. Just as you were posting the above, I was rolling up my sleeves and getting ready to begin work on something very similar to what you propose. Many thanks for the sample code! I am very grateful for the head start.

sun’s picture

Status: Active » Closed (won't fix)

If you don't want to integrate both systems, then you can go with a custom query, just like you can query anything with a custom query. Not sure how this issue is related to this module.

silurius’s picture

Your question was probably meant to be rhetorical, but I think this issue "relates" in the same way that any general inquiry about any kind of product tends to relate to the product itself. Anyway, thanks to sun & bpirkle for the query suggestions.