Homepage for Guests Only?
4 posters
Page 1 of 1
Homepage for Guests Only?
Hey friends,
I recently made a guest message that I want guests to view only. I have the HTML page setup, here it is here: (http://www.hogwartsacademy.org/h20-login-homepage)
What I want to do, is make it so that guests cannot do anything but see this page when they enter my forum, so that they must register or log in to be able to view the rest of the forum. How can I do this?
Please don't tell me to make all my forums invisible to guests, I did that already but I still want this guest message to be shown instead. So the question is simple, but the answer is probably the opposite.
How can I do this?
I recently made a guest message that I want guests to view only. I have the HTML page setup, here it is here: (http://www.hogwartsacademy.org/h20-login-homepage)
What I want to do, is make it so that guests cannot do anything but see this page when they enter my forum, so that they must register or log in to be able to view the rest of the forum. How can I do this?
Please don't tell me to make all my forums invisible to guests, I did that already but I still want this guest message to be shown instead. So the question is simple, but the answer is probably the opposite.
How can I do this?
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
Re: Homepage for Guests Only?
HogwartsAcademy wrote:Hey friends,
I recently made a guest message that I want guests to view only. I have the HTML page setup, here it is here: (http://www.hogwartsacademy.org/h20-login-homepage)
What I want to do, is make it so that guests cannot do anything but see this page when they enter my forum, so that they must register or log in to be able to view the rest of the forum. How can I do this?
Please don't tell me to make all my forums invisible to guests, I did that already but I still want this guest message to be shown instead. So the question is simple, but the answer is probably the opposite.
How can I do this?
Basically everyone is a guest until they are registered and logged in.
I am afraid for what your asking would be to set the forum permissions.
I would think he best way is to allow guest to see all post forums, accept others you may have designated fro certain groups only. But allow guest to see all you can allow them to, then have it so they have to register to reply.
I mean it dont have to be all boards it would be up to you how you want it, but i mean what your asking there is no there way then to set the forums permissions, guest are guest..Once again even your members are guest until they log in, so how else would it be possible to allow or disallow guest to see or not see/reply to something etc.. unless the permissions are set for it. or (may be have in a widget?)
A html page is always open to everyone guest and members a like, if they have the link to the page then they will see it regardless of whether they are logged in or not, I am not sure what other ways to explain it. it is pretty much self explanatory, Unless i am getting mixed up on exactly what you mean??
or may be try putting the guest message in a custom widget, then set the widgets permissions only for guest. Now when your members are logged in they will no longer see the messages.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Homepage for Guests Only?
You can make this using JS. This can be very useful:
- Code:
if(document.getElementById('i_icon_mini_login')) {
your code ...
}
BubbleDreams- New Member
- Posts : 2
Reputation : 1
Language : Serbian, English, Deutsch
Re: Homepage for Guests Only?
you can grab the html from your page created. place it in the overall_header inbetween this code
Then place the the rest of the overall_header HTML in between this code
I believe you will have to create the logged out users to be completely full size, so that it will hide the rest of the html that will be visible once and a while because of the view topic_body and etc.
- Code:
<!-- BEGIN switch_user_logged_out -->
CODE HERE
<!-- END switch_user_logged_out -->
Then place the the rest of the overall_header HTML in between this code
- Code:
<!-- BEGIN switch_user_logged_in -->
CODE HERE
<!-- END switch_user_logged_in -->
I believe you will have to create the logged out users to be completely full size, so that it will hide the rest of the html that will be visible once and a while because of the view topic_body and etc.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum