Display user profile

  • Paul Knox
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 months ago #94361 by Paul Knox
Display user profile was created by Paul Knox
I have created a custom field and want to display it in an article. I'm building a reporting page with the following

<?php

$user =& JFactory::getUser();

if (!$user->guest) {
echo 'Hello ' . $user->name . '<br />';

echo '<br />You did the following cases';

}
?>

And want to add a custom field associated with the logged in user... Failing this can you provide the code to simply add the user profile within and article using Sorcerer?

Paul

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 2 months ago #94386 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Display user profile
Hello Paul

I am sorry. At the moment, we don't have an easy way to get the information from database. Something we will try to add support for in the next release, but it would take us about 4 weeks to add support for something like that

Is it OK for you to wait?

Tuan

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

  • Paul Knox
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 months ago #94408 by Paul Knox
Replied by Paul Knox on topic Display user profile
Tuan

Thank you. I know it must be a lot work but I think it would be a great feature to be able to pull data out like custom fields!

More than happy to wait for a month to have this feature.

Paul

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 2 months ago #94421 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Display user profile
OK Paul. I will update you when it is implemented

Regards,

Tuan

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

More
7 years 2 months ago #94424 by Alan Bennett
Replied by Alan Bennett on topic Display user profile
This will be very useful.

I currently have a database view I implemented that gives easy access to a flat set of data per subscription. I use it to report on subscriptions using Fabrik. You do need good sql skills to achieve via this route.

I also use ART Data to embed SQL outputs into articles.
The following user(s) said Thank You: Robert

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

  • Paul Knox
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 weeks ago #96138 by Paul Knox
Replied by Paul Knox on topic Display user profile
Tuan

Any idea on when this feature will be able to be released?

Paul

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 3 weeks ago #96170 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Display user profile
Unfortunately, I forgot about it. Just added it to my to do list so I won't forgot about it. I could not promise exactly time yet, something we can have it supported in 2.9.0

Regards,

Tuan
The following user(s) said Thank You: Sue McQueen

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

More
6 years 10 months ago #99099 by Sue McQueen
Replied by Sue McQueen on topic Display user profile
I'm looking forward to this feature, too!

"I can see clearly now the brain has gone..."

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