Display FEU information to user

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

Display FEU information to user

Post by pwg »

Hi,

I'm having trouble working out how to display FEU registration information to the user.

My client is hoping to be able to have users login - enter some data, answer a few questions, and then make this entered data viewable to only the user (and site admins).

I've tried adding

Code: Select all

{$feu_smarty->get_userinfo($something.userid,'uinfo')}
to the smarty data input on the options tab, calling {$something} (and {$something.userid}in the template but no go.

Any ideas? Or am I going about this completely the wrong way?

Thanks again for any help.

Cheers,

Paul
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Display FEU information to user

Post by Dr.CSS »

Try User Directory...
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Display FEU information to user

Post by Jeff »

You first need to get the logged in userid -- I usually use the CustomContent module, but it might be in a smarty var by FEU check {get_template_vars}

Then once you have the userid you can use the call that you referenced:

Code: Select all

{$feu_smarty->get_userinfo($userid, $myinfo);
Then you would use {$myinfo.something} further in the page or template. Use |@print_r on the variable to see what is in it.

I would be careful where you place them, referencing something in a template that originated in a page is usually a bad idea.

Thanks,
Jeff
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

Re: Display FEU information to user

Post by pwg »

Thanks Dr and Jeff,

Appreciate the advice - I'll have a play and see how it goes.

cheers,

Paul
Post Reply

Return to “Modules/Add-Ons”