Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [sangiro] Limiting number of posts Guests can view

Quote Reply
Re: [sangiro] Limiting number of posts Guests can view In reply to
That way might be easier, and could probably be done all in templates. Inside the loop you have:

<%row_num%>

So you could do:

<%ifnot current_user_id%>
<%if row_num > 5%>
Display something saying they need to log in to see all posts.
<%last%>
<%endif%>
<%endif%>

You could do that on the message thread page, as well as the message post page.

Hope that helps,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Limiting number of posts Guests can view sangiro 1825 Sep 17, 2002, 6:29 AM
Thread Re: [sangiro] Limiting number of posts Guests can view
Alex 1760 Sep 18, 2002, 12:10 PM
Thread Re: [Alex] Limiting number of posts Guests can view
sangiro 1753 Sep 18, 2002, 3:03 PM
Thread Re: [sangiro] Limiting number of posts Guests can view
Alex 1746 Sep 18, 2002, 3:18 PM
Post Re: [Alex] Limiting number of posts Guests can view
sangiro 1721 Sep 20, 2002, 3:12 AM