PDA

View Full Version : Logout link vbulletin 5 in template xml pack


dinbogdan
03-12-2015, 12:54 PM
What is Logout link vbulletin 5 in template xml pack...

i tried in this way

// xml pack template...

<script type="text/javascript">

function logoutu() {
var str = "{vb:raw vboptions.bburl}";
var res = str.replace("/core", "");
window.location.href = res + 'auth/logout?logouthash={vb:raw vboptions.logouthash}';
}
</script>

but vboptions.logouthash not work...


also what code for vb:raw forum url in vb5 ? this vb:raw vboptions.bburl is not good ...

delicjous
03-14-2015, 02:27 PM
Searching for this?

<a href="{vb:raw baseurl}/auth/logout?logouthash={vb:raw user.logouthash}">

ForumURL = {vb:raw baseurl}