vForums Support > vForums :: Support :: > Logout

Logout - Posted By Tyson (Fithad) on 9th Dec 07 at 6:16am
Is there a way to put a logout link in the PM bar? Also, what about a gradient for it? I think it'd go nicely... I just don't know what the class is for it, or else I could place it in my style sheet.

Re: Logout - Posted By miss orif (clobopallymad) on 9th Dec 07 at 6:29am
Fithad, you can have a gradient for it. Just place the link to one in Window 1 Background Image and Window 2 Background Image. You can find that in 'Admin Panel' then 'Site Design' Then 'Modify Colors'.

Re: Logout - Posted By Ross (admin) on 9th Dec 07 at 11:00am
I'm currently making some changes to the entire skinning system, including improving the customization options for the welcome table/pm bar. I've added it to the list so will ensure options for that are added to the modify colors page.

As for a logout link, It'd be relatively easy to do with a code. Something like this in the Global Header:

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. if(vf_username != 'guest' && document.getElementById('user_table')) {
  4.     document.getElementById('user_table').getElementsByTagName('font').item(0).innerHTML += " ( <a href=\"/action/logout/\">Logout</a>)";
  5. }
  6. //-->
  7. </script>
  8.  
 

Re: Logout - Posted By Tyson (Fithad) on 9th Dec 07 at 5:11pm
Thanks for the code Ross {Wink}
Can't wait to see what you have planned too Ross {Grin}

٭ Menacoly Sweetness: I'm looking to make a gradient for just the bar, not the window 1 or 2 background... but thanks anyways.