2008-02-15, 02:41 PM
Hello again, I installed and activated the plugin for the Site News and when I added the code from the news.php provided, any coding below it stops displaying and the plugin doesn't display the test topic I added on the forums.
The location of the test page is: http://www.ffskies.com/beta/index.php
The location of the test forum is: http://www.ffskies.com/beta-forums
In terms of what I modified is as below:
I made sure that the forum to pull the news from is correct (which is 2).
Sorry about this, its probs something obvious but I just can't figure it out.
Thanks in advance.
The location of the test page is: http://www.ffskies.com/beta/index.php
The location of the test forum is: http://www.ffskies.com/beta-forums
In terms of what I modified is as below:
<?php
define("IN_MYBB", 1);
define("KILL_GLOBALS", 1);
define("NO_ONLINE", 1);
// The Directory to the forum you are using this on.
// You do not need a beggining or trailing slash
$directory_to_forum = "/beta-forums";
require dirname(__FILE__)."/".$directory_to_forum."/global.php";
$plugins->run_hooks("site_news_plugin_run");
?>
I made sure that the forum to pull the news from is correct (which is 2).
Sorry about this, its probs something obvious but I just can't figure it out.
Thanks in advance.