It's Joomla SEF. I thought the problem in the older version was on those who were NOT using SEF. It was fixed at some point, and then stopped working since this upgrade.
Generally two things can cause it to fail. If you modified your SMF template and changed/removed specific code that sets the var_smf_scripturl or if your joomla template is not calling mosShowHead() function.
I've got a fresh install of the JoomlaHacks Bridge and am seeing the same problem. I have Joomla 1.0.12, SMF 1.1.2, CB 1.0. The Bridge is v2.0.2. I tried turning off SEF (Joomla built-in) and it had no impact. My SMF theme is a color modified version of the one you are using, though I couldn't find the variable you referenced. The Joomla template does have the mosShowHead() in the header.
Everything else seems to work fantastic... My forum root and Joomla root are both folders on the site root (just in case this has something to do with the problem).
I have a dev instance of the system that I can play around with... so let me know if you want me to try anything.
I have figured out the issue I was having... I had added code to my forums to redirect any urls from connecting directly to the forum. All forum url requests are identified and redirected to the corresponding Joomla! wrapped page. This code worked perfectly with the Orstio bridge. I switched to the JoomlaHacks bridge for the improved integration.
I modified my redirect code, and it seems to be working fine now. This is the code from the beginning of my SMF index.php
Code:
// Redirect users who try to access /forum directly if (strpos($_SERVER['QUERY_STRING'], 'dlattach') === false && strpos($_SERVER['QUERY_STRING'], 'verificationcode') === false && strpos($_SERVER['QUERY_STRING'], 'action=post2') === false) { if(!defined('_VALID_MOS')){ header("Location: /site/index.php?option=com_smf&Itemid=18&".$_SERVER['QUERY_STRING']); } }
I added the piece at the end of the second line to skip the redirection if the query string contains "action=post2", which is part of the URL passed for the XML refresh. This has resolved the problem for me. Perhaps it can help others.
New code addresses other issues. This fixes issues trying to split a topic and trying to expand the stats details for a month. These two functions had the same problem as the preview did. This update corrects those.
The spellcheck code still doesn't work 100% the way it should (it loads the Joomla template in the sub-window), but sounds like there may be a fix in the works for the next version of the bridge.
XMLDoc.getElementsByTagName("quote")[0] has no properties [Break on this error] for (var i = 0; i < XMLDoc.getElementsByTagName("quote")[0].childNodes.leng...
I tested that on my dev site and it worked fine. I tried it for the Quick Reply function and the normal reply, both worked. Perhaps you could step me through what you are doing when you see the error.
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use