Chucks Extended Profile

14 years 4 months ago #40729 by cypux
Replied by cypux on topic Re:Chucks Extended Profile
How do you impliment these code or which folder do you put it to. I am a little confused with this one


<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 -->

Please Log in to join the conversation.

14 years 4 months ago #40845 by chucktrukk
Replied by chucktrukk on topic Re:Chucks Extended Profile
The folder and file names are in the first post. The code you posted was an example of the layout you can create in the new file.

The goal was to create a simpler way to make profiles look exactly the way you want (you can do it with CSS) though I feel this opens up the flexibility a little more.

Please Log in to join the conversation.

14 years 4 months ago #40848 by parth
Replied by parth on topic Re:Chucks Extended Profile
Take a look at the example at the URL above/ at visavismag.com in the face to face section. We have created tabs using dynamic drive tabs.

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.

14 years 3 months ago #42292 by tovuti
Replied by tovuti on topic More Variables for $my
Hello,

is it possible to use more variables for $my ?

Currently it saves only my ID and Username, but I need to save some Custom CB-Fields like gender or age into there.

I want to set some Filtes into my Profileview like...

if ($my->cb_gender != "Couple") { Don't show Mailbutton } and so on.

Please Log in to join the conversation.

14 years 3 months ago #44163 by kchan
Replied by kchan on topic Re:Chucks Extended Profile
Hi, is there an update on this? I am also trying to achieve that look in my profile view.

Please Log in to join the conversation.

14 years 2 months ago #44188 by parth
Replied by parth on topic Re:Chucks Extended Profile
Yes it is possible i think,

I will have to look up the code we used. But yes its def possible. IF you see on visavismag, we have changed the Links on the left based on user status. Similarly writing more conditions you can change the layout.

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.

Moderators: beatnantkrileon
Time to create page: 0.231 seconds

Facebook Twitter LinkedIn