This is a wonderful Extended Profile from Chuck,
This is the result from the modifications done by Andy,Devil and Ysmith! No credit for me here! I am just trying to share the good hack to all CB lovers. Thankx Guys and to Joomaplazza.com, where it all started to spread again after chuck made it famous in joomla 1.x.
Enjoy!
Steps:
1. Make sure you set the Legacy on
2. Extract the files at /components/com_comprofiler/
3. Go to /com_comprofiler/xtd_views/xtdUserProfile.php
and look for <!-- Begin xtdUserProfile Template -->
4. you may try this sample, hope if this still workin!
<table class="xtdUserProfileWrapper">
<tr>
<td colspan="2">
Header here - Register, login links here
</td>
</tr>
<tr>
<td colspan="2">
<!-- Top row of links -->
<?php echo $userViewTabs["cb_head"]; ?>
</td>
</tr>
<tr>
<td colspan="2">
<div style="float:right; width:125px;">
Rating<br/> <em>I never figured how to get the rating to work correctly</em>
</div>
<!-- Your Avatar -->
<img src="<?php echo $avatar_img; ?>" title="Your Avatar" alt="Your Avatar" align="left" />
<?php echo $user->username; ?>
<br/>
Name: <?php echo $user->firstname; ?>
Age: <?php echo $user->age; ?>
Gender: <?php echo $user->gender; ?>
<br/>
Town/City: <?php echo $user->city; ?>
Country: <?php echo $user->country; ?>
<br/>
Links here, such as: Send a Message, Donate Points , Add to Buddy List, Add to Block List
</td>
</tr>
<tr>
<td colspan="2">
<div style="float:right; width:125px;">
This is <?php echo $user->username; ?>'s Profile
</div>
Profile
<hr/>
</td>
</tr>
<tr>
<!-- Begin first column -->
<td class="leftColumn">
Load your information here. (Such as <?php echo $user->username; ?>)<br/>
It might be good to create a tab for each of these boxes.<br/>
Or you could run a SQL query to get each 'tab' in the user profile.
<br/>And do a <h3><?php echo $tab[AboutMe]->title; ?>. Then a foreach echo tab[key]: tab[value]
</td>
<!-- End first column -->
<!-- Begin second column -->
<td class="rightColumn">
</td>
<!-- End second column -->
Note this not yet fully tested, just give it a try and if you have improvements please share it here!!
Attachment extend_scanhead_rc4.zip not found
Post edited by: scanhead25, at: 2009/01/12 03:13