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:Finding out the available fields
Date: 2006/12/08 17:08 By: chucktrukk Status: User  
Karma: 11  
Junior Joomlapolitan

Posts: 31
graphgraph
If you would like to know what all fields are available, place the following above the HTML in xtdUserProfile:

Code:

  $debug 1; if ($debug == 1) {   echo '<pre>';   print_r($user);   echo '</pre>'; }



If you want to leave it always on or only show it to you, you can also write it:

Code:

  $debug 1; if ($debug == && $my->id == "YourLoginInfo) {   echo '<pre>';   print_r($user);   echo '</pre>'; }



I think the $my->id should work. If not, you may need to add
Code:

  global $my;



to the function.

Chuck
Click here to see the profile of this user The administrator has disabled public write access.

Re:Finding out the available fields
Date: 2006/12/09 04:32 By: radio Status: CB Doc subscriber  
Karma: 5  
Expert Joomlapolitan

Posts: 181
graphgraph
How do i pull the cb menu on its own, I can get it with <?php echo $userViewTabs["cb_head"]; ?> but this displays the whole of the head tab, I want to posistion the menu separate from the rest of the head tab. I assume it can be done since you can get the avator with this command <?php echo $avatar_img; ?>, whats the command for the menu?
Interested in improving Joomla as a social networking platform? If yes join joomlaplazza.com
Click here to see the profile of this user The administrator has disabled public write access.

Re:Chucks Extended Profile
Date: 2006/12/09 04:48 By: gypsydogg Status: User  
Karma: -9  
Senior Joomlapolitan

Posts: 80
graphgraph
Came acoss this forum recently and was wondering is there a file for installing it. Seems like something I would like to try out.
gypsydogg
Click here to see the profile of this user The administrator has disabled public write access.

Re:Chucks Extended Profile
Date: 2006/12/09 10:32 By: nickwild Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 4
graphgraph
Chuck,

This gets better and better!

I too would love to know how to pull each tab separately and also the data from each tab eo.g plug_cbconnections etc. I too need to be able to display a page like the mingleville page.

Cheers


Nick
Click here to see the profile of this user The administrator has disabled public write access.

Re:Chucks Extended Profile
Date: 2006/12/09 18:46 By: chucktrukk Status: User  
Karma: 11  
Junior Joomlapolitan

Posts: 31
graphgraph
Maybe someone out to PM beat or Nick to see if their is a way to pull an individual styled plugin, I was looking into the code but got confused.

I think the method (function) is in one of the class files under administrator/components/com_comprofiler/

I think it is getViewPlugins or something. If anyone want to try it, let me know how it works, because that would make this perfect.

Chuck
Click here to see the profile of this user The administrator has disabled public write access.

Re:Chucks Extended Profile
Date: 2006/12/10 18:36 By: beat Status: Admin  
Karma: 243  
Admin

Posts: 4066
graphgraph
chucktrukk wrote:
Maybe someone out to PM beat or Nick to see if their is a way to pull an individual styled plugin, I was looking into the code but got confused.

I think the method (function) is in one of the class files under administrator/components/com_comprofiler/

I think it is getViewPlugins or something. If anyone want to try it, let me know how it works, because that would make this perfect.

Chuck


Hi Chuck,

Just go to my profile and select "Send PM", this function is open to all members.

Actually, a lot of these things can already be done using CB templates and clever CSS instructions in its template.css file.

E.g. position differently the CB positions to suit your needs, without any hacks in CB core, using CB template plugins.

Work on CB 1.1 has already started even before CB 1.0.2 was released, and includes already quite some further templating possibilities.

You should really get a good book or tutorial on CSS, as it really allows a lot of these changes without recoding php html generation. Check for CSS keywords "position", "display", etc.

All of that said, i'm not sure if it's really the site layout which is determinant to the success of a site, more than the community on it, the site usabilitiy, and information that can be found, and finally the possibilities that it offers to users to interact with each other...

But the feature request for greater templating possibilities has been heard, and contributions and suggestions using CB template plugin architecture are always welcome.

In a future release, we will very probably use the MVC paradigm introduced in Joomla! 1.5 in the CB template plugins, allowing for full templating. So any experimental work on CB into that direction will certainly help us.
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
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