Global Member Vars



3rd Party (Free)

661 downloads (last 90 days)

Download v1.0

EE Version Support

  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



Global_member_vars allows you to serve content to your logged in members, without expensive entries tags being parsed for other visitors. Adds member and group id to early parsed global vars for simple conditionals.

After EE 2.9

In EE 2.9+ there is a new parser included. The neccessity for this extension is somewhat diminished. the if logged_in_member_id conditional won’t execute tags anymore if the condition is not met. Test your situation first with the template debugger.

Pre 2.9

I never understood why (if logged_in) is parsed so late in the template. If you have a channel:entries tag for members, and another for visitors, both get rendered in the template, and one of them is discarded when advance conditionals are parsed. (see your template debugger).

This extension adds logged_in_member_id and logged_in_group_id to the global variables array so they are parsed early and can be used in simple conditionals. Try the following code with the extension disabled and enabled and see the difference in the template debugger output.

{if logged_in_member_id != "0"}
  {exp:channel:entries status="open|members_only"}
{if logged_in_member_id == "0"}
  {exp:channel:entries status="open"}

If you rely, for some reason, on logged_in_member_id being parsed late, the extension also adds global_member_id and global_group_id for convenience.


Download Global Member Vars

EE Support Downloads Add-On Version Release Date
2.4.0+ Download 1.0 Sep 21, 2012

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. sessions_end

This entry was created September 25, 2012, 10:10 pm.
This entry was last updated October 30, 2014, 5:25 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!