https://www.icyphoenix.com/viewtopic.php?f=26&t=1360&p=10306#p10306
-----------------------------------
Joje
Sun 18 Mar, 2007 13:45

Tryng To Install A Phpbb Mod In Icy Phoenix.
-----------------------------------
Hi! im new about this but i want to say i installed Icy Phoenix and really love it.  Ok im going to explain my problem, sorry about my bad english :p.

Few days ago i installed a Icy Phoenix to make a website about Some games. Now im tryng to install a mod called [url=http://itemstats.free.fr/e107_plugins/content/content.php?content.5]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]
include($phpbb_root_path . '/phpbb_config_itemstats.php');
include($phpbb_root_path . path_itemstats . '/phpbb_itemstats.php');
[/code]

from the modifed bbcode.php in  [url=http://itemstats.free.fr/download.php?view.14]Itemstats_phpbb
didnt get problem with that, bah, no error in the page :p.

After that i insert 

[code]
    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,
[/code]

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]
function itemstats_parse($message)
[/code]

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.


