uddeIM 0.8b released
- clydd
- OFFLINE
- Posts: 23
- Thanks: 0
- Karma: 0
* Based on Joomlaboard Component
* @copyright (C) 2000 - 2004 TSMF / Jan de Graaff / All Rights Reserved
* @license www.gnu.org/copyleft/gpl.html GNU/GPL
* @author TSMF & Jan de Graaff
**/
defined ('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// get fireboards configuration params in
include_once ($mainframe->getCfg("absolute_path") .'/administrator/components/com_fireboard/fireboard_config.php');
LINE 21 // Class structure should be used after this and all the common task should be moved to this class
LINE 22 require_once ($mainframe->getCfg("absolute_path") . "/components/com_fireboard/class.fireboard.php");
require_once ($mainframe->getPath('admin_html'));
//Get right Language file
if (file_exists($mainframe->getCfg('absolute_path') . '/administrator/components/com_fireboard/language/' . $mainframe->getCfg('lang') . '.php')) {
include ($mainframe->getCfg('absolute_path') . '/administrator/components/com_fireboard/language/' . $mainframe->getCfg('lang') . '.php');
}
else {
include ($mainframe->getCfg('absolute_path') . '/administrator/components/com_fireboard/language/english.php');
}
$cid = mosGetParam($_REQUEST, 'cid', array ( 0 ));
if (!is_array($cid)) {
$cid = array ( 0 );
}
$uid = mosGetParam($_REQUEST, 'uid', array ( 0 ));
if (!is_array($uid)) {
$uid = array ( $uid );
}
$order = mosGetParam($_REQUEST, 'order');
$no_html = mosGetParam($_REQUEST, 'no_html');
$pt_stop = "0";
/* header */
/* upgrading from SB */
$database->setQuery("#__fb_messages");
$table_nm = $database->_sql;
$jb_upgrade = false;
if (mysql_num_rows(mysql_query("SHOW TABLES LIKE '" . $table_nm . "'"))) {
$jb_upgrade = true;
From Class.Fireboard.php
//Clexus PM
if ($fbConfig == 'clexuspm' || $fbConfig == "clexuspm") {
$database->setQuery("SELECT id FROM #__menu WHERE link = 'index.php?option=com_mypms' AND published=1");
$CPM_Itemid = $database->loadResult();
define("FB_CPM_ITEMID", (int)$CPM_Itemid);
define("FB_CPM_ITEMID_SUFFIX", "&Itemid=" . FB_CPM_ITEMID);
}
// UddeIM
if ($fbConfig == 'uddeim') {
$database->setQuery('SELECT id FROM #__menu WHERE link=`index.php?option=com_uddeim`');
LINE 57 $UIM_itemid = $database->loadResult();
define("FB_UIM_ITEMID", (int)$UIM_itemid);
define("FB_UIM_ITEMID_SUFFIX", "&Itemid=" . FB_UIM_ITEMID);
}
// MISSUS
if ($fbConfig == 'missus') {
$database->setQuery('SELECT id FROM #__menu WHERE link=`index.php?option=com_missus`');
$MISSUS_itemid = $database->loadResult();
define("FB_MISSUS_ITEMID", (int)$MISSUS_itemid);
define("FB_MISSUS_ITEMID_SUFFIX", "&Itemid=" . FB_MISSUS_ITEMID);
}
// PROFILE LINK
if ($fbConfig == "cb") {
$profilelink = 'index.php?option=com_comprofiler&task=userProfile&user=';
From Fireboard.php
// get fireboards configuration params in
include_once ($mainframe->getCfg("absolute_path") . '/administrator/components/com_fireboard/fireboard_config.php');
// Class structure should be used after this and all the common task should be moved to this class
LINE 66 require_once ($mainframe->getCfg("absolute_path") . "/components/com_fireboard/class.fireboard.php");
// get right Language file
if (file_exists(JB_ABSADMPATH . '/language/' . JB_LANG . '.php')) {
include_once (JB_ABSADMPATH . '/language/' . JB_LANG . '.php');
}
else {
include_once (JB_ABSADMPATH . '/language/english.php');
}
// Include Clexus PM class file
if ($fbConfig == "clexuspm")
{
require_once ($mosConfig_absolute_path . '/components/com_mypms/class.mypms.php');
$ClexusPMconfig = new ClexusPMConfig();
}
I have marked the LINES in the Code.
Thankyou Slabbi
Post edited by: clydd, at: 2007/11/25 15:02
Please Log in or Create an account to join the conversation.
- slabbi
- OFFLINE
- Posts: 3753
- Thanks: 256
- Karma: 153
Maybe a
global $mainframe;
and
global $database;
is missing in the fireboard files.
You should report these problems in fireboard forums. I cannot see any problems in the source you posted.
uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Please Log in or Create an account to join the conversation.
- sanjiovani
- OFFLINE
- Posts: 61
- Thanks: 0
- Karma: 3
Hi member name
You a private message at site name.
Please log in to read it!
"How to create link here back to email and site"
Please Log in or Create an account to join the conversation.
- slabbi
- OFFLINE
- Posts: 3753
- Thanks: 256
- Karma: 153
When you are fine with a "text" url (nevertheless most message readers will show these urls clickable) you can change the language file.
uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Please Log in or Create an account to join the conversation.
- sanjiovani
- OFFLINE
- Posts: 61
- Thanks: 0
- Karma: 3
so what would be required to turn it into an html message.
i switched from missus and i believe that had an html message
Please Log in or Create an account to join the conversation.
- slabbi
- OFFLINE
- Posts: 3753
- Thanks: 256
- Karma: 153
uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Please Log in or Create an account to join the conversation.