Home arrow Forum Latest posts of: Vramin
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 02:54:33 PM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Hacks / Joomla-SMF 1.1.x / Re: Joomla-SMF 1.1.02(patch 2 for JSMF 1.1) on: April 29, 2006, 01:27:04 PM
My SMF installation clearly got damaged in the move from one server to another. I'm going to get it straightened out and then bring in the new versions of the components again. Looking forward to having a working bridge again.
2  Joomla Hacks / Joomla-SMF 1.1.x / Re: Joomla-SMF 1.1.02(patch 2 for JSMF 1.1) on: April 28, 2006, 10:28:27 PM
I uninstalled the bridge to try to put in this patch, and I think I'll just leave it uninstalled.

I've had trouble ever since I installed with it not remembering the login cookie correctly - you'd come back and it would seem to remember you, but when you clicked the Forums button you would have to log in again to see the logged-in-only forums or post. I was hoping it might be better with the upgrade, so I upped to Joomla 1.0.8 and installed the new bridge.

It was bridging okay, but none of the templates would render correctly, framed or unframed - tables were nested wrong and the whole thing would cascade off the side if you nested it, otherwise the tables ran together in big blocks unnested. I know you're working hard on the thing, and I wish I had more time to experiment with it, but I'm doing volunteer stuff with it myself.

I'll probably try again later, but this version was a clear step backward for me. I just moved my site to a new server, so maybe something didn't make the leap correctly. I know I'm having trouble getting templates to act right in SMF, with or without the bridge (I select a new one, but the old one still displays), but I guess it's one variable I can remove to try to get it straightened out.


3  Joomla Hacks / Joomla-SMF 1.0.x / Re: Missing url in all emails going out - SMF RC 1+bridge 1.01b on: October 18, 2005, 04:29:10 PM
Well, I give up. I reversed all that out and tried again and still got a good link. Is it intermittent? The first notification I got today had arguments only. I'm going home.
4  Joomla Hacks / Joomla-SMF 1.0.x / Re: Missing url in all emails going out - SMF RC 1+bridge 1.01b on: October 18, 2005, 04:23:24 PM
Here's what appears to be the real fix...

Somehow $mosurl doesn't seem to have a value when it needs it, so it replaces $scripturl with null. I coded a test fix like this:

Code:
//JOOMLAHACKS.COM : fix links
global $mosurl;
// HACK: $mosurl is coming out null, so I copied this in from my config file
if (!$mosurl) {$mosurl = "http://www.yourdomain.com/index.php?option=com_smf&Itemid=35&";}

That seemed to work, so next I tried this:
Code:
  //JOOMLAHACKS.COM : fix links
//global $mosurl;
$message = str_replace($scripturl."?", $GLOBALS["mosurl"], $message);
That seemed to work as well, I get full Joomla URL's back to the private messages in my email notifications. It's odd because the first reference to $mosurl is the global declaration, so it should have taken the global value.

Myself, I always tend to go through the $GLOBALS array. I've had difficulty with global declarations in the past that I solved by using the array.
5  Joomla Hacks / Joomla-SMF 1.0.x / Re: Joomla-SMF 1.0.1b removed server URL from SMF emails on: October 18, 2005, 11:15:59 AM
Thanks, cowboy, giving it a try.

I noticed in vim that a couple of the lines in that area (like the global declaration) showed up with ^M EOL codes, while most don't. Are those odd carriage returns affecting the script evaluation?
6  Joomla Hacks / Joomla-SMF 1.0.x / Re: Avatars dont work on: October 18, 2005, 11:09:25 AM
I accidentally created a problem like this for myself yesterday. While trying to correct a different problem, I tried changing the URL for SMF (in SMF settings) from:

http://www.mydomain.com/community

To just:

http://www.mydomain.com

The bridge still appeared to work, but it seemed to break the path to image files, etc. I reset the domain path in SMF and avatars showed up again.

Don't know if your problem is similar or not.

7  Joomla Hacks / Joomla-SMF 1.0.x / Undefined variable: message_login on: October 17, 2005, 04:21:53 PM
My Forum Error Log is full of these:
Code:
8: Undefined variable: message_login
File: /path-to-joomla/modules/mod_smf_login.php
Line: 171
Does does this matter?

It's in the login form:
Code:
  <form action="index.php" name="login" method="post">
        ',$txt[35],'<br/>
        <input type="text" name="username" size="12" class="inputbox" /><br />
        ',$txt[36],'<br/>
        <input type="password" name="passwd" size="12" class="inputbox" /><br />
        <input type="checkbox" name="remember" class="inputbox" value="yes" alt="',_REMEMBER_ME,'" />
        ',_REMEMBER_ME,'<br />
        <input type="submit" value="', $txt[34], '" class="button"/><br />
        <input type="hidden" name="option" value="login" />
        <input type="hidden" name="lang" value="',$mosConfig_lang,'" />
===>    <input type="hidden" name="message" value="',$message_login,'" />
    </form>
8  Joomla Hacks / Joomla-SMF 1.0.x / Re: Joomla-SMF 1.0.1b removed server URL from SMF emails on: October 17, 2005, 03:34:05 PM
Yeah, I just had another user with the same problem with a very simple login name, so my earlier assumption was a bad one.

I had the forum up before I had the Joomla wrapper, so I think some people might be going in through the forum signup instead of the Joomla signup, so that's where it's falling apart.
9  Joomla Hacks / Joomla-SMF 1.0.x / Re: Joomla-SMF 1.0.1b removed server URL from SMF emails on: October 17, 2005, 11:30:18 AM
This seems to have to do with a bug that I was getting ready to report, but I haven't ascertained that it has not already been reported...

I would lay odds that your new user had a space in their name. SMF doesn't like the spaces (or dashes, etc.), but Joomla does. I had a user create a new account with a space in the name, so the Joomla account got created, but the SMF account didn't. The email went out without domain links in it. Attempting to sync users will fail for the SMF illegal names.

Testing with a valid SMF name, I got the right validation email with complete links.

The account creation page needs to be set up to disallow spaces and other SMF illegal characters if the Joomla account is created first. Maybe there's a tweak to make it reg through SMF first to escape this.
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

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
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login