SMF Support > SMF 2.0.x Support

Events in Joomla

(1/2) > >>

auroramae:
I am trying to show my calendar events in a module in Joomla 1.15.
It was working until I upgraded SMF to 2.0 3.1

I uninstalled the Joomla Bridge due to a problem with log ins recently but the modules to show  latest topic and events still worked fine.

I realize that the bridge is no longer supported. I reinstalled today  just to see if it would make a difference -  to no avail.

I'd like to show the events via SSI but it is not working for me, neither with an "include" nor with a php wrapper module.

I've read this post and it either shows nothing at all or the debugger version  and/or  the php when I try the wrapper.
http://www.simplemachines.org/community/index.php?topic=14906.0

I can't find further posts regarding this issue.  Is there a way to make this work?

I think it has something to do with the path to SMF not being defined.  It is defined manually in the topics module but not in the events module.

How can this be modified to point to the SMF install.  I've tried a few different things but it screams at me.


--- Code: ---<?php
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

// CHECK SMF COMPONENT 
// Get the configuration.  This will tell Mambo where SMF is, and some integration settings
$database->setQuery("
SELECT `variable`, `value1`
FROM #__smf_config
");
$variables = $database->loadAssocList();

foreach ($variables as $variable){
$variable_name = $variable['variable'];
$$variable_name = $variable['value1'];
}

if (!defined('SMF'))
{
require_once($smf_path . '/SSI.php');
}
--- End code ---


Using
Joomla 1.15
SMF 2.0-  3.1

aurora

Rumbaar:
The massive amount of function changes and other changes from 1.1.x to 2.x will mean you'll be hard pressed to get any old 1.x based Joomla bridge to work, if at all.

This is more of a Joomla issue, then a SMF 2.x issue and I'm unsure who to direct you too.   As either case support isn't forthcoming to the level you require.  Effectively you want a Joomla-SMF 2.x bridge created and 'we' can't do that.

But Kindred our resident bridge expert might have alternate views.

auroramae:
Thank you so much for responding.  I realize it is a tall order.  I've read many a post by Kindred and agree Kindred is guru.

After fiddling, I can get some events to show only as asterisks and I will need to search because I did see a "fix" for the asterisk issue somewhere, but at this point not sure where and ideally I want to show events further in the future than just the current day.

Oh well, the price of progress.

Sarge:

--- Quote from: auroramae on July 19, 2008, 11:01:31 PM ---I did see a "fix" for the asterisk issue somewhere, but at this point not sure where...

--- End quote ---

Perhaps in SMF 2 SSI Calendar Functions?

auroramae:
Yep, that's the thread. Thanks for making it easy to get to.

Navigation

[0] Message Index

[#] Next page

Go to full version