![]() |
I need help adding custom php code to vb style?
I am trying to a a custom RSS reader that I can place on a page.
This is the code I'm trying to work in a style I made. I already made the vb page and it works, just the custom code does not display the feed. <fieldset class="rsslib"> require_once("rsslib.php"); $url = "http://www.newsfeed.org/feed/"; echo RSS_Display($url, 15, false, true); </fieldset> The other settings are on the lib.php file. I can call everything fine on a blank page inside the forum root directory. Is there a vb tag to ad custom php code inside vb php code? Did I ask that right? Thanks |
You cannot put php in a template. PHP goes in the the php file, html goes in the templates.
|
Bummer, I guess I need to use Ajax or Java script then, thanks
|
Or a plugin.
|
There is not a plugin that I can find to read rss feeds that don't post to the forum. let me correct that, not that I can find right now, I'm still looking, just no joy yet. I have one in c# that does everything, but it's for another site.
I was hoping for the easy way out, but I can use Java :( I guess. Thanks for the quick reply |
try Dynamic Drive website they have some nice java scrip rss stuff you can use and it will work ok.
|
All times are GMT. The time now is 04:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|