Few days ago i installed a Icy Phoenix to make a website about Some games. Now im tryng to install a mod called Itemstats. This have compatibility for forums phpbb. But im tryng to get it work in the Icy Phoenix.
Basically when i use [ item]Object[ /item ] search in some databases in some pages, and link the item in a tooltip.
Really i dont know how to do it, but im tryng to insert.
Code: [Download] [Hide]
- include($phpbb_root_path . '/phpbb_config_itemstats.php');
- include($phpbb_root_path . path_itemstats . '/phpbb_itemstats.php');
from the modifed bbcode.php in Itemstats_phpbb
didnt get problem with that, bah, no error in the page :p.
After that i insert
Code: [Download] [Hide]
- include_once($phpbb_root_path . "phpbb_config_itemstats.php");
- include_once($phpbb_root_path . path_itemstats . "/phpbb_itemstats.php");
- $itemstats_ref = '<link rel="stylesheet" href="' . $phpbb_root_path . path_itemstats . getStrCssStyle() . '" type="text/css">
- <script type="text/javascript" src="' . $phpbb_root_path . path_itemstats . getStrTooltipStyle() . '"><!-- overLIB (c) Erik Bosrup --></script>';
- $template->assign_vars(array(
- 'ITEMSTATS_REFS' => $itemstats_ref,
from the modified page_header.php in the Icyphoenix /includes/page_header.php
Fatal error: Cannot redeclare itemstats_parse() (previously declared in /www/xxxxl/mydomain.com/html/itemstats/phpbb_itemstats.php:18) in /www/xxx/mydomain.com/html/itemstats/phpbb_itemstats.php on line 18
so i go to the phpbb_itemstats.php
Code: [Download] [Hide]
- function itemstats_parse($message)
Im disoriented. Dont know if the problem is that file, or what im doing wrong. I need to change the overall_header.tpl and posting_body.tpl but that arent the problem for the moment i think.
Any chance i can adapt that mod to Icy Phoenix?
Again sorry about my terrible english and thanks so much for your time. Dont know if this is posted in the right section.
