Chucks Extended Profile

17 years 3 months ago #27751 by tomla
Replied by tomla on topic Re:Chucks Extended Profile
Do you have a functioning demo of this profile?

Please Log in to join the conversation.

17 years 3 months ago #27771 by parth
Replied by parth on topic Re:Chucks Extended Profile
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 - sales@tekdi.net
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

Please Log in to join the conversation.

17 years 3 months ago #28382 by mossimo
Replied by mossimo on topic Re:Chucks Extended Profile
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 www.mingleville.com/xL15Ax? with something like the following:

[code:1]
<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 -->
[/code:1]

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

Please Log in to join the conversation.

17 years 3 months ago #28463 by chucktrukk
Replied by chucktrukk on topic Re:Solved

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

Please Log in to join the conversation.

17 years 2 weeks ago #35394 by xDeathList5x
Replied by xDeathList5x on topic Re:Chucks Extended Profile
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

Please Log in to join the conversation.

17 years 2 weeks ago #35397 by xDeathList5x
Replied by xDeathList5x on topic Re:Chucks Extended Profile
ok, got it

ge

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.247 seconds

Facebook Twitter LinkedIn