UBB.Dev
Posted By: jma Using ubbtnews.php - 03/06/2003 5:21 AM
I've updated the ubbtnews.php file and I've added:
<?
include "path/to/ubbtnews.php";
?>

with the path to this file in my html (within a table) where I want the news entry to land. The index file is a php file, but still no display. There is no error, but there is no display either. Any suggestions?
Thanks.
Posted By: AllenAyres Re: Using ubbtnews.php - 03/06/2003 5:27 AM
hmmm... ubbtnews.php is blank
http://www.igotissues.com/ubbthreads/addons/ubbtnews.php

make sure that's been setup correctly first open the file and check towards the top
Posted By: jma Re: Using ubbtnews.php - 03/06/2003 5:32 AM
Thanks for the quick response. I'm not sure what you mean "check towards the top". Here is the entire code list:

// -------------------------------------------------
// Variables Section - Edit these to suit your needs

// Path to your main.inc.php script
$path = "http://www.igotissues.com/ubbthreads";


// The url to your UBB.threads installation
$forumurl = "http://www.igotissues.com/ubbthreads";


Does anything look strange?

edit: can't post full copyrighted threads .php files only languages, templates, and css styles
Posted By: AllenAyres Re: Using ubbtnews.php - 03/06/2003 5:46 AM
you listed your url as both the path to the script and the url to the script - that will probably fix it
Posted By: jma Re: Using ubbtnews.php - 03/06/2003 1:35 PM
Sorry about listing the entire file, that won't happen again!
I know I'm close, but I'm not sure what is meant in your response about the diff between the path and url. Specifically, what change would you recommend that would fix my problem?

Big Thanks for the help.
Joe.
Posted By: JoshPet Re: Using ubbtnews.php - 03/06/2003 6:20 PM
path would be something like this:

/home/yoursite/htdocs/ubbthreads

a URL is like this: http://www.yoursite.com/ubbthreads

Check your config file for the "path to threads" and put that in your news file where it asks for path.
Posted By: jma Re: Using ubbtnews.php - 03/07/2003 5:06 AM
You guys are awesome, thanks for the help. I got ubbtnews working fine on my home page and I think it looks great. Thanks for the assistance.
Joe.
© UBB.Developers