• Welcome to Simple Machines Community Forum. Please login or sign up.
October 16, 2021, 10:15:05 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Using SMF to comment on Mambo Topics

Started by wing, September 16, 2007, 12:04:07 AM

Previous topic - Next topic

fernandop

To put the follow code:

<?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;
?>


Anyway, the template bug persist, with or without it.

Orstio


fernandop

June 14, 2009, 12:42:57 AM #22 Last Edit: June 14, 2009, 12:46:14 AM by fernandop
With SMF_discussbot mambot published and the line "mysql_select_db("bd_forum");" inserted on SSI.php, the front-end layout/template is affected, like I said earlier. It loses the margins and orientation. So, we're talking about two things:

1. Warnings (my initial post) - solved with mysql_select_db PHP command in SSI.php but needs atention.
2. Layout problems - after bypass the warnings issue above, I'm having layout inconsistences when I publish the discussbot mambot: my menu margin grows right and the content on frontpage is supressed by left menu.

Thanks again!

fernandop

Please, guys, don't forget my topic. =)

I don't know the solution yet... :-[

Orstio


Advertisement: