Chatbox

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Guest page? on 12/1/2012, 6:41 pm

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?

View user profile

2 Re: Guest page? on 12/1/2012, 6:42 pm

Drogba921

avatar

Administrator
What Software / Forum Version?

View user profile http://www.codinghelp.org

3 Re: Guest page? on 12/1/2012, 6:44 pm

I use punbb

View user profile

4 Re: Guest page? on 16/1/2012, 10:04 pm

Nick!

avatar

Member
I'm confused on what you mean.

View user profile

5 Re: Guest page? on 17/1/2012, 1:16 pm

Matti_7

avatar

CSS Expert
I also don't understand what he want.

View user profile

6 Re: Guest page? on 17/1/2012, 1:25 pm

Vanilla990

avatar

Administrator
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".

View user profile

7 Re: Guest page? on 17/1/2012, 3:52 pm

Drogba921

avatar

Administrator
Vanilla has the closest way to do it. Sadly I'm not going to give away my way of doing it./

View user profile http://www.codinghelp.org

8 Re: Guest page? on 18/1/2012, 4:04 am

Matti_7

avatar

CSS Expert
ah, ok this get nothing to do with coding he need to sit Permissions.

View user profile

9 Re: Guest page? on 19/1/2012, 1:02 pm

style

avatar

Member
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.

View user profile

10 Re: Guest page? on 21/1/2012, 9:47 am

Drogba921

avatar

Administrator
Solved?

View user profile http://www.codinghelp.org

11 Re: Guest page? on 21/1/2012, 10:46 am

LGforum

avatar

Moderator
Its as simple as putting this is a widget or announcement:

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.

View user profile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum