[XenFans] User-bar (Login Bar) Template Tweak

Status
Not open for further replies.

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,100
The user bar that I wrote for XenFans is the moderator bar extended to all team, all members, and all guests. This template modification is to make a start on the login bar for the guests (prior to login).

Open the template: EXTRA.css and at the bottom, add this code:
Code:
#loginBar { background: #032A46 url('@imagePath/xenforo/xenfans_userbar_bg.png') repeat-x left top; }
#loginBar .pageContent { padding-bottom: 19px }
and save the template.

Upload the xenfans_userbar_bg.png to the same directory where XenForo is installed, inside the styles/default/xenfor:wave: directory.

Done :)
 

Attachments

  • Screen shot 2011-01-08 at 3.46.42 PM.png
    Screen shot 2011-01-08 at 3.46.42 PM.png
    120.5 KB · Views: 49
  • Screen shot 2011-01-08 at 3.46.31 PM.png
    Screen shot 2011-01-08 at 3.46.31 PM.png
    79.1 KB · Views: 46
  • xenfans_userbar_bg.png
    xenfans_userbar_bg.png
    29.1 KB · Views: 46

Kaiser_imported

OMG Member
Joined
Dec 17, 2010
Messages
24
Its cool, but it only shows for me as a guest, but when Im logged in it dosent show, how can I make it show to regular members aswell and put links in it like you have.

Thanks :)
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,100
As per first post this is specific for the guests.
You can use template conditionals to also show the moderator_bar template to members.
 
Status
Not open for further replies.
Top