
12-04-2008, 05:38 PM
|
|
|
Join Date: May 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by black_diamond
Anyone got any ideas, I have done this from the other thread:
Using this to tag RSS feeds
Unfortunately vBulletin does not include (that I can see) a hook that is called when an RSS thread is created. This means that it is not possible to hook into the code and perform auto tagging. All is not lost though, however it does require an edit to one of the default vBulletin files.
This is what you need to do:
Open includes/cron/rssposter.php
Find the following line:
Code:
$itemdata->set('ipaddress', '');On a new line immediately after this paste in:
Code:
require_once(DIR . '/includes/functions_autotagger.php');
$autotags = GetAutoTags($itemdata->fetch_field('title'), "", true, $itemdata->fetch_field('forumid'), $feed['userid'], $item['rssfeedid']);
$itemdata->set('taglist', $autotags);Save the file and place on you server.
Once this is done, and you have enabled RSS tagging in the configuration then RSS threads will be tagged.
But all I get in the tag box of an RSS feed thread is the word "Array" ,Thanks
|
i added the codes and no tags...
|