The xt:auth system allows visitors to
- Subscribe to your blog posts
- Comment on your blog
- Rate star and repost your blog posts
- Write in your guestbook
- Post on your forum
- Post in your chatrooms
- View their message inbox and reply to messages
It allows you to
- Log in to forums blogs and guestbooks
- Subscribe to blog feeds
- view your feeds
- View your message inbox and reply to messages
The login signup and subscribe link will be shown at the top right of all your pages
If you wish to remove it from a page add
<xt:auth skip="yes" />
If you want to remove the auth bar from all pages add it to _headtags
There is one other auth function
<xt:is_logged_in />
Which will return 1 or 0 depending on the login state of the user
Is the user logged in ?
You are not logged in
<xt:is_logged_in /> == 0
Custom xt auth javascript
This javascript can be used to customize the auth bar
It is set with the default css
auth uses an iframe
you can only style the iframe not the contents
<div id="auth"><xt:auth /></div>
<script>
var auth=document.getElementById("auth");
var style=auth.getElementsByTagName("style");
var iframe=auth.getElementsByTagName("iframe");
style[0].innerHTML="html { padding-top: 26px; } #xt_auth_iframe { position: fixed; top: 0; left: 0; background: transparent; }"
iframe[0].style.width="100%";
iframe[0].style.border="0";
iframe[0].style.height="26px";
</script>