Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved My page doesn't understand the variables
#11
Not Solved
http://mods.mybb.com/view/top-posters
#12
Not Solved
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");
-Paul H.

Cogisne lingua latina?
#13
Not Solved
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
#14
Not Solved
Ah, yes, that would affect it.

Add this code to the php:

define("IN_MYBB",1);
chdir("topics");
include("global.php");
-Paul H.

Cogisne lingua latina?
#15
Not Solved
: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
#16
Not Solved
What plugin is that?
-Paul H.

Cogisne lingua latina?
#17
Not Solved
Template conditionals by Zynga_Burger.
#18
Not Solved
Where else woudl that be declared? :hmm:

What's your forum URL?
-Paul H.

Cogisne lingua latina?
#19
Not Solved
http://www.frogga.co.uk -main site

http://www.frogga.co.uk/topics - forum section
#20
Not Solved
Hmmm. Any reason why you'd be including global.php already?
-Paul H.

Cogisne lingua latina?


Forum Jump:


Users browsing this thread: 1 Guest(s)