feusers id...

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
spyro

feusers id...

Post by spyro »

Can I get feusers id or username in user defined tags from session?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: feusers id...

Post 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).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
spyro

Re: feusers id...

Post 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.
sabernar

Re: feusers id...

Post by sabernar »

Not sure if anyone cares, but look at a possible solution here:

http://forum.cmsmadesimple.org/index.ph ... 476.0.html
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm
Location: behind my desk

Re: feusers id...

Post by petert »

sabernar wrote: Not sure if anyone cares, but look at a possible solution here:

http://forum.cmsmadesimple.org/index.ph ... 476.0.html
Most of us really do care :)
There just isn't much time to show we care......
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
Post Reply

Return to “Developers Discussion”