| 
Welcome, Guest

Chucks Extended Profile
(1 viewing) (1) Guest

TOPIC: Chucks Extended Profile

Re:Chucks Extended Profile 5 years, 4 months ago #27751

  • tomla
  • tomla
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 5
  • Karma: -
Do you have a functioning demo of this profile?
The topic has been locked.

Re:Chucks Extended Profile 5 years, 4 months ago #27771

  • parth
  • parth
  • OFFLINE
  • Senior Boarder
    Senior Boarder
  • Posts: 79
  • Karma: 4
You can check out our demo at 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 us mail! www.tekdi.net - This e-mail address is being protected from spambots. You need JavaScript enabled to view it
Our CB extensions :
CB Adsense , CB User RSS, CB-Eventlist My Events & CB-Eventlist Attended Events, CB Network Suggest
-----------------------------------------------------------
Joomla Extensions, Training & Support
techjoomla.com/
-----------------------------------------------------------
Check Out our Joomla extensions at extensions.joomla.org/extensions/owner/tekdi/1
extensions.joomla.org/extensions/owner/techjoomla/1
The topic has been locked.

Re:Chucks Extended Profile 5 years, 4 months ago #28382

  • mossimo
  • mossimo
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 6
  • Karma: -
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:

 
<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: www.keithjbrown.co.uk/vworks/mysql/mysql_p5.php
Arrays: www.desilva.biz/arrays/multidimen.html

Post edited by: chucktrukk, at: 2006/12/01 17:34
The topic has been locked.

Re:Solved 5 years, 4 months ago #28463

  • chucktrukk
  • chucktrukk
  • OFFLINE
  • Junior Boarder
    Junior Boarder
  • Posts: 31
  • Karma: 11
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 topic has been locked.

Re:Chucks Extended Profile 5 years, 1 month ago #35394

Can someone help me with a script I would like to use with the extended profile?

I would like to use

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 topic has been locked.

Re:Chucks Extended Profile 5 years, 1 month ago #35397

ok, got it
ge
The topic has been locked.
Time to create page: 0.95 seconds