Home arrow Forum Wrapped SMF --> Profile Save = ERROR on CB images
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 08:08:51 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)
| | | |-+  Wrapped SMF --> Profile Save = ERROR on CB images
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Wrapped SMF --> Profile Save = ERROR on CB images  (Read 1593 times)
peter mee
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 27


View Profile
Wrapped SMF --> Profile Save = ERROR on CB images
« on: October 07, 2006, 09:30:47 AM »

Hi

Have latests versions of SMF and JoomlaHack bridge installed on my Joomal/Community Builder Site. Managed to transfer my Joomloaboard posts and all CB users appear syncronised. Happy Days.

However, when a user accesses CB Forum Profile tab and clicks 'Modify Profile', they are taken to SMF Forum Profile Information page*. Here, the CB avatar is displayed and the 'I have my own pic' radio button is selected.

However, if the user then hits 'change profile' (even with no changes made), the following error displays;

Code:
Failure to open URL:
http://www.carrickscouts.ie/images/comprofiler/63_4492a8a2900ca.jpg
~~~
/home/myuserdetails/public_html/components/com_smf/smf.class.php ||
integrateChangeMemberData || 1236

I have pasted the image URL into my browser and the URL is correct - the image displays.

(The error also displays if user navigates to Forum Profile from within wrapped smf but DOES NOT OCCUR if users access smf directly (not Joomla Wrapped)).

Any thoughs on this? Because of this issue, I've had to disable 'Redirect Profile Links' in com_smf CB tab. I would prefer if profile links went to CB as that's what my users are used to but I cannot link there as this issue prevents profile mods by them.

All help appreciated.

Peter



*This page actually opens in a new browser window. That is a minor problem but I'd like it to stay in the original window.
Logged


Did you find this post helpful? If you saved time or money, you might like to make a small contribution.
tony millan
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 16


View Profile
Re: Wrapped SMF --> Profile Save = ERROR on CB images
« Reply #1 on: October 07, 2006, 02:51:02 PM »

I was having the same problem. 

I chose to avoid it by simply redirecting all profile links to the CB profiles.  But it would be great to find a fix for this. 

On the forums, somebody mentioned that their site was protected by a password,  And THAT was the problem.  But my site is NOT password protected, and I still get that problem.   Sad
Logged
peter mee
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 27


View Profile
Re: Wrapped SMF --> Profile Save = ERROR on CB images
« Reply #2 on: October 07, 2006, 07:57:41 PM »

I was having the same problem. 

I chose to avoid it by simply redirecting all profile links to the CB profiles.  But it would be great to find a fix for this. 

Hi John

Link to CB profile still allows users to link to SMF Profile Edit via 'Modify Profile' on Forum Profile tab, no? Then the error can occur?

I also have a little more information;

If a user has no avatar and selects one via SMF profile (one of the build in actor images), this appears correctly in SMF and CB. All is well.

However, if that user subsequently clicks on the "Use my Community avatar on the forums (optional)." in CB Forum Profile tab, an error similar to that reported above is generated thereafter when they try to update their profile in SMF.

Peter
Logged


Did you find this post helpful? If you saved time or money, you might like to make a small contribution.
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Wrapped SMF --> Profile Save = ERROR on CB images
« Reply #3 on: October 07, 2006, 09:57:01 PM »

so the problem may be in the way Brat has implemented the user avatar sync versus the way I handle normal avatar changes being synchronized?
Logged

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

Karma: +3/-1
Offline Offline

Posts: 47


View Profile
Re: Wrapped SMF --> Profile Save = ERROR on CB images
« Reply #4 on: October 07, 2006, 10:25:59 PM »

Are you sure that SMF doesn't have some built-in anti-leech system for attachments? The problem with avatars for me seems to have nothing to do with the bridge. I can't access any of the files directly outside of SMF.
Logged

Joomla! 1.0.11
SMF 1.1 RC3
Database Version:  5.0.18-standard-log 
PHP Version:  4.4.2 
Web Server:  Apache/1.3.33 (Unix)
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Wrapped SMF --> Profile Save = ERROR on CB images
« Reply #5 on: October 07, 2006, 10:49:45 PM »

The way I do this, because of the *anti-leech* system, is copy the file into the CB avatar directory.  Here is something I am going to add.  If you are recieving the cannot open URL error message it is most likely due to a php.ini setting, allow_url_fopen.  This occurs when the user's avatar is an URL in SMF.  If allow_url_fopen is false then then I am unable to download the image and copy it to CB.  CB does not allow URLS for avatars.  So the fix is to tell your users to upload their avatars rather than using URLs. 

I have changed the code to first test if allow_url_fopen is disabled and then produce a message that states that this is the problem with synchronizing the user.  This will be in JSMF 2.0 final release.
Logged

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

Karma: +0/-1
Offline Offline

Posts: 27


View Profile
Re: Wrapped SMF --> Profile Save = ERROR on CB images
« Reply #6 on: October 08, 2006, 04:46:40 AM »

The way I do this, because of the *anti-leech* system, is copy the file into the CB avatar directory.  Here is something I am going to add.  If you are recieving the cannot open URL error message it is most likely due to a php.ini setting, allow_url_fopen.  This occurs when the user's avatar is an URL in SMF.  If allow_url_fopen is false then then I am unable to download the image and copy it to CB.  CB does not allow URLS for avatars.  So the fix is to tell your users to upload their avatars rather than using URLs. 

I have changed the code to first test if allow_url_fopen is disabled and then produce a message that states that this is the problem with synchronizing the user.  This will be in JSMF 2.0 final release.

Wolverine

I'm not sure that is the problem. As stated, the URL populated in the SMF 'I'll use my own image' box, when pasted to a web browser, is accessible. Therefore, the image is present and accessible (copy has been made to Cb images directory). Alos, all is fine in direct access mode to SMF, it's wrapped in Joomla that the problem arises.

I think you are correct that it is a Brat problem and so will ppst in his plug-in thread.

Of course, any further insight would be appreciate. Also, if anyone can replicate the above issue, I would have more comfort.

Peter
Logged


Did you find this post helpful? If you saved time or money, you might like to make a small contribution.
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Wrapped SMF --> Profile Save = ERROR on CB images
« Reply #7 on: October 08, 2006, 09:48:02 AM »

Brat has turned his plugins over to me so I will take a look at that today.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
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