Ok i've pretty much rewritten this to be like my news syndicate hack.
Upload the file into your forums directory, then go to your php nuke admin page, click blocks, at the bottom you will see something like RSS/RDF file URL: and then on the right is a link which says [setup]
click that and in there at the bottom you can enter the url to the backend.php file and the title.
I've removed the call to global.php as it was kinda pointless, it loads lots of variables and checks sessions and loads functions which we aren't gonna use.
It just loads the database abstraction layer and then it checks forum permissions. The previous copy by lordnet didn't.
I've tested that this works in my browser and it generates the standard xml file fine, not sure about as a block though.
|