Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [kailew] No threaded view for guesrts by default?

Quote Reply
Re: [kailew] No threaded view for guesrts by default? In reply to
Thanks!, I have been looking in on how to do this and here it is! Now, if you can go one step further, is there anyway we can create a variable to set when a guest first hits the category_list.html page so that we don't automatically keep setting him to expanded view?

Something like this:

Code:
gforum.cgi?forum=<%forum_id%>;
<%unless current_user_forum_view %>
<%if guest_first_time_to_cat_list%>
do=forum_view_expanded;
----> set the guest_first_time_to_cat_list to zero <----
<%endif%>
<%endunless%>;
I don't know enough about session variables or how to set a variable but this would be the approach. Can anyone help out here? The guest session variable, guest_first_time_to_cat_list would have to default to non-zero somewhere. I'm guessing current_user_forum_view is only settable if you are registered user?

Last edited by:

mrknowitall: Sep 16, 2002, 10:22 PM
Subject Author Views Date
Thread No threaded view for guesrts by default? kailew 2018 Sep 16, 2002, 5:38 AM
Thread Re: [kailew] No threaded view for guesrts by default?
yogi 1914 Sep 16, 2002, 6:13 AM
Thread Re: [yogi] No threaded view for guesrts by default?
kailew 1900 Sep 16, 2002, 6:37 AM
Thread Re: [kailew] No threaded view for guesrts by default?
yogi 1902 Sep 16, 2002, 6:53 AM
Thread Re: [yogi] No threaded view for guesrts by default?
kailew 1894 Sep 16, 2002, 3:23 PM
Post Re: [kailew] No threaded view for guesrts by default?
mrknowitall 1879 Sep 16, 2002, 10:19 PM