2006-10-04, 01:01 PM
This is pretty basic, but some newbies like myself might need it and please forgive the bad ehglish
To include news into your mybb forums, you can use cutenews to display news right in your forums!
just put this simple code into global.php
This can be useful if you wann show mabye two or three news articles on the top of your forum index Just put $shownews in the template where you want your news to appear
To include news into your mybb forums, you can use cutenews to display news right in your forums!
just put this simple code into global.php
@ob_start();
$number=X; // Replace X with the number of news articles u wanna show include "/path_to_cutenews/show_news.php";
$shownews = @ob_get_contents();
@ob_end_clean();
put the above code into global.php just above// Load Main Templates and Cached Templates
if(isset($templatelist))
{
$templatelist .= ',';
}
$templatelist .=
This can be useful if you wann show mabye two or three news articles on the top of your forum index Just put $shownews in the template where you want your news to appear