Page 1 of 1
feusers id...
Posted: Wed Mar 08, 2006 11:08 pm
by spyro
Can I get feusers id or username in user defined tags from session?
Re: feusers id...
Posted: Wed Mar 08, 2006 11:14 pm
by calguy1000
not currently, sorry.
customcontent allows you to put content in place based on the username,
Code: Select all
<!--customContent: user=username -->
but currently there are no smarty tags exported. I haven't done that (yet) because of page caching issues. but wishy did provide me with a potential workaround for that (now just to find it again).
Re: feusers id...
Posted: Wed Mar 08, 2006 11:46 pm
by spyro
Basically what I am trying to do is show an edit tag or the frontend users. I have a form that allows users to create data in a DB table. I would like to have the feusers_users id and insert that in to the DB table with the user creates the content. Then when the content is displayed if the content userid from the content record matches the logged in userid from feusers_user table, I show the edit link.
What would be the best way to get the feuser_users id of the logged in user?
I tried a function "get_userid()" but id did not return the value i wanted.
Re: feusers id...
Posted: Mon Jul 03, 2006 3:01 am
by sabernar
Not sure if anyone cares, but look at a possible solution here:
http://forum.cmsmadesimple.org/index.ph ... 476.0.html
Re: feusers id...
Posted: Mon Jul 03, 2006 8:15 pm
by petert
Most of us really do care

There just isn't much time to show we care......