I removed the require global.php and admin/config.php from the script.
Then, I modified the queries to use VBulletin functions.
I added the ability to put a <pagebreak> tag in the article so that it will break where you want it to.
My version also uses search engine friendly URLs, but I removed that from this one for you guys.
I have included pretty close to my version. (minus the url changes). To use it, require global.php and admin/config.php in the CALLING script.
Make a copy of this script and a copy of the config script for each instance that you want to include on your page. Edit the news script to point to the proper config script.
Amy
|