Skip to Content Skip to Menu

Stand-alone profile page

  • pugwash94
  • pugwash94
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
7 years 4 months ago #294805 by pugwash94
Stand-alone profile page was created by pugwash94
I want to create a "profile page" that is viewable by all that shows just the members name, picture, a couple of other fields along with some content that is generic to all.
Any suggestions?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48448
  • Thanks: 8280
  • Karma: 1443
7 years 4 months ago #294822 by krileon
Replied by krileon on topic Stand-alone profile page
Sorry, don't understand what you're asking. CBs profiles are already standalone. You can navigate to them using a userlist or their profile URL.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • pugwash94
  • pugwash94
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
7 years 4 months ago #294849 by pugwash94
Replied by pugwash94 on topic Stand-alone profile page
I want a page that displays the organisation logo, the member name and picture, a restricted menu and a few other bits of info.
It will be on a different template to the rest of the site.
I can get most of what I want using the CB content plugin but I cannot find how to display the avatar. I have tried [cb:userdata field="avatar" user="#me" /].but it simply renders the address of the avatar and I can find no way info on how to display the picture itself - probably very simple but then I am frequently dumb!

Please Log in or Create an account to join the conversation.

  • pugwash94
  • pugwash94
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
7 years 4 months ago #294850 by pugwash94
Replied by pugwash94 on topic Stand-alone profile page
This is immensely frustrating!
I am now displaying the avatar successfully but cannot display the name

The code on the page currently looks like this:
<p><img src="images/jsn_is_thumbs/images/logo210x70.jpg" alt="logo210x70" /></p>
<p>{cb}[cb:userfield field="avatar" /]</p>
<p>Member Name</p>
<p>[cb:userfield field="name" /]{/cb}</p>

I have tried variations on this theme such as opening and closing {cb} at the end of each relevent line and including user="#me" on the last line.
The page is here www.savagesports.co.uk/index.php/card

Please Log in or Create an account to join the conversation.

  • pugwash94
  • pugwash94
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
7 years 4 months ago #294851 by pugwash94
Replied by pugwash94 on topic Stand-alone profile page
Solved - for anyone else with the same problem this works

<p><img src="images/jsn_is_thumbs/images/logo210x70.jpg" alt="logo210x70" /></p>
<p>[cb:userfield field="avatar" /]</p>
<p>Member Name</p>
<p>[cb:userdata field="name" user="#me"/]</p>

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48448
  • Thanks: 8280
  • Karma: 1443
7 years 4 months ago #294857 by krileon
Replied by krileon on topic Stand-alone profile page
I recommend reviewing the below substitution tutorial that explains how to use substitutions and provides several examples.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum