Hi blakey87
This is the latest FB DB 1.0.7c (not oficial) I added:
| Code: |
// Include the fireboard config file
/* if (file_exists( $mosConfig_absolute_path.'/administrator/components/com_fireboard/fireboard_config.php' )) {
include( $mosConfig_absolute_path.'/administrator/components/com_fireboard/fireboard_config.php' );
} else {
return 'Error, missing fireboard config file!';
}
if (file_exists( $mosConfig_absolute_path.'/components/com_fireboard/class.fireboard.php' )) {
include_once( $mosConfig_absolute_path.'/components/com_fireboard/class.fireboard.php' );
} else {
return 'Error, missing fireboard class file!';
}
if (! $fbConfig['discussBot'] ) {
return '';
}
*/
$query = "SELECT * FROM #__fb_config";
$database->setQuery( $query );
$fbconfig = $database->loadObjectList();
foreach ($fbconfig as $config){
$dbot = $config->discussbot;
$jsytle = $config->joomlastyle;
$template =$config->template;
$board_ofset =$config->board_ofset;
$avatar_src =$config->avatar_src;
$disemoticons =$config->disemoticons;
$allowAvatar=$config->allowAvatar;
$pubwrites=$config->pubwrite;
}
|
BUT it gives me errors:
| Code: |
Warning: include_once(JB_ABSSOURCESPATHparser.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/site/public_html/site/components/com_fireboard/template/default/smile.class.php on line 21
Warning: include_once() [function.include]: Failed opening 'JB_ABSSOURCESPATHparser.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/site/components/com_fireboard/template/default/smile.class.php on line 21
Warning: include_once(JB_ABSSOURCESPATHinterpreter.fireboard.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/site/public_html/site/components/com_fireboard/template/default/smile.class.php on line 22
Warning: include_once() [function.include]: Failed opening 'JB_ABSSOURCESPATHinterpreter.fireboard.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nasulne/public_html/lipova/components/com_fireboard/template/default/smile.class.php on line 22
Fatal error: Class 'TagParser' not found in /home/site/public_html/site/components/com_fireboard/template/default/smile.class.php on line 66
|
What lines must be modified?
Here is the latest FB DB