This is a hack for CBE to see the UHP link and UHP images in profile,and I don't Know how make a plugins the code , help Please...
To show a link to a User Home Pages in their profile. Follow the steps below.
________________________________________________
|| UHP Version: 0.5 - 25 Oct 2004
|| © Copyright 2004 Ravenswood IT Services
|| A simple system to allow users to create
|| their own home pages, using the standard
|| system editor
|| A basic image upload facility is also
|| available.
_________________________________________________
Step 1) Open up comprofiler.html.php located in the directory "/components/comprofiler/" and find the following lines of code.
<tr>
<td class=sectiontableentry<?php echo $i; ?> width=35% style="font-weight:bold;">
<?php echo _UE_HITS; ?></td>
<td class=sectiontableentry<?php echo $i; ?> ><?php echo $user->hits; ?>
</td>
</tr>
Step 2) Paste the following code above the code in step 1.
<tr><td class=sectiontableentry
<?php echo $i; ?> width=35% style="font-weight:bold;">
<?php echo _UE_UHP; ?></td>
<td class=sectiontableentry<?php echo $i; ?> >
<a href="
<?php echo sefRelToAbs("index.php?option=com_uhp&task=mypage=
show&action=user&id=".$user->id); ?>">
<?php echo _UE_UHP_LINK; ?></a>
</td></tr>
<?php $i= ($i==1) ? 2 : 1; ?>
Step 3) In your language file located in the directory "administration/components/comprofiler/language/" add the following lines of code. You can change the words "HP Albúm" and "ver minha Home Page e meu Albúm de Fotos" to what you like.
DEFINE('_UE_UHP','HP Albúm');
DEFINE('_UE_UHP_LINK','ver minha Home Page e meu Albúm de Fotos ');
///////////////////////////////////////////////////
Ialso hack the Go MyPage modul to work with CB Rc2
Attachment mod_go_mypage.zip not found