Link to Logout???? (On hover navbar image) Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Link to Logout???? (On hover navbar image)

    karkooshy
    karkooshy
    Forumember


    Male Posts : 327
    Reputation : 7
    Language : English

    Solved Link to Logout???? (On hover navbar image)

    Post by karkooshy April 21st 2010, 11:52 am

    Hello Smile
    I was building a navbar for my forum using CSS when I got stuck with the log out button...
    it doesn't seem to have a definitive link xP
    I've searched the support forum and found that:

    Code:

    /login.forum?logout=true

    should work..
    but it doesn't xD- atleast not for me....
    the link above takes you to a page asking you whether you are sure if you want to log out or not... the logout button on the navbar automatically logs you out.
    (I'm using Punbb if that helps Smile )

    Thanks for your help in advance Very Happy


    Last edited by karkooshy on April 21st 2010, 9:04 pm; edited 2 times in total
    ankillien
    ankillien
    Energetic


    Posts : 5198
    Reputation : 129
    Language : English, XHTML, CSS, JS, PHP, SQL

    Solved Re: Link to Logout???? (On hover navbar image)

    Post by ankillien April 21st 2010, 1:58 pm

    Hello,

    As you said, there is no definite link for log out since it contains the session id of the logged in user. We can't find the definite link in template too.

    So, its not possible to get a direct log out link (without confirmation). The one you are using is all what is available to us Smile

    Hope this helps.
    karkooshy
    karkooshy
    Forumember


    Male Posts : 327
    Reputation : 7
    Language : English

    Solved Re: Link to Logout???? (On hover navbar image)

    Post by karkooshy April 21st 2010, 2:35 pm

    Thank you for your reply ankillien Smile
    I was trying to achieve on hover navigation images (i.e when u hover the image changes)...
    is there any way to achieve this effect without the need to re-create the default forumotion navbar?
    I have already done it with all buttons except the log out one.

    Thank you in advance Very Happy

    /changed topic title...
    ankillien
    ankillien
    Energetic


    Posts : 5198
    Reputation : 129
    Language : English, XHTML, CSS, JS, PHP, SQL

    Solved Re: Link to Logout???? (On hover navbar image)

    Post by ankillien April 21st 2010, 2:44 pm

    You can do it with CSS background image.
    Like this...

    Code:
    a.mainmenu {
    background : url(IMAGE1.gif);
    }
    a:hover {
    background : url(IMAGE2.gif);
    }
    karkooshy
    karkooshy
    Forumember


    Male Posts : 327
    Reputation : 7
    Language : English

    Solved Re: Link to Logout???? (On hover navbar image)

    Post by karkooshy April 21st 2010, 9:01 pm

    Thank you! ^^
    thanks a bunch ankillien Smile

    /solved
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Link to Logout???? (On hover navbar image)

    Post by Sanket April 21st 2010, 9:06 pm

    Since this thread is marked solved, I will lock this thread.
    Link to Logout???? (On hover navbar image) 2j4t5a8

    Sanket Smile