We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

how to get Member id as early parsed variable?

How Do I?

sheferd's avatar
sheferd
31 posts
10 years ago
sheferd's avatar sheferd

I’m having some trouble using the {logged_in_member_id} tag as a variable.

I’m trying to display some entries depending on whether the members ID is allowed to view them (the ids are set in a text input field, updated when needs be via channel form).

No matter what I do I can’t get the member ID early enough for my conditionals to use it. I’ve tried using the tag on it’s own, stash and embed:. The conditional will work if i specify an ID but not if I try to get it dynamically

any ideas?

       
sheferd's avatar
sheferd
31 posts
10 years ago
sheferd's avatar sheferd

Found the solution: https://github.com/GDmac/global_member_vars/

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.