Using Vbulletin Vars in Custom Templates?
I have been trying to create a plugin to move the login box to the top of the page. All was going well, I made two templates for the guest and member logged in states. I put the style vars in the header template with a if statement. However the problem I am running into is that I cannot use " in the custom template, it always tries to escape the characters. So I went and replaced everything with single quotes, which fixed the html code. However all the vbulletin variables dont seem to be working. I was trying to use $bbuserinfo[username] and the all the login hidden fields/javascript. This functionality seems to all be broken unless I paste the code directly to the header template.
Is there any way around this?
|