[Bridge 1.1.6] Problem with SMF DiscussBot

Started by chr!x, August 25, 2006, 12:34:36 PM

Previous topic - Next topic

jonblazn

Sorry to reopen but when I set my default discussion links to NOT show on the front page nothing shows up even though I've entered in the appropiate code {mos_smf_discuss:Blog Discussion}. The odd thing is that the mos code doesn't even show up in the joomla blog entry....it's as if it isn't even there....but it is. When I set my links to show on the front page it works great. The only problem is that I want to limit the option for discussion to only a couple categories.

jonblazn

Never mind....I had a misunderstanding....all I had to do was turn on the front page links but leave the default board blank. I thought that turning on the front page links would put the discussion on ALL content on the front page rather than just where I put the moscode.

X-Ception

everything works fine, till i add

<?php ob_start('output');
$buffer = ob_get_contents();
ob_end_clean();
$buffer = str_replace('<input type="hidden" name="sc" value="" />','<input type=hidden name="sc" value="'.$sc.'">', $buffer);
echo
$buffer;
?>

ive also tried:

mysql_select_db($GLOBALS['db_name']);

added to the template as you suggest to another user about 4 posts up nothing wrong with the bot, works fine but i assume this updates info - problem is with:
Quote
PHP_FLAG display_errors On
in .htaccess i get a white page everytime :(

using php 5.0.x
Joolo.net social community and irc network / Yowzar - random subject forum

chadness

If it's working without the code, don't worry about adding it.

Advertisement: