Login Slider
3 posters
Page 1 of 1
Login Slider
Hi,
Topics are getting more and more numbers regarding login slider.
My question is completely simple. I already have my login slider on the forums and they work perfectly, however there's one minor problem.
- whenever someone logs in or uses it to login, it will still show up on top as a message to a new guest, yes it appears to registered users, groups and administrators as well (and ofc guests). My question is; how to ''hide'', ''close'', or at least ''edit'' it for registered users?
I'll be more specific; a guest comes to forums and notices the login slider, he clicks on it, registers and then logs in; it would still appear on the top-right of the forum, also, the same options appear after clicking on it; the register options and login bars. How to make them invisible or at least edit them for users who are already logged in?
I've seen and followed Nera's guide, however such parts aren't mentioned. Thank you.
Topics are getting more and more numbers regarding login slider.
My question is completely simple. I already have my login slider on the forums and they work perfectly, however there's one minor problem.
- whenever someone logs in or uses it to login, it will still show up on top as a message to a new guest, yes it appears to registered users, groups and administrators as well (and ofc guests). My question is; how to ''hide'', ''close'', or at least ''edit'' it for registered users?
I'll be more specific; a guest comes to forums and notices the login slider, he clicks on it, registers and then logs in; it would still appear on the top-right of the forum, also, the same options appear after clicking on it; the register options and login bars. How to make them invisible or at least edit them for users who are already logged in?
I've seen and followed Nera's guide, however such parts aren't mentioned. Thank you.
Last edited by DarkGlow on August 30th 2012, 9:36 am; edited 1 time in total
DarkGlow- Forumember
- Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel
Re: Login Slider
If you read closely on the tutorial, Nera explains how to hide the panel when logged in. Rideem3 posted the code already though
Re: Login Slider
Dude,
There are no such triggers in my template. If I have to create them, where should I exactly do that?
There are no such triggers in my template. If I have to create them, where should I exactly do that?
DarkGlow- Forumember
- Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel
Re: Login Slider
Dude,
you know the HTML that nera told you to put in the Template under: <body> ?
PUT THIS ABOVE THE CODE:
And this below the code
like:
solved?
you know the HTML that nera told you to put in the Template under: <body> ?
PUT THIS ABOVE THE CODE:
- Code:
<!-- BEGIN switch_user_logged_out -->
And this below the code
- Code:
<!-- END switch_user_logged_out -->
like:
- Code:
<!-- BEGIN switch_user_logged_out -->
<!-- Login --><div id="toppanel">
<div id="panel">
<div class="content clearfix">
<div class="left">
<h1>Welcome to xCoDeZz</h1>
<h2>The Home of CSS, Wii, And PSP Codes</h2>
<p class="grey">Please Login or Register now! thank you</p>
<h2>Benefits of Registering?</h2>
<p class="grey">You will get unlimited access to the forums, You will get to see the codes section when ever you want, and you get to chat with other members, We try our best, posting codes, quick and fast, so that you can enjoy your experience here @ xCoDeZz</p>
</div>
<div class="left">
<center><h1>Already a Member? Login Below</h1></center>
<form action="/login.forum" method="post">
<table border="0" cellpadding="3" cellspacing="1">
<tbody>
<p>
<label for="username">Username: </label>
<input type="text" name="username" /><br>
<label for="lastname">Password: </label>
<input type="password" name="password"><br>
</p>
<tr align="center">
<br>
<td colspan="2">Log me on automatically each visit: <input name="autologin" checked="true" type="checkbox"></td>
</tr>
<td colspan="2"><input class="mainoption" name="login" value="Log in" type="submit"> <input name="redirect" type="hidden" value="/h1-redirect-page"></td>
<a href="http://www.xcodezz.com/profile?mode=sendpassword">Forgot Your Password?</a>
</tbody>
</table>
</form>
</div>
<div class="left right">
<h1>Not a member yet? Register!</h1>
<form action="/register?agreed=true&step=2" method="post">
<p>
<label for="username">Username: </label>
<input type="text" name="username" /><br>
<label for="lastname">Password: </label>
<input type="password" name="password"><br>
<label for="email">E-mail: </label>
<input type="text" name="email"><br><br>
<input type="submit" name="submit" id="submit" value="Save" /> <input type="reset" />
</p>
</form>
</div>
</div>
</div> <!-- /login -->
<!-- The tab on top -->
<div class="tab">
<ul class="login">
<li class="left"> </li>
<li>Hello Guest!</li>
<li class="sep">|</li>
<li id="toggle">
<a id="open" class="open" href="#">Log In | Register</a>
<a id="close" style="display: none;" class="close" href="#">Close Panel</a>
</li>
<li class="right"> </li>
</ul>
</div> <!-- / top -->
</div> <!--panel -->
<!-- END switch_user_logged_out -->
solved?
Re: Login Slider
I've misunderstood that part. My apologies.
Thank you and solved.
Thank you and solved.
DarkGlow- Forumember
- Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel
Re: Login Slider
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Please, help me to put this slider.
» Image Slider
» Can't login to Administration Panel (re-login). Can't access CSS codes
» Nivo Slider
» Image slider
» Image Slider
» Can't login to Administration Panel (re-login). Can't access CSS codes
» Nivo Slider
» Image slider
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum