Add this code to your page:
$plugins->run_hooks("knerbacustompage_start");
Then, open inc/plugins/ttposters.php and find:
$plugins->add_hook("index_start", "ttposters_do");
After it add:
$plugins->add_hook("knerbacustompage_start", "ttposters_do");
Ok, edited the file, added the "add_hook".
No changes at all. I don't know if this makes a difference but my forum is located at test.com/topics
and the custom page is located at test.com/mainpage.php
Ah, yes, that would affect it.
Add this code to the php:
define("IN_MYBB",1);
chdir("topics");
include("global.php");
:O Fatal error: Cannot redeclare class phptpl_templates in /home/froggaco/public_html/topics/inc/plugins/phptpl.php(71) : eval()'d code on line 26
Template conditionals by Zynga_Burger.
Where else woudl that be declared? :hmm:
What's your forum URL?
Hmmm. Any reason why you'd be including global.php already?