JCalPro - My Events Plugin

15 years 8 months ago #72916 by starkheim
Replied by starkheim on topic Re:JCalPro - My Events Plugin
Hello

I heard of your Pulgin.

Unfortunately this does not function under 1.5 and the new CB.

The XML file is not evaluated correctly.

Have one perhaps tap for me.

Yours sincerely

starkheim

Please Log in to join the conversation.

15 years 6 months ago #77761 by crony
Replied by crony on topic Re:JCalPro - My Events Plugin
Hello,

Having this plugin working under 1.5.x would be great ! :)

J! 4.x - CB 2.7.3

Please Log in to join the conversation.

15 years 1 month ago #91651 by FidelGonzales
Replied by FidelGonzales on topic Re:JCalPro - My Events Plugin
Yes. Functionality with Joomla 1.5 and CB 1.2 would be appreciated.

Please Log in to join the conversation.

14 years 11 months ago #99800 by Ducati
Replied by Ducati on topic Re:JCalPro - My Events Plugin
Hello,

This plugin doesn't seem to be working. I get this error when I enable it.

Warning: Invalid argument supplied for foreach() in /home/content/xxxx/components/com_comprofiler/plugin/user/plug_cbmyeventstab/events.php on line 29

Any help would be appreciated.

Please Log in to join the conversation.

14 years 9 months ago #106078 by piersol
Replied by piersol on topic Re:JCalPro - My Events Plugin
The new JCALPRO 2.2 beta version comes with CB plugins that auto install! Its wonderful!

Unfortunately it doesnt work out of the "box" as this error is created when viewing a profile.

Fatal error: Cannot redeclare compare() (previously declared in /home/bridge/public_html/administrator/components/com_comprofiler/comprofiler.class.php:3334) in /home/bridge/public_html/components/com_jcalpro/include/functions.inc.php on line 3912


Anyone have ideas on this? In the Jcalpro forum they simply say this is a KNOWN Community Builder issue and have not responded further to this point.

Please Log in to join the conversation.

14 years 9 months ago #106097 by piersol
Replied by piersol on topic Re:JCalPro - My Events Plugin
Ok, If i remove the function compare from the jcalpro file mention in the error, it loads fine.

Unfortunately, the tab displays the LOGGED IN USERS events, not the events of the profile being viewed. So susan will see her events in every profile she views instead of the events of the member she is viewing.

Here is the cbjcalproevents.php file
[code:1]<?
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );



class geteventsTab extends cbTabHandler
{
function geteventsTab() {
$this->cbTabHandler();
}

/*Main function */
function getDisplayTab($tab,$user,$ui) {

// init params from plugin
$params = new JParameter($this->params->_raw);

// get output of module
$html = '';
if( is_readable(JPATH_ROOT. DS. 'components'.DS.'com_jcalpro'.DS.'include'.DS.'latest.inc.php') ) {
ob_start();
include( JPATH_ROOT. DS. 'components'.DS.'com_jcalpro'.DS.'include'.DS.'latest.inc.php' );
$html = ob_get_contents();
ob_end_clean();
}

return $html;
}

}
?>

[/code:1]

Can anyone see what we can change to make it only show the events of the profile owner, not the viewer.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.403 seconds

Facebook Twitter LinkedIn