View Full Version : IPB 2.3.5
WebstersFury
07-24-2008, 04:03 PM
Any possibility at all of using this on IPB 2.3.5?
It looks like the answer to my prayers! But I can't get it to work.
test page returns:
"Fatal error: Call to a member function getChildByName() on a non-object in /home/acoffeeb/public_html/news/classes/sources/RSS/RSS.php on line 220"
when I include both Feed1 (IPB forum selection) and Feed2 (RSS feed from same forum just for testing sake.)
I'm about one step in over my head here, but I learn quick and I'd love to figure this out. I don't see many recent posts, so I hope some one is still out there doing this.
What a fantastic idea!
Thanx!
Web
Patrick
07-24-2008, 05:42 PM
The RSS feeds are only for RSS feeds and it was kind of added as extra.
To get the full functionality of the script, you will want to specify the actual forum database details and set the news source type to forum instead of RSS feed in the EP-Dev Forum News admin panel. You can find your forum's database details in a configure file in your forum's folder (I think IPB's config file is named conf_global.php ).
WebstersFury
07-25-2008, 11:25 AM
Thanx Patiek, for the helpful advice AND the incredibly fast response!
I have two feeds set up at this time. Because I have been fighting my way around trying to get my forums to feed to my page, I already had RSS set up for several forums. I then just feed the RSS to my page. It's inefficient, but it's working.
Then I ran across your brilliant idea and decided to give it a shot.
So, for Feed2, I just placed the existing RSS info into the setup and set it to RSS.
For Feed1, I used the actual forum ID and set type to Forum instead of RSS.
When I came time to generate the code snippet, I selected both feeds.
You are correct. IPB's config file is config_global.php. I'm actually pretty familiar with the database set up because I've ALSO been trying to connect with HEIDI SQL and write some PHP to extract what I want.
Wish I'd found you before I went through all that, haha!
In any case, the database info is set up correctly, and the feed types are correct as well.
Can you give me any indication of what kind of problem my error is pointing to? Have I got syntax problems somewhere? Am I just not hitting my database at all?
Thanx a million Patiek. I can't WAIT to get this up and running. What a marvelous piece of code!
WebstersFury
07-25-2008, 12:01 PM
I just re-read that and I guess I wasn't very clear.
Here are the settings for both of my feeds:
(obviously abbreviated for security.)
Source1
Type: Forum
Enabled
DB User: acoffeeb_dbadmin
DB PWD: DBadminPassword
DB Name: acoffeeb_dbname
DB Host: localhost
DB Prefix: ibf_
Forum Type: IPB 2.1
Forum URL: http://www.acoffeebreakcafe.com/CBC
Default Cat Id: 17
Source 2
Source Type: RSS
RSS Feed Url: http://www.acoffeebreakcafe.com/CBC/index.php?act=rssout&id=5
When I generate the code selecting both sources, I get the error message I posted above.
When I get back to my desk this afternoon, I'll post you the errors I get when I select them individually and generate. The messages are similar tho... line errors in the .php for whichever feed. (forum or rss)
My initial guess is that when IPB went to 2.3 their base code significantly changed. I know this because many of the mods I had installed had to be updated and redone. Some call functions must've changed because all the old stuff stopped working with 2.3...
But I'm really hoping it's a "silly newbie" error and you can point me in the right direction to correct it. Or, I would be overjoyed to help update this to get it working with 2.3 in any way I possibly can.
Thanx again! I'm SO excited about finally finding a simple way to get my forum tied into the rest of my site!
Patrick
07-25-2008, 03:16 PM
IPB likely did modify their database structure and it is likely causing you problems regarding your "Forum" news type in the EP-Dev Forum News Panel.
I can update the plugin if you can provide a database structure dump (no data ... just the structure). You can usually do this through a control panel interface or through a script such as phpMyAdmin. If you cannot provide a dump/backup of the database structure then it may take a little longer as I will need to obtain a copy of IPB.
Also, you should be using "forum" type for the other feed as well (Don't use the RSS functionality that is built into EP-Dev Forum News as it is buggy).
WebstersFury
07-25-2008, 03:42 PM
Oh that's beautiful! I should have double checked my forum id entries before I posted.
The Forum source is working brilliantly.
The RSS feed source is still giving me the same error, however. (It's not totally necessary at this point, but it would be nice to feed outside sources into using the same template/format without having to mess around in the CSS so much.)
It would also be really great if I could figure out a way to get it to feed other components on my site. (Like IPB's Blog System and Gallery Systems).
So, is there a graphical link I may place on my website to give credit where it is so certainly due?
I LOVE this Script!!!!
WebstersFury
07-25-2008, 03:47 PM
Sorry, I posted without refreshing.
If you are interested, I'd be more than happy to dump the structure to you for further development. However, the error was mine, so you don't need to do anything further with your script if you don't want to. It's absolutely wonderful.
I wish I understood enough to help take it even further. Sadly, I'm a beginner with such things and rapidly get overwhelmed. I'm still trying to get my SQL Queries in the right order, haha!
In any case, Thank You, Patiek for an amazingly useful tool, wonderful support and undying patience.
You have my eternal gratitude.
All the best,
Web
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.