Home arrow Forum A Forum Profile Edit Error
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 11:44:54 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  A Forum Profile Edit Error
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: A Forum Profile Edit Error  (Read 1773 times)
theelite
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 13


View Profile
A Forum Profile Edit Error
« on: November 01, 2006, 09:08:22 PM »

Hello, I get the following error when trying to edit my smf profile without CB profile redirect.
When I turn on the CB profile redirect and use the plugin to edit, nothing happens at all.
I am using Joomla 1.0.11 with CB and SMF 1.1 RC3 with the new RC2 Bridge.

Has to do with the bridge, because the profile edit works fine in standalone.
Sorry if this has been brought up before.

« Last Edit: November 02, 2006, 12:10:21 AM by theelite » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: A Forum Profile Edit Error
« Reply #1 on: November 01, 2006, 10:16:33 PM »

this appears to be a problem where there is no avatar in SMF but I am somehow incorrectly detecting an uploaded avatar.  I am working to resolve this.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: A Forum Profile Edit Error
« Reply #2 on: November 01, 2006, 10:20:20 PM »

for now, on or around line 1273 of component/com_smf/smf.class.php change the following code:
Code:
if (!($filename = $database->loadResult())) {
     mosErrorAlert($database->getErrorMsg().' ~~~ FROM::'.__FILE__.' || '.__FUNCTION__.' || '.__LINE__);
     return false;
}

to this:

Code:
if (!($filename = $database->loadResult())) {
     //mosErrorAlert($database->getErrorMsg().' ~~~ FROM::'.__FILE__.' || '.__FUNCTION__.' || '.__LINE__);
     //return false;
     //this probably means there is no avatar, so continue
     continue;
}

let me know the result.  Also, please verify that this SMF user had *no* avatar uploaded.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
theelite
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 13


View Profile
Re: A Forum Profile Edit Error
« Reply #3 on: November 01, 2006, 10:36:10 PM »

Thanks Wolverine,
I can now edit the profile directly in SMF without error.  All of my users are set to sync off the CB avatar, so shouldn't be a problem.

I do have a problem with the profile plugin though, when I go through it to modify the profile, none of the information is updated.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: A Forum Profile Edit Error
« Reply #4 on: November 01, 2006, 11:08:10 PM »

be a bit more descriptive, remember we are working with several pieces of software here.  Modify CB profile or SMF?  The information isn't updated to where, SMF or CB or Joomla?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
theelite
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 13


View Profile
Re: A Forum Profile Edit Error
« Reply #5 on: November 02, 2006, 12:04:20 AM »

Yeah after clicking the Modify CB profile on the profile plugin, it brings you to the SMF profile fine to edit.  I type in some stuff in the signature field for example, click "change profile", then I am redirected back to the CB profile page.  I check to see if the field has been updated on the Forum Profile tab, and it doesn't show the update, nor does the SMF profile if you click "Modify Profile" again.

If I disable the profile redirection and edit the SMF profile through SMF, it updates fine. So it looks like the information in the SMF profile isn't updating when edited through the profile plugin.

I am using the latest 2.1 plugins.
« Last Edit: November 02, 2006, 12:09:52 AM by theelite » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: A Forum Profile Edit Error
« Reply #6 on: November 02, 2006, 09:45:51 AM »

my guess is that for some strange reason the submit or post url is being reformatted in correctly.  Can you post the url of the SMF profile?  You can leave out the domain
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
theelite
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 13


View Profile
Re: A Forum Profile Edit Error
« Reply #7 on: November 02, 2006, 10:40:55 AM »

sure, here ya go.

index.php?option=com_smf&Itemid=86&action=profile;u=256;sa=forumProfile
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: A Forum Profile Edit Error
« Reply #8 on: November 02, 2006, 11:15:15 AM »

that looks ok, I guess pm me a uname/pw and link to your site.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
theelite
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 13


View Profile
Re: A Forum Profile Edit Error
« Reply #9 on: November 02, 2006, 11:40:24 AM »

thanks, PM sent.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



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