• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Getting user_id from message_user_info into external script

grantus

Active member
#1
Not sure if this is possible, but I have an issue I'd like to resolve.

I have an external script that does a query to a separate db.

I'm including the query (through a template include) into the message_user_info template.

So for example I have this:

<xen:include template="points" /> in the template which runs a query to get the points from my database.

The problem I'm having is I need to get the user_id from the message_user_info template. Is it possible to get the user_id?

Thanks.