I have forums 3,4 for my news and also had them listed in the forum exclusion. After removing them from the exclusion list I made the code change again and get this error:
Parse error: parse error in /home2/www/numbmonkey/index.php on line 189
This is what the code looks like in my index.php file:
PHP Code:
// user configured forumids to exclude
if (!empty($vbindex['limitfids'])) {
$limitfids = array();
++++$limitfids = explode(',', $vbindex['limitfids']);
foreach($limitfids AS $key => $value) {
$limitfids["$key"] = intval($value);
}
} else {
$limitfids = array(0);
}
I'm so stumped as to what I'm doing wrong.
Quote:
Originally Posted by NTLDR
Thank you
What have you entered into the news forum ids option? The latest threads should exclude them automatically, you don't need to add the to the exclude option as that should exclude them from the news too
Are you sure you did the fix exactly as shown? Its works fine for me.
|