![]() |
login block?
hello i would like to know how i would get a login block beside my forum im currently useing one of the UA sidebars as u can see here www.mpgamerz.net/forums
i would like to know what code i would need to put there for them to login on that part thx =) |
You can just copy & paste the box code from the navbar.
|
ok i found a code only problem is when they login through it,... it still tells them to login once there logged in.. how can i fix this so it shows there logged in already
--------------- Added [DATE]1214466928[/DATE] at [TIME]1214466928[/TIME] --------------- Quote:
|
How doesn't it work? Just saying it doesn't work isn't going to solve your problem.
|
what i mean is this seems the same what im useing.. what i want it todo is when someones logged on it shows them logged in alrdy on that block.. aswell
|
Please post the exact code you are using.
|
Quote:
Code:
<tr> |
This is your problem:
Code:
<if condition="$show['member']"><else /> |
how to fix this?
|
<if condition="$show['guest']">
|
Code:
<if condition="$show['member']">You are logged in.<else /> |
Quote:
|
Oh, didn't read the whole thread. I still haven't completely cause I'm so tired, but here's a alternative to if($show['member']) & else.
HTML Code:
<if condition="$bbuserinfo[username] != 'Unregistered'"> HTML Code:
<if condition="$show['guest']"> |
were do i put these inside this code
Code:
<tr> |
Find:
Code:
<if condition="$show['member']"><else /> Code:
<if condition="$bbuserinfo['userid']">You are logged in.<else /> |
how would i get it to say this
Welcome, USERID You last visited: Today at 06:02 PM Private Messages: Unread 0, Total 44. |
Copy the code in navbar.
|
ok this is the code for my navbar:
Code:
<!-- header --> |
and then this is the code for the side bar:
Code:
<tr> i cant seem to get the login code from the navbor to the sidebar when i try to it comes out wrong anyone help me? this is what i want it to look like when i have it on the sidebar =P Welcome, USERID HERE. You last visited: Today at 08:02 AM Private Messages: Unread 0, Total 63. |
This block of code displays the login block for guests, and member info if the member is logged in. It's pretty obvious in the template...
Code:
<if condition="$show['member']"> |
when i did this it messed up my theme so i had to take it out..
|
Obviously change it to suit your style...
|
All times are GMT. The time now is 02:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|