Guest page?
Page 1 of 1 • Share
- Vector_PwnzorzMember
- Forum Posts : 2
Member Since : 2012-01-12
Does anyone know how it goes to a page where you login if your a guest on a forum and arent aloud to view something as a guest? Is there a way I can make it so they go to a page instead of the login screen?
- Vector_PwnzorzMember
- Forum Posts : 2
Member Since : 2012-01-12
I use punbb
- Nick!Member
- Forum Posts : 7
Member Since : 2012-01-15
I'm confused on what you mean.
- Matti_7CSS Expert
- Forum Posts : 35
Member Since : 2011-11-25
I also don't understand what he want.
- Vanilla990Administrator
- Forum Posts : 114
Member Since : 2011-10-30
I think I understand.
What he means is...If someone gives you a link to a page on a forum that you aren't a member of, you get redirected to a login screen sometimes with the message "You need to be a member to view the contents of this thread". I think he means how can he let the guest still see the page instead of it redirecting them.
If that is the case, If you go into the Admin Panel and go to:
Admin Panel > General > Forum - Categories and Forums
Then find the forum category and click on the permissions icon (cross and tick icon) and then make sure you tick that guests can view that section and then click "Save".
What he means is...If someone gives you a link to a page on a forum that you aren't a member of, you get redirected to a login screen sometimes with the message "You need to be a member to view the contents of this thread". I think he means how can he let the guest still see the page instead of it redirecting them.
If that is the case, If you go into the Admin Panel and go to:
Admin Panel > General > Forum - Categories and Forums
Then find the forum category and click on the permissions icon (cross and tick icon) and then make sure you tick that guests can view that section and then click "Save".
- Matti_7CSS Expert
- Forum Posts : 35
Member Since : 2011-11-25
ah, ok this get nothing to do with coding he need to sit Permissions.
- styleMember
- Forum Posts : 8
Member Since : 2012-01-17
You want something like on this forum. When I was a guest a window poped out, but It was huge. This is a forum widget & javascript.
- LGforumModerator
- Forum Posts : 77
Member Since : 2011-11-12
Its as simple as putting this is a widget or announcement:
Due to being in an announcement your guests won't even see a flash of the first page. They'll just get directed striaghtaway.
I'm sure I answered this thread before. Maybe my post was deleted.
- Code:
<div id="guest">{USERNAME}</div>
<script>
if (document.getElementById('guest').innerHTML=='Guest'){
window.location="/html page url";
}
</script>
Due to being in an announcement your guests won't even see a flash of the first page. They'll just get directed striaghtaway.
I'm sure I answered this thread before. Maybe my post was deleted.
- Sponsored content
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|