XF 2.2 Thread ID and Forum ID for use in Advertising slots


Active member
In XF 2.1 our developer had set up two variables that could be used anywahre - $forum_ID and $thread_ID

With 2.2 these were lost, and we don't have a new full time developer yet.

Last known global value for forum ID I have is: $__globals.forum.node_id

Is this still valid in 2.2? Initially it looks like it is but if anyone knows different please let me know.

I do not know the global variable for thread ID - anyone got one I can use?