Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

uddeIM 0.8b released

  • clydd
  • clydd
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
17 years 1 month ago #51097 by clydd
Replied by clydd on topic Re:uddeIM 0.8b released
From Admin component folder section of fireboard

* 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
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
17 years 1 month ago #51098 by slabbi
Replied by slabbi on topic Re:uddeIM 0.8b released
Well, looks fine so far.

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.

17 years 1 month ago #51232 by sanjiovani
Replied by sanjiovani on topic Re:uddeIM 0.8b released
i would like to have a link back to the site and email in the email notification sent


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
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
17 years 1 month ago #51233 by slabbi
Replied by slabbi on topic Re:uddeIM 0.8b released
Sorry, a clickable link is not possible since it is a plain text message not a html message.

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.

17 years 4 weeks ago #51284 by sanjiovani
Replied by sanjiovani on topic Re:uddeIM 0.8b released
Thanks for your quick response

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
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
17 years 4 weeks ago #51290 by slabbi
Replied by slabbi on topic Re:uddeIM 0.8b released
No, I do not support html messages actually. You can open a feature request on joomlacode.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum