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:Chucks Extended Profile
Date: 2006/12/27 21:28 By: tomla Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
Do you have a functioning demo of this profile?
Click here to see the profile of this user The administrator has disabled public write access.

Re:Chucks Extended Profile
Date: 2006/12/28 04:00 By: parth Status: CB Doc subscriber  
Karma: 1  
Senior Joomlapolitan

Posts: 53
graphgraph
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!
Click here to see the profile of this user 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
graphgraph
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 Registerlogin 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
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user 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
graphgraph
ok, got it
ge
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