In the following code, you can change the line that says "$avatarlink = $mosConfig_live_site.'/images/comprofiler/tn'.$avatar;" and change the path to your thumbnail images.
Going by your example, you would change it to "$avatarlink = $mosConfig_live_site.'/images/comprofiler/tngallery/'.$avatar;"
[code:1]
if ( $avatar ) {
$avatarlink = $mosConfig_live_site.'/images/comprofiler/tn'.$avatar;
$txt = "<a href=\"".sefRelToAbs('index.php?option=com_comprofiler&task=userProfile&user='.$row->created_by)."\"><img src=\"$avatarlink\" border=\"0\" align=\"left\" class=\"authorimg\" /></a>";
}
[/code:1]
I hope this helps!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Hello, everyone...
It's been a while since I've checked this thread. Sorry about the delay in response.
Now, to answer some questions:
GabeThe short answer is yes, but it'll take some work. I'll look into it....is it possible to get under the avatar the name of the author ???
ManoxtraI have been using this hack without any problems at LoveLearnLive.com .Is this like a 'stable' hack? I mean is it 'bugfree´ and/or does it work appropiatly?
damiendownloadStep 1: Find the following code:How would i go about showing the users, user name NOT real name ?
[code:1]$row->created_by_alias="<a href=\"".sefRelToAbs('index.php?option=com_comprofiler&task=userProfile&user='.$row->created_by)."\">".($row->created_by_alias!='' ? $row->created_by_alias : $row->author)."</a>";[/code:1]
Step 2: Change it to this:
[code:1]$row->created_by_alias="<a href=\"".sefRelToAbs('index.php?option=com_comprofiler&task=userProfile&user='.$row->created_by)."\">$row->author</a>";[/code:1]
That should work.
Please Log in or Create an account to join the conversation.