deathemperor
08-16-2007, 01:56 PM
How do I add feeds like news feed to be posted as articles into categories ? if that is even possible.
If it can't post feeds then would it be possible to prune/read threads from specific forums in to specific categories respectively ?
Please guide me if there is such way.
Thanks.
Brian
08-16-2007, 02:01 PM
So you're trying to get feeds from another site posted as articles, right? If that's correct, I'm sorry, but there are not any default options for something like that at this time.
deathemperor
08-16-2007, 10:50 PM
I'm actually trying to feed news but I guess that doesn't change anything.
How about fetching thread content (in vb forum) into articles ?
Brian
08-17-2007, 02:10 PM
I do have an import script for vB threads, but it still needs to be updated for use with v1.0. That is more of a one time thing though.
I am also working on a hack that some others have requested that will allow you to enter the URL to a thread in one of your custom fields. It will then pull the posts from the thread specified and display them with the entry. I should also be able to work something in so that it automatically creates a thread in a specified forum when submitting a new entry.
Would either one of those work for you?
Lionel
08-17-2007, 04:02 PM
I am curious to see the insert statement in your importer so i could use it in a product under showthread.php thread tool to insert that thread into dynamics
Brian
08-17-2007, 04:08 PM
The one to import vB forums still needs to be updated, but I do have one for vBlogetin that is current. Here's the relevant bits of code from that one.
$entryinsert .= "(
$entry[entryid],
'" . $db->escape_string($entry['title']) . "',
$entry[categoryid],
$entry[userid],
'" . $db->escape_string($entry['username']) . "',
$entry[dateline],
$entry[hits],
$entry[iconid],
$entry[sticky],
$entry[visible],
1,
$entry[timesrated],
$entry[votetotal],
'" . $db->escape_string($entry['ipaddress']) . "'
),";
$entrytextinsert .= "(
$entry[entryid],
'" . $db->escape_string($entry['title']) . "',
'" . $db->escape_string($entry['body']) . "',
1,
1
),";
}
$db->query_write("INSERT INTO " . TABLE_PREFIX . ADV_DYNA_PREFIX . "_entries (entryid, title, catid, userid, username, dateline, views, iconid, sticky, valid, open, votenum, votetotal, ipaddress) VALUES " . substr($entryinsert, 0, (strlen($entryinsert) - 1)));
$db->query_write("INSERT INTO " . TABLE_PREFIX . ADV_DYNA_PREFIX . "_entries_pages (entryid, title, pagetext, pagenumber, allowsmilie) VALUES " . substr($entrytextinsert, 0, (strlen($entrytextinsert) - 1)));
deathemperor
08-19-2007, 11:55 PM
I do have an import script for vB threads, but it still needs to be updated for use with v1.0. That is more of a one time thing though.
I am also working on a hack that some others have requested that will allow you to enter the URL to a thread in one of your custom fields. It will then pull the posts from the thread specified and display them with the entry. I should also be able to work something in so that it automatically creates a thread in a specified forum when submitting a new entry.
Would either one of those work for you?
To be more clear: I want to add news feed into articles. Because yours does not support feed posting so I wish to do it via threads because vbulletin can do the feed very well.
I'll tell you what I'm trying to do too: I want to create a page like news.google.com. I can either do this with vbadvanced cmps or vbadvanced dynamics. Since vbadvanced dynamics support categorying, it's easier to catagorize news.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.