|
|
|
Re:Chucks Extended Profile
|
|
Date: 2006/12/27 21:28
|
By: tomla
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
|
Do you have a functioning demo of this profile?
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Chucks Extended Profile
|
|
Date: 2006/12/28 04:00
|
By: parth
|
Status:
|
|
|
Karma: 1  
|
|
Senior Joomlapolitan  | Posts: 53 |   | |
|
You can check out our demo at http://kobol.sslcatacombnetworking.com/~emcentre/testjoomla/
You need to login( register ) to see the profiles.
Regards
Parth Php-Nuke to Mambo to Joomla... My Evolution goes on! Need Joomla Development? Drop me a mail!
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Chucks Extended Profile
|
|
Date: 2007/01/05 22:24
|
By: mossimo
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 6 |   | |
|
sir i do not knwo how to run the sql to get the ff: <!-- 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 -->
guide me!
chucktrukk wrote: radio,
You can create a profile like http://www.mingleville.com/xL15Ax? with something like the following:
| Code: |
<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 -->
|
Here are two good links to look at SQL and Arrays:
SQL: http://www.keithjbrown.co.uk/vworks/mysql/mysql_p5.php
Arrays: http://www.desilva.biz/arrays/multidimen.html<br><br>Post edited by: chucktrukk, at: 2006/12/01 17:34
|
|
The administrator has disabled public write access. |
|
|
|
Re:Solved
|
|
Date: 2007/01/06 23:29
|
By: chucktrukk
|
Status: User
|
|
|
Karma: 11  
|
|
Junior Joomlapolitan  | Posts: 30 |   | |
|
How would i get Cb to display undisclosed in all the optional fields thats the user decided to leave blank? I really dont want empty space in my profile, it needs to diplay something for the desgin to work.
You can do something like this:
if ($user->gender != '') { echo $user->gender; }
This code is just saying, if user->gender is not blank, do everything in between the brackets.
You can use that for any of the fields you need.
Chuck
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Chucks Extended Profile
|
|
Date: 2007/04/09 23:52
|
By: xDeathList5x
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 13 |   | |
|
Can someone help me with a script I would like to use with the extended profile?
I would like to use
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
to present different tabs. Like tab 1 for teh profile, tab 2 for the gallery etc.
Where do i have to insert the script codes? the template index.php or into the xtendedprofile.php? ge
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Chucks Extended Profile
|
|
Date: 2007/04/10 00:09
|
By: xDeathList5x
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 13 |   | |
|
ok, got it ge
|
|
The administrator has disabled public write access. |
|
|