Is there a way of printing a list of users and their custom details which i created in FEU for example there home address e.t.c?
I have a page which i created that allows for them to tick a box to have their details displayed to others. I need to create an if statement which says only if this box is ticked then print their results.
Any help would be appreciated.
Thanks in advance.
Printing FEU details on a page
Re: Printing FEU details on a page
I know Frontend User Listing but never used, search in forge ...andy25 wrote: Is there a way of printing a list of users and their custom details which i created in FEU for example there home address e.t.c?
Alby
Re: Printing FEU details on a page
Calguy's User Directory was just released.
Re: Printing FEU details on a page
This is great thanks. Works perfectly. I just need to figure out how to include the if statement.
Thanks again!
Thanks again!
Re: Printing FEU details on a page
I am glad that more people besides myself can put CGUserDirectory to use, that means it wasn't a wasted sponsorship 
What to you mean by including an if statement?

What to you mean by including an if statement?
Last edited by tyman00 on Tue Mar 10, 2009 3:33 pm, edited 1 time in total.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: Printing FEU details on a page
Ive got a field called agreement in the FEU properties which is a custom field they tick when they sign up.
I only want to show the users who have ticked the box.
Ive tried things like (including the closing tags the other end):
{if ($entry.agreement > 0)}
{if $entry.agreement == 1}
e.t.c
I didnt know about the user directory one. Does this include filtering?
=========
Also on a seperate note i cannot display their email. Ive managed to show every other field i need but not this.
I have tried:
{$entry->username}
{$entry->email}
As well as the default thats in the template. None of which display the users email address.
I only want to show the users who have ticked the box.
Ive tried things like (including the closing tags the other end):
{if ($entry.agreement > 0)}
{if $entry.agreement == 1}
e.t.c
I didnt know about the user directory one. Does this include filtering?
=========
Also on a seperate note i cannot display their email. Ive managed to show every other field i need but not this.
I have tried:
{$entry->username}
{$entry->email}
As well as the default thats in the template. None of which display the users email address.
Re: Printing FEU details on a page
1. It's been awhile since I beta tested CGUserDirectory (CGUD)... try doing it this way: {if ($entry->agreement == 1)}
2. Try putting {get_template_vars} in your template to see the available variables you can call into your CGUD template. This is a good tutorial to get you started with templating --> http://calguy1000.com/Blogs/12/60/basic ... kills.html
2. Try putting {get_template_vars} in your template to see the available variables you can call into your CGUD template. This is a good tutorial to get you started with templating --> http://calguy1000.com/Blogs/12/60/basic ... kills.html
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: Printing FEU details on a page
Thanks for your efforts. It didnt work..here is my code.
Name / Credentials / Position
Address
Email
Tel No.
{foreach from=$items item=entry}
{if ($entry->members_list == 1)}
{$entry.title} {$entry.first_name} {$entry.last_name}, {$entry.credentials}{$entry.position}
{$entry.work_address}
{$entry.work_postcode}
{$entry.work_country}
{if isset($entry.properties.email)}
Email Me
{/if}
{$entry.work_phone}
{/if}
{/foreach}
Name / Credentials / Position
Address
Tel No.
{foreach from=$items item=entry}
{if ($entry->members_list == 1)}
{$entry.title} {$entry.first_name} {$entry.last_name}, {$entry.credentials}{$entry.position}
{$entry.work_address}
{$entry.work_postcode}
{$entry.work_country}
{if isset($entry.properties.email)}
Email Me
{/if}
{$entry.work_phone}
{/if}
{/foreach}
Re: Printing FEU details on a page
Hi all
I'm also using CGUserDirectory.
Very nice module, it does just what I wanted.
Thanks to Calguy and his sponsor!!!
@andy25
Try using {$oneuser.properties.first_name} in stead of {$entry.first_name}
Hope this helps a bit.
Rolf
I'm also using CGUserDirectory.
Very nice module, it does just what I wanted.
Thanks to Calguy and his sponsor!!!
@andy25
Try using {$oneuser.properties.first_name} in stead of {$entry.first_name}
Hope this helps a bit.
Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Printing FEU details on a page
@Rolf - Thanks for your input but unfortunately this didnt work either.