Is it possible to make a replacement rule that would include a replacement for the uservars?
For example I might want to replace (using { so the formatting will not screw up):
{head}
with:
{script}
user = {RE:UserInfo.UserID}
{/script}
Yes, just make up your own token, and then create a rule to replace it .
So your inline js may have :
UserId = ~UserId~;
and then you could have a rule to replace that token
searchFor : ~UserId~ replaceWith:[RE:DNN.UserInfo.UserID]