 |
 |
 |
 |
#199744 - 09/09/05 01:18 AM
Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
|
Wizard
Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
|
Well, I found a bug... I'm running the latest version and for once I'm using the section: if ($count > 1)
echo "
";(before I left it as "" and used something else, but now i'm going for a more professional look) What I'm seeing on my dev site is that the first entry ignores if ($count > 1)
echo "
";Which kind of sucks as I get parts that run together... Any ideas? This is the only thing that's holding development back right now (well, the only thing i need to worry about anyway); I've been coding up a storm lately... You can see examples of this error by looking at the "Headlines" section, the first two entries mesh together vs using: if ($count > 1)
echo " || ";And the "Tech News" section the first two stories mesh together instead of using: if ($count > 1)
echo "
";(Note that the headlines are generated from a file named "headlines.php" and news from "news.php" so they aren't in the same file)...
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199749 - 09/12/05 12:07 PM
Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
|
Admin Emeritus
Developer
Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
|
Zip File Updated. Fixes ====== - Fixed the Gizzy $count bug - Changed the include to require for vars_config.inc.php (Why try to run if you cannot fetch the paths  ) - Tweaked the internal code documentation - Cleaned up the formatting of the code for easier reading (I should have done this sooner) - Switched the URLs to Spider Friendly I'm going to mark this as a Finished Modification since it does seem rather stable.
_________________________
http://thegeeksinc.com [img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|