The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Running VB4.2.5
I've had issues in the past where VB just doesnt like any XML feed I give it, so I always hook the feed up to feedburner, and then get VB to read from the feedburner RSS. Worked fine in the past, no issues. Today, I've got a reddit feed, that I've put through Feedburner (http://feeds.feedburner.com/reddit/PPba), and set it up as usual. The preview from VB shows the content being pulled in correctly. Below are my settings, with the preview showing the correct stuff. ![]() Now when it comes to actually posting, the threads are blank - post title is there, but the actual post is just an empty box. Any ideas? Edit: Checked the error logs, and have the below: Code:
[05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185 [05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185 [05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185 [05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185 [05-Jan-2019 20:46:02 UTC] PHP Warning: Illegal string offset 'value' in /home/grimefor/public_html/includes/cron/rssposter.php on line 185 Code:
switch($feed['xml']->feedtype)
{
case 'atom':
{
// attach a content hash to each item
## THE LINE BELOW IS 185##
$item['contenthash'] = md5($item['title']['value'] . $description . $item['link']['href']);
break;
}
case 'rss':
default:
{
// attach a content hash to each item
$item['contenthash'] = md5($item['title'] . $description . $item['link']);
}
}
|
|
#2
|
|||
|
|||
|
This older thread may provide a little insight: https://www.vbulletin.com/forum/foru...hp-on-line-187
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|