Hello.
I am currently trying to get the current node id in a php callback script. Basically, I know you can get the current visitorID by doing this
is there a similar code to get the current node id the user is viewing?
Also sorry for not linking my account with xenforo license. My admin is on a break and I have to wait for him to add me so for now I must post here.
I am currently trying to get the current node id in a php callback script. Basically, I know you can get the current visitorID by doing this
PHP:
$visitorID = XenForo_Visitor::getUserId();
is there a similar code to get the current node id the user is viewing?
Also sorry for not linking my account with xenforo license. My admin is on a break and I have to wait for him to add me so for now I must post here.