News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Events in Joomla

Started by auroramae, July 18, 2008, 01:39:04 PM

Previous topic - Next topic

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.

<?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');
}



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.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

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...

Perhaps in SMF 2 SSI Calendar Functions?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

auroramae

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

Sarge


    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

SlammedDime

Rather than do all of that stuff in the first post just to get SSI.php, just do a simple require for it...

require_once('/full/path/to/SSI.php');
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Advertisement: