Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
Re:Avatar will upload, but will not show
Date: 2008/02/20 00:54 By: lamarkarmor Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
This problem bugged me too... i just upgraded / migrated to 1.5

heres how you fix it.

find your cb.core.php file

find the class getPortraittab

find the following line:

else {
$uimage = "images/comprofiler/".$uimage;
}

add a "/" in front of images and it should fix everything. like this:

else {
$uimage = "/images/comprofiler/".$uimage;
}

hope that helps
Click here to see the profile of this user The administrator has disabled public write access.

Re:Avatar will upload, but will not show
Date: 2008/02/25 04:44 By: kwf Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 2
graphgraph
Same problem here, I'm also using Fireboard and have tried all the suggestions and so far nothing has resolved this problem.
The last suggestion by Lamakarmor resulted in "Parse error: parse error, unexpected T_EXTENDS, expecting T_STRING in /var/www/vhosts/website.com/httpdocs/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 55"
Thanks anyway!
Hope someone finds the solution!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Avatar will upload, but will not show
Date: 2008/02/25 04:58 By: kwf Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 2
graphgraph
My sincere apologies to Lamarkarmor. I revisited the suggested fix and it worked apparently I keyed in an extra character somehow and that is what caused the parse error.
Thanks for the fix Lamarkarmor!!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Avatar will upload, but will not show
Date: 2008/03/10 01:01 By: shiva.xxl Status: CB Doc subscriber  
Karma: 1  
Fresh Joomlapolitan

Posts: 15
graphgraph
Seems that could fix my problem too. But I could not find the mentioned cb.core.php. What is the directory path ?

Thanks
Ber_t

Sorry! I was blind , the answer was alreay given in the last post, but I was referring to an older one.

So it's solved. The / in cb.core.php was missing!

Post edited by: shiva.xxl, at: 2008/03/10 06:50
Click here to see the profile of this user The administrator has disabled public write access.

(Solution J!1.5.1 + CB1.1 + SEF Urls) no avatar
Date: 2008/03/24 06:58 By: davidpitman Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
Just for reference, this is a solution which worked for me using Joomla 1.5.1, with CB 1.1 with SEF urls turned on.

I didn't find that the solutions below worked for me, but this did:

In the file:

/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php

replace line 99, which looks like this originally:

Code:

 $return            .=    "<td align=\"center\" width=\"100%\"><img src=\"".sefRelToAbs($uimage)."\" alt=\"".$name."\" title=\"".$name."\" /></td>";



with this:

Code:

 $return            .=    "<td align=\"center\" width=\"100%\"><img src=\"".sefRelToAbs("/".$uimage)."\" alt=\"".$name."\" title=\"".$name."\" /></td>";


NOTE the "/". inside the sefRelToAbs function argument. This has worked for me

Post edited by: davidpitman, at: 2008/03/24 06:59
David Pitman
www.davidpitman.name
Click here to see the profile of this user The administrator has disabled public write access.

Re:[Joomla1.5.1]Avatar will upload, but will not s
Date: 2008/03/30 10:57 By: aerocaria Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 3
graphgraph
Hi, here is the final solution:

Just adding a slash / in cb.core.php line 86, 87, 89 before components and slash / in line 97 before images did the trick for me. The code would look like this after adding the the slashes in line 86, 87 and 89:

Code:

  if ( file_exists"/components/com_comprofiler/plugin/language/".$mosConfig_lang."/images" ) ) {                 $uimagepath    =    "/components/com_comprofiler/plugin/language/".$mosConfig_lang."/images/";             } else {                 $uimagepath    =    "/components/com_comprofiler/plugin/language/default_language/images/";



and in line 97 the code would be:

Code:

  $uimage        =    "/images/comprofiler/".$uimage;



Best of luck.
Regards
Usman.
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login